Hello all i'm kinda of new to asp.net 2.0. Im trying to use the update method with a objectdatasoure. Ok here is my problem i have page one with a gridview on it with the select buttun enabled when the button is fired it take by query string the index id to page two where i have some textboxes and calendar control on page. Page two is used to update data. There are several problem with my page. One is i have a column with a field "dateInputed". When is use the updateByID method that i created in the data designer the method is asking for dateInputed:= ? .. So what im asking is how do i keep the value of that field the same as is. I dont wont to update this column. The second question is i get the ID of the datarow by query string is this wise? The third question is how do i populate thoose textboxes with the old value when the page first loads?
Here is my code behide:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim x As New Timecard_DatasetTableAdapters.timecardTableAdapter
x.UpdateQuerybyID(Original_ID:=Label1.Text, dateInputed:= = dateInputed = ? , datetEdited:=DateTime.Now, _
View Complete Post