GRChandrashekar
asked on
Datagridview
tbxdescription.Text = dgridtitle.SelectedRows(0).Cells(0).Value
The above code works fine. But instead of passing cells(0) i need to pass column name like
tbxdescription.Text = dgridtitle.SelectedRows(0).Cells(TitleID).Value
How can I do this ?
ASKER
This syntax is wrong
gridtitle.SelectedRows(0). Cells(Titl eIdID).Val ue
gridtitle.SelectedRows(0).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
what is the problem?