< % @ Control Language="VB" AutoEventWireup="false" CodeFile="AnotoDataGrid.ascx.vb" Inherits="AnotoDataGrid" % > < link href="StyleSheet.css" rel="stylesheet" type="text/css" /> < asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="< %$ ConnectionStrings:AnotoOfficeConnectionString % >" SelectCommand="SELECT [id], [date], [vorname], [nachname], [formular] FROM [View_PenDataStore_Clients]"> </asp:SqlDataSource> < asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" DataKeyNames="id"> <Columns> <asp:CommandField ButtonType="Button" SelectText="" ShowSelectButton="True" /> <asp:BoundField DataField="id" HeaderText="id" SortExpression="id" Visible="False" /> <asp:BoundField DataField="date" HeaderText="date" SortExpression="date" /> <asp:BoundField DataField="vorname" HeaderText="vorname" SortExpression="vorname" /> <asp:BoundField DataField="nachname" HeaderText="nachname" SortExpression="nachname" /> <asp:BoundField DataField="formular" HeaderText="formular" SortExpression="formular" /> </Columns> </asp:GridView> </ContentTemplate> </ asp:UpdatePanel>