Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
K

kiran kumar Intelligroup

@kiran kumar Intelligroup
About
Posts
57
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • multiple instances of same user control
    K kiran kumar Intelligroup

    Hi folks, I am breaking my head since two days. Here is the scenario. I have a user control with first name,last name,gender.Now i put this control in web page called employee.aspx. I have a button on that page "Add employee".for each click on that button i should add one user control. I tried in so many ways like taking for loop and adding user control but its not retaining state.It's loosing previous controls data. Please suggest me best approach with some sample code. Thanks in advance

    Kiran Kumar.CH (MCP)

    ASP.NET mcp

  • sharepoint 2007
    K kiran kumar Intelligroup

    Hi folks, I am new to the sharepoint 2007 and i would like to create blog site using sharepoint API in my C# application.Please give the URLs or code snippet to create blog site using sharepoint API. Thanks in advance.

    Kiran Kumar.CH (MCP)

    C# csharp sharepoint mcp json

  • Compilation Error - "CS1513: } expected"
    K kiran kumar Intelligroup

    Now it will work because OnCheckedChange is serverside event.but your function is at client side naa so write like this rbn1.Attributes.Add("onclick", "Onkeypress(this)"); rbn2.Attributes.Add("onclick", "Onkeypress(this)");

    Kiran Kumar.CH (MCP)

    ASP.NET help question

  • Compilation Error - "CS1513: } expected"
    K kiran kumar Intelligroup

    if you are using asp.net 1.1 do this way remove onclick="NumericOnly_onkeypress" in aspx file and write the statement like this in .cs file page load event buttion1.attributes.add("onclick","NumericOnly_onkeypress"); if you are using asp.net 2.0 you can write like this Text="Button" önClientClick="NumericOnly_onkeypress">

    Kiran Kumar.CH (MCP)

    ASP.NET help question

  • Compilation Error - "CS1513: } expected"
    K kiran kumar Intelligroup

    Make sure that autoeventwireup at page attribute is turned off i.e make it false if you are using IDE. Make sure that "NumericOnly_onkeypress" event handler has correct arguments i.e void NumericOnly_onkeypress(sender as object,e as EventArgs) { } Tell me where you are writing this handler either in code behind i.e .cs file are inpage i.e in aspx file?

    Kiran Kumar.CH (MCP)

    ASP.NET help question

  • Stored Procedures - Return Value
    K kiran kumar Intelligroup

    Hi, try this way... SET @num_of_user = SELECT COUNT(*) FROM tb_user WHERE useremail = @username AND userpassword = @password) RETURN @num_of_user

    Kiran Kumar.CH (MCP)

    ASP.NET csharp help asp-net

  • CrystalRepots
    K kiran kumar Intelligroup

    Hi, you create a new temp table C in stored procedure with table A columns and table B columns and insert the values into that C using results of A and B tables and return that table C to the dataset.So that dataset will have only one table. In a nutshell merge two tables into one table.

    Kiran Kumar.CH (MCP)

    ASP.NET wpf wcf help

  • Retrieving Windows Login
    K kiran kumar Intelligroup

    Hi Rob, Using this 'Environment.UserName' also you will get windows username.

    Kiran Kumar.CH (MCP)

    ASP.NET csharp asp-net database security

  • Compilation Error - "CS1513: } expected"
    K kiran kumar Intelligroup

    HI Blumen, I am not sure but try like this..

    Kiran Kumar.CH (MCP)

    ASP.NET help question

  • money.net [modified]
    K kiran kumar Intelligroup

    Hi Folks, Starting I also didn’t believed this but it’s really working Just receive the ads thru sms and earn up to Rs 1600/- mGinger.com pays you to read ads on your cellphone! These ads are only about your interests. Not only that, you get to decide when you want these ads. Based on my calculations I can easily make enough money to free up my cell phone bill. Check it out... http://www.mginger.com/index.jsp?inviteId=285079 See how much you can make. Have fun calculating...and sign up. You will like it... -Kiran Intelligroup,Hyd -- modified at 8:54 Thursday 24th May, 2007

    Kiran Kumar.CH (MCP)

    ASP.NET csharp java database com mcp

  • deploying webform?
    K kiran kumar Intelligroup
    1. Right click on .MSI file>winzip>add to .zip >After creating zip file,open yahoomail and login with your id >compose the mail with the zip file as attachment and send it to yourself. >now go to remote machine and open your yahoomail and open that mail just now sent by you >now click on attachment and save the zip file to mycomputer. Another way to send files is:- 2)Do you have yahoo messenger in two machines,if you have then you login in both messengers with different id's,now send file from Yahoo id1(local) to YahooId2(Remote).

    Kiran Kumar.CH (MCP)

    ASP.NET database sysadmin help question

  • How to get record by using ID
    K kiran kumar Intelligroup

    SqlParameter[] param = new SqlParameter[1]; param[0] = new SqlParameter("@", SqlDbType.NVarChar, 50); param[0].Direction == ParameterDirection.InputOutput; param[0].Value=; //Add the parameters to the command object objcommand.Parameters.Add(param); objcommand.CommandType=CommandType.StoreProcedure; objcommand.Connection=; objcommand.Command="Stored Proc Name"; objcommand.ExecuteNonQuery();

    Kiran Kumar.CH (MCP)

    ASP.NET help database tutorial

  • URGENT::: Secure URL
    K kiran kumar Intelligroup

    Goto IIS>Rightclick on your project>properties>DirectorySecurity>Edit Secure communications. >check the first option(Require Secure Channel). >check the accept client certificates.

    Kiran Kumar.CH (MCP)

    ASP.NET csharp asp-net database windows-admin security

  • How password be case sensitive?
    K kiran kumar Intelligroup

    Hi, int result = string.Compare(txtPwd.Text,strdbPwd,false); Here false means accept case sensitive true means ignore case sensitive

    Kiran Kumar.CH (MCP)

    ASP.NET question database

  • deploying webform?
    K kiran kumar Intelligroup

    FTP is a file transfer protocol which is a utility to send the files between two machines of different locations.First you need to open your local FTP site and copy your file and open the same FTP site in remote machine and use it.To connect ftp i think you need VPN. The easy way is just zip the file and mail it.open your mail in remotemachine and download the same and use it if the size is not so big.

    Kiran Kumar.CH (MCP)

    ASP.NET database sysadmin help question

  • deploying webform?
    K kiran kumar Intelligroup

    Hi, Please let me know how you are accessing the other sever? If it is thru RemoteDesktop connection,first you need to upload the .msi or setup file to that machine via FTP.Then on single click of .msi the application will be installed.

    Kiran Kumar.CH (MCP)

    ASP.NET database sysadmin help question

  • TreeView asp.net 2.0
    K kiran kumar Intelligroup

    Hi, When you are adding a checkbox to a treeview control that checkbox's autopostback property must be set as true.:)

    Kiran Kumar.CH (MCP)

    ASP.NET csharp asp-net visual-studio sysadmin data-structures

  • DataGrid
    K kiran kumar Intelligroup

    Hi Rahi, I am not sure but this will give you some idea! 1.You can apply specific formatting to the data inside the cells using DataGrid rightclick>PropertyBuilder>Formatting>Items 2.You can add a hidden grid column say "Modified" and it's default value is "N".Now in DataGrid1_ItemDataBound you need to add clientside ontextchage eventhandler for desired cells Serverside:- private void DataGrid1_ItemDataBound(object sender,System.Web.UI.WebControls.DataGridItemEventArgs e) { //This code is for assigning userdefined Id's for rows and columns e.Item.ID = "Row" + i++; for(int j=0;j<7;j++) e.Item.Cells[j].ID="Column"+j; //Here you need to pass the rowid e.Item.Cells[j].Attributes.Add("ontextchanged","modif('"+ e.Item.ID + " ')" ); } JavaScript:- function modif(RowId) { //This line will set the value to 'Y' when the row is modified document.getElementById('DataGrid1_'+RowId +'_Modified').innerText="Y" } 3.When you give the provision for editing the rows you can also validate the datagrid. private void Page_Load(object sender, System.EventArgs e) { da.Fill(dataSet11,"employee"); DataGrid1.DataBind(); Button1.Attributes.Add("onclick","return validate()"); } JavaScript:- function validate() { if(document.getElementById('DataGrid1_Row0_Column1').innerText="") alert('Please enter '); //Like this you can set the values to the grid document.getElementById('DataGrid1_Row0_Column1').innerText="kkkk"; alert(document.getElementById('DataGrid1_Row0_Column1').innerText); return false; }

    Kiran Kumar.CH (MCP)

    ASP.NET question

  • Getting ConnectionStrings from Web.xml file - XML being parsed each time??
    K kiran kumar Intelligroup

    Yes you are right,web.config is parsed each and everytime and your method will be called.This will show impact on performance so you can use cache memory to hold the connecton string. Dont forget to set the expiry policy for that cache item, i prefer file based expiry policy so that when web.config is changed then cache item get refreshed.

    ASP.NET visual-studio xml performance question

  • On ASP:Label control
    K kiran kumar Intelligroup

    Hope this is useful for you var txt = ''; function getSelText() { var txt = ''; if (window.getSelection) { txt = window.getSelection(); } else if (document.getSelection) { txt = document.getSelection(); } else if (document.selection) { txt = document.selection.createRange().text; } else return; } alert(txt[0])//This line is to get starting index of selected text </x-turndown>

    ASP.NET javascript database question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups