This is basically saying that if we've set a Select Method, an Update Method, or a Delete Method (these are string properties on the Form View) then return true, otherwise tell us if we've set an Insert Method.As you can see there was a lot of other code removed such as textboxes and labels throughout the form.Anyway, if you want to create your SQLData Source in the code behind, you can easily do that. Update Command Type = Sql Data Source Command Type. Here is an example: Function Get SQLData Source() As Sql Data Source Dim sql Return As Sql Data Source = Nothing Try sql Return = New Sql Data Source sql Return. Obviously I need to Eval it to Boolean which is why I went down that path in the first place. New Values, which is the crux of my original problem.Is there a way to keep it Int and still have it parsed correctly? How can the above be done with INT data types and not BIT? The following table lists the different templates that you can create. For example, a Form View control that supports inserting records must have an insert item template defined.
Item Updating Also, don't forget to assign the sqldatasource as the formview's datasource in each postback, otherwise your formview's datasource would be nothing. This template usually contains content to alert the user that the data source does not contain any records. Defines the content for the empty data row displayed when the Form View control is bound to a data source that does not contain any records.Its definitely calling Item Updating, but thats it.Do I need something additional to fire Item Updated?