X ) DataList Control (ex .Ecommerce layout)
* DataList Control *
- Display record in Column Format.
- Its Automatically set theme element
There are two importants properties use in datlist
Source :- <asp:DataList ID="DataList1" runat="server" Width="700px" RepeatColumns="3" RepeatDirection="Horizontal" OnItemCommand="data_command" >
<asp:Button ID="Button1" runat="server" Text="Buy Now" CommandName="showpro" />
Properties :-1 ) Datasource = dr;
2 ) Databind ( ) ;
Comments
Post a Comment