(Type your message here)
--------------------------------
From: umesh prasad garnaik
Dear
I have a datagrid which contains records. I have a select column, when i select it corresponding items should display in the textbox
For that i had write the code but not working.
protected void DataGrid1_ItemCommand(object sender, System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
if(e.CommandName=="Select")
{
int i=(int)e.Item.ItemIndex;
TextBox1.Text=DataGrid1.Items[i].Cells[2].Text;
TextBox12.Text=DataGrid1.Items[i].Cells[3].Text;
fillGrid();
}
}
Any help highly acceptable.
Thanks & Regards
Umesh
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>ke4ECOMrxUKwYggPqczSyw==</Id>