Quote:
so where i need to put my code?? which event
try add a handler to
SelectionChanged
event
private void gvProdctTypName_SelectionChanged(object sender, EventArgs e)
{
if (gvProdctTypName.CurrentRow != null)
tbProductTypeName.Text = gvProdctTypName.CurrentRow.Cells[1].Value.ToString();
}