COMPARE LISTVIEW AND GRIDVIEW In a ListView, We are able to introduce Insert, Edit and Delete. But |
Just use ListView() whereever possible.. It can do the job of GridView,Repeater ListView does not have the paging facility. But you can implement it DataPager will work only with ListView NOT with GridView or Repeater. |
| So Let us forget GridView and Repeater and concentrate on ListView only. |
DataPager:He is a Servant Control. That means you should tell him who <asp:DataPager.......PagedControlID="ListView1"........>.........</asp:DataPager>
|
| Disadvantage of ListView : Sorting is not possible. You have arrange separately. |
Class ASP Textbox: <input type="text" name="EmpName" size="35" |
Working with the ASP.NET TextBox Control <asp:TextBox runat="server" id="EmpName" Columns="35" Remember the apostrophe. Other important textbox properties : TextMode="SingleLine |MultiLine |Password" AutoPostBack="True | False" |