Getting the new value in gridview rowupdating event
Auto Generate Edit Button = True Then i Col Date = 8 i Col Proj Stat = 10 End If Dim lbl Text As Label For i Row = 0 To Track Projects.
Edit Index Then i Row = 1 If i Row = Track Projects. Count Then Exit For lbl Text = Direct Cast(gv Track Projects.
Find Control("lbl Project Status"), Label) Try If In Str(lbl Text.
Then there are a couple more steps to make it to where you adding the selected value in the update) Yes, you are correct, I am not using any datasources for the gridview, but in the Itemtemplate and the Edit Item Template the Text parameter is set equal to a bind statement as follows (see the example further down where i ref a datasource for the ddl): Or in the case of the drop down list I am binding with the Selected Value parameter, but of course you can see I lied and am pointing to a different datasource completely for my list.
or if things get to technical create a new thread and post the question. Bill, are you talking exclusively about using datasources?
If you have questions on how to convert boundfields to template fields you can always just search forums or just google it...
Text "" Then str Params = "(" & str Params & ") AND (ECADdesigner Names ='" & Me.
Text & "')" End If End If 'WHY NOT USE Drop Down List4.
To String) ' & vb Cr Lf & vb Cr Lf 'Val(CDate(Track Projects.
I think my question was more to the point, if I have a datasource then I have to have boundfields, and this would preclude use of template fields? you're not using a single datasource in your templatefields.