Onrowupdating newvalues

A friend asked me to help him out on this and frankly it has me completely stumped as well.

I have a Grid View control and use old style manual binding with a Data Source property and invoke the Data Bind() method.

Count - 1 i Col = i Chx If i Chx = 1 Then i Col = i Chx 1 Track Projects.

Data Bind() End Sub Its not your fault that the new values are empty.

Is Post Back) otherwise you'll wipe out the new values everytime before the updating event gets called.

Text "" Then str Params = "(" & str Params & ") AND (ECADdesigner Names ='" & Me.

Text & "')" End If End If 'WHY NOT USE Drop Down List4.

If so, how do you know the control id if it's dynamically created? I am having the same problem, and it's not a boundfield or template field problem either as I am using both. This magical function extracts values from the datacontrol fields and puts them in an IOrdered Dictionay.

Grid View has a method that is unfortunately protected called Extract Row Values. Protected Sub Page_Load(By Val sender As Object, By Val e As System. Load Dim i Col As Integer, c As Integer = 0, i Chx As Integer 'If In Str(Http Context. Selected = True Else End If Fill Grid View() End Sub Private Sub Fill Grid View() Dim i Col As Integer, c As Integer = 0, i Chx As Integer, i As Integer Dim str SQL As New System. String Builder Dim str Params As String = "" 'THE FOLLOWING CODE THAT INDICATES SPECIFIC COLUMN NUMBERS IS DETERMINED 'BY THE HTML ASPX CODE THAT DETERMINES HOW THE GRIDVIEW LOOKS For i Chx = 0 To Me. I know its very annoying and hard to get the data out of the data controls (gridview in this case), but there are other things you can do to make it easier. The reason is we don't fill the values unless your are bound to a datasource control. Did I mention I am getting bored of grids, data and databases and am going to spend the holiday break convincing myself I can learn to be a game programmer... (i.e., employee ID: you can convert an emp ID field in your gridview to a templatefield then delete the label in the edit Item Template then insert a dropdownlist then bind the dropdownlist to a datasource that binds you're to your employee table in your database.

Tags: , ,