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

Popular posts from this blog

DATA CONTROL ( Gridview , Repeater , Formview , DataList , Detailsview , Listview )

Z 5 ) MVC (Model view Controller)

Z 8 ) MVC HTMLHELPER METHOD AND ACTIONLINK (how to use css ,atrributes,style in css)