Generator 2.6: APR - 13 - 2010
Runtime: v2.0.50727
asp.net 4.0
vs 2010
Using a gridview, I cannot update any fields with a 'time(7)' data type. If I update a field of the record with a datatype of 'date', 'datetime', or varchar, the update takes place. Also, I can see the UPDATE sql generated in the output window. However, if I update a 'time(7)' field in that same record, the update does not take place and I do not see any UPDATE sql generated in the output window.
No exceptions are thrown. Im using a test value of 17:32:19.
How do you use the 'time(7)' data type? Is it supported?
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataKeyNames="Id" DataSourceID="LLBLGenProDataSource1">
<Columns>
<asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
<asp:BoundField DataField="Id" HeaderText="Id" ReadOnly="True"
SortExpression="Id" />
<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
<asp:BoundField DataField="Description" HeaderText="Description"
SortExpression="Description" />
<asp:BoundField DataField="StartDate" HeaderText="StartDate"
SortExpression="StartDate" />
<asp:BoundField DataField="StartTime" HeaderText="StartTime"
SortExpression="StartTime" />
<asp:BoundField DataField="EndDate" HeaderText="EndDate"
SortExpression="EndDate" />
<asp:BoundField DataField="EndTime" HeaderText="EndTime"
SortExpression="EndTime" />
</Columns>
</asp:GridView>
<llblgenpro:LLBLGenProDataSource ID="LLBLGenProDataSource1" runat="server"
DataContainerType="EntityCollection"
EntityCollectionTypeName="RestaurantData.DAL.CollectionClasses.CalendarEventCollection, RestaurantData.DAL">
</llblgenpro:LLBLGenProDataSource>