T
Tom
i have the following code:
private void DataGrid1_SelectedIndexChanged(object sender, System.EventArgs
e)
{
TextBox b;
b = DataGrid1.Items[DataGrid1.SelectedIndex].FindControl("tbcustomer") as
TextBox;
if(b != null)
{
Response.Write(b.Text);
}
}
i can find the control in b but the b.Text is empty while i put a value in
my datagrid?
ch Tom
private void DataGrid1_SelectedIndexChanged(object sender, System.EventArgs
e)
{
TextBox b;
b = DataGrid1.Items[DataGrid1.SelectedIndex].FindControl("tbcustomer") as
TextBox;
if(b != null)
{
Response.Write(b.Text);
}
}
i can find the control in b but the b.Text is empty while i put a value in
my datagrid?
ch Tom