hi... could someone tell me the codes for this scenario.. if i click on the datagridview for example username if i click that username that username will appear in a label or textbox... thanks... ginji
hi... could someone tell me the codes for this scenario.. if i click on the datagridview for example username if i click that username that username will appear in a label or textbox... thanks... ginji
In the grid's CellClick event you could have code something like... String sColName = GridView.Columns[e.ColumnIndex].Name; if (sColName == "username") TextUser.Text = GridView.CurrentRow.Cells["username"].Value.ToString();