canadian christian dating service - Gridview rowupdating dropdownlist findcontrol
in the attached pics, a pic b4 edit press,and one post edit press. click the update link button and saves changes to database. Convert it to Drop Down List, then get its selecteditem property. 'e' in the argument gets you the row in which the update link has been selected (assuming the update link is in the same row).
Open() Dim s Select As String = "SELECT Role, Role ID from Roles ORDER BY Role;" Dim cmd As New Ole Db Command(s Select) cmd.
My Connection Dim DBAdapter As New Ole Db Data Adapter Try DBConnection.
To String End If End If End Sub Public Function Load Roles() Dim dt As New Data Table Dim DBConnection As Ole Db Connection = Dogs.
have decided to just show the whole Drop Down List templae column instead.(to h*ll with it)...
questions: The Grid View has an Item Command event.
'e' in the argument gets you the row in which the update link has been selected (assuming the update link is in the same row).
Rows(rowindex) Now do a findcontrol, it would probably be row. Find Control("abc1") lemme take back my last post please ...
Command Argument) Get the row: Dim row as Grid View Row row = Grid View1.
control not there at all cause its an Edit Item Template and not an Item Template, and i set my template column to be visible false till user clicks edit.