locked
Expression Web 4 - Setting SQLDataSource works but will not allow view on web page. RRS feed

  • Question

  • The code works as far as I can see but whenever I use a Gridview or Formview or whichever, the data that populates those views are 0's and abc's, not the data that should be pulled from the database specified through SQLDataSource. It was working fine for a few days and then all of a sudden it doesn't want to anymore.

    Here is the form data that I have in place right now:

    <form id="form1" runat="server">
    	<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:cwwebapp_a9001ConnectionString1 %>" SelectCommand="SELECT * FROM [Activity_Capture]">
    	</asp:SqlDataSource>
    	
    	<asp:GridView
              id="GridView1"
              runat="server"
              DataSourceID="SqlDataSource1">
          </asp:GridView>
          
    </form>
    
    Any reason why this won't populate the data from the database?
    Monday, September 24, 2012 7:09 PM