我是asp的新手,我用母版页创建了一个网格视图。但它在连接字符串中显示错误。谁能帮帮我?
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false"
AutoGenerateEditButton="true" AutoGenerateDeleteButton="false"
DataSourceID="SqlDataSource1" Font-Names="Arial" Font-Size="Smaller" DataKeyNames="Logid" >
<columns>
<asp:BoundField DataField="Logid" HeaderText="Logid" SortExpression="Logid" />
<asp:BoundField DataField="Username" HeaderText="Username" SortExpression="Username" />
<asp:BoundField DataField="PASSWORD" HeaderText="PASSWORD" SortExpression="PASSWORD" />
<asp:BoundField DataField="Status" HeaderText="Status" SortExpression="Status" />
<asp:BoundField DataField="E_MAIL" HeaderText="E_MAIL" SortExpression="E_MAIL" />
</columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1"runat="server" ConnectionString="<%$ ConnectionString:SaqibConnectionString %>"
SelectCommand="SELECT [Logid], [Username], [PASSWORD], [Time_Logged_in], [Time_Logged_Out], [Status], [Date_Logged_in], [E_MAIL]"
UpdateCommand="Update Log_Users SET Logid=@Logid, Username=@Username, PASSWORD=@PASSWORD, Status=@Status, E_mail=@E_mail"
DeleteCommand="DELETE FROM Log_Users WHERE Logid = @Logid">
<UpdateParameters>
<asp:Parameter Name="Logid" />
<asp:Parameter Name="Username" />
<asp:Parameter Name="PASSWORD" />
<asp:Parameter Name="Status" />
<asp:Parameter Name="E_MAIL" />
</UpdateParameters>
</asp:SqlDataSource>
</asp:Content>