我在web页中拖放了一个radgrid
<radG:RadGrid ID= "RadGrid1 " runat= "server " AllowPaging= "True " AllowSorting= "True "
DataSourceID= "SqlDataSource1 " EnableAJAX= "True " GridLines= "None " Height= "335px "
Skin= "Web20 " Width= "454px ">
<ClientSettings>
<Scrolling AllowScroll= "True " UseStaticHeaders= "True " />
</ClientSettings>
<MasterTableView AutoGenerateColumns= "False " DataSourceID= "SqlDataSource1 ">
<ExpandCollapseColumn Visible= "False ">
<HeaderStyle Width= "19px " />
</ExpandCollapseColumn>
<RowIndicatorColumn Visible= "False ">
<HeaderStyle Width= "20px " />
</RowIndicatorColumn>
</MasterTableView>
</radG:RadGrid>
绑定到存储过程
<asp:SqlDataSource ID= "SqlDataSource1 " runat= "server " ConnectionString= " <%$ ConnectionStrings:urgentConnectionString %> "
SelectCommand= "LightQuery " SelectCommandType= "StoredProcedure ">
<SelectParameters>
<asp:ControlParameter ControlID= "TextBox1 " DefaultValue= "% " Name= "PartNr " PropertyName= "Text "
Type= "String " />
</SelectParameters>
</asp:SqlDataSource>