|
How is the DetailsView so different from the previous DataList
such as:
<asp: DetailsView ID = "DetailsView1" runat = "server" Height = "50px" Width = "159px" EnableTheming = "True" AutoGenerateRows = "False" AllowPaging = "True" OnPageIndexChanging = "DetailsView1_PageIndexChanging">
<Fields>
<asp: BoundField HeaderText = "Merchant ID:" DataField = "Merchant ID" />
<asp: BoundField HeaderText = "Business name:" DataField = "Business name" />
<asp: BoundField HeaderText = "Business Address:" DataField = "Business Address" />
</ Fields>
</ asp: DetailsView>
Why only the first record is displayed? It seems there is no PageSize property
For example, one page asks him to display 20 records. What should I do? Thank you |
|