Actually what i'm doing is I'm displaying the Values in Gridview in Another web page.
when I take the value from cells to textbox if the value is null or empty the   show in textbox
solution :
when u r taking data from gridview cell this problem will coem pl. try like this:
lbl_GUID.Text = grdrow.Cells[1].Text.Replace(" ","  ")
when I take the value from cells to textbox if the value is null or empty the   show in textbox
lbl_GUID.Text = grdrow.Cells[1].Text; text_name.Text = grdrow.Cells[2].Text; text_age.Text = grdrow.Cells[3].Text;
solution :
when u r taking data from gridview cell this problem will coem pl. try like this:
lbl_GUID.Text = grdrow.Cells[1].Text.Replace(" ","  ")
No comments:
Post a Comment