Datasets all over again
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hello, everybody! I came to you with another problem. This time, it's about a dataset loading an .xml document and an authentification form: login.
protected void Login1_Authenticate(object sender, AuthenticateEventArgs e) { dsLogin ds_login = new dsLogin(); ds_login.ReadXml(Server.MapPath("~/App_Data/login.xml"), System.Data.XmlReadMode.ReadSchema); Label1.Text = ""; for(int i =0; i the problem seems to be that the web never reaches the if-s. even thought i've set watches for both values there, nothing happened. more, at the test, i only get 1 and 2 and, instead the value at ds_login.Tables[0].Columns[2].Table.Rows[i].ToString(), i get System.Data.DataRow. Please tell me what i do wrong! Thanks in advance!:sigh: