hey
i have one lgoin form for two users
whe i create a function it gives me error
public int Loginuser1(string UserName, string Password)
{
// return the values if Admin then 1 else 2 for User
int a = Convert.ToInt32( db.ExecuteDataSet("splogin3", new object[] { UserName, Password }).Tables[0].Rows[0][1].ToString());
return a;error: cannot find column 1
how i solve this