object data source
-
HI guys i am working with listview conrol and objectdatasource there is an udate metod wo which my dataobject is bound bit it does not work, i put a break on updating event of the objectdatasource but it doest not even break here , delete is working fine , update method and delete method taking the type of object. here is my code <EditItemTemplate> <tr style ="background-color:Yellow"> <td class ="Controls"> <asp:LinkButton ID = "EditButton" runat ="server" Text ="Update" CommandName ="Edit"></asp:LinkButton> <asp:LinkButton ID = "DeleteButton" runat ="server" Text ="Cancel" CommandName ="Cancel"></asp:LinkButton> </td> <td class ="Controls"> <asp:TextBox ID = "up_txtupdatecustomerid" runat ="server" Text = '<%#Bind("customerid")%>'></asp:TextBox> </td> <td> <asp:Label ID = "uo_orderid" Text = '<%# Bind("Orderid") %>' runat ="server"> </asp:Label> </td> <td> <asp:TextBox ID ="up_txtshipaddress" runat ="server" Text ='<%#Bind("shipaddress") %>'></asp:TextBox> </td> <td> <asp:TextBox ID ="up_txtshipcity" runat ="server" Text ='<%#Bind("shipcity") %>'></asp:TextBox> </td> <td> <asp:TextBox ID ="up_txtshipcountry" runat ="server" Text ='<%#Bind("shipcountry") %>'></asp:TextBox> </td> </tr> </EditItemTemplate>
Tauseef A Khan MCP Dotnet framework 2.0.