FormView (in ASP 2.0)

snufse

Newcomer
Joined
Jan 30, 2004
Messages
10
Location
west palm beach
I am using the FormView control to insert data into a table. One of the rows is a date/time field. This value will have to be programatically inserted (and not by the user). I am using the

OnItemInserting="GetDateTime"

to execute a sub

Public Sub GetDateTime(ByVal sender As Object, ByVal e As FormViewInsertEventArgs)
MyDateTime = Today
End Sub


From here how do I get the data into the row ????? I have tried using the edit data binding wizard and the custom binding option like "Eval(MyDateTime)" but I get error.
 
Back
Top