Author: bordois1984 | Posted on: 1/19/2009 8:34:19 AM | Views : 352

I am trying to implement a basic method of security to access a web service, however I am receiving the following error;

System.IndexOutOfRangeException: Cannot find table 0

 I'm using an If statement to check that two values are equal before accessing the database and storing the data within a DataTable, the DataTable is then assigned to a DataSet.

Values are input via a web form input fields as shown below; (index.aspx)
<asp:TextBox size="15" ID="userName" runat="server" Width="0px" value="findit" Visible= Go to the complete details ...