Author: imperialx | Posted on: 10/4/2009 9:51:06 PM | Views : 339

Hi,
I'm trying to configure the GridView control with the SqlDataSource control. The database I specify is the built-in membership table (AspNet_MembershipUsers).

Selecting the Advanced button to bring up the "Advanced SQL Generation Options", it shows both checkbox options greyed-out and so I can't do an Insert, Update or Delete operations.

    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True"
            AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="UserId"
            DataSourceID="SqlDataSource1">
          ...

Go to the complete details ...