How to get the grid textbox value
-
Hello frnds, i'm using a Datagrid in my page, i have a Text box in item template..we have two colums in datagrid one for label name which is a bind column. and another for text box. when i bind the grid then lable names are coming correctly.. now i want to get the text box value.... according to the label. any suggestion plz.. thanx
Dotnet
-
Hello frnds, i'm using a Datagrid in my page, i have a Text box in item template..we have two colums in datagrid one for label name which is a bind column. and another for text box. when i bind the grid then lable names are coming correctly.. now i want to get the text box value.... according to the label. any suggestion plz.. thanx
Dotnet
dim TB as textbox For i = 0 To iGetDs.Tables(0).Rows.Count - 1 TB = CType(Me.GVCartView.Rows(i).Cells(1).FindControl("TB1"), TextBox) TB.Text =//get value here for textbox next pathan
-
Hello frnds, i'm using a Datagrid in my page, i have a Text box in item template..we have two colums in datagrid one for label name which is a bind column. and another for text box. when i bind the grid then lable names are coming correctly.. now i want to get the text box value.... according to the label. any suggestion plz.. thanx
Dotnet
(TextBox)Gridview1.Rows[index].Cells[0].FindControl("txtTravelDate")).Text
index = Gridview row index Cells[0] = Column NumberKnow Yourself Then Grow Yourself.