A
Anil Gupte/iCinema.com
I am having huge problems with my dataset. The change I made was that I was
reading all the information from a plain text file (include column names and
data etc.). Now, I have encrypted the file, then I decrypt it (it decrypts
just fine). I then put the strings obtained in an array and parse each line
(earlier, I was using readline and then parsing each line). Anyway, to cut
a long story short, it appears to create the DataSet, but nothing works - it
won't even recognize the column names. Even in my watch window, if I put in
an expression, I get an error as shown below:
ds.Tables("Profiles").Select("ProfileID='0'") Run-time exception thrown :
System.Data.EvaluateException - Cannot find column [ProfileID].
So you would think I don't have a column by that name. Well in the same
Watch Window, I get the following:
ds.Tables("Profiles").Columns(0).ColumnName "ProfileID" String
Which means that column exists! What is going on? And how can I fix it?
Please help! My software is stuck on this and I am trying to meet a
deadline!
Thanx in advance,
reading all the information from a plain text file (include column names and
data etc.). Now, I have encrypted the file, then I decrypt it (it decrypts
just fine). I then put the strings obtained in an array and parse each line
(earlier, I was using readline and then parsing each line). Anyway, to cut
a long story short, it appears to create the DataSet, but nothing works - it
won't even recognize the column names. Even in my watch window, if I put in
an expression, I get an error as shown below:
ds.Tables("Profiles").Select("ProfileID='0'") Run-time exception thrown :
System.Data.EvaluateException - Cannot find column [ProfileID].
So you would think I don't have a column by that name. Well in the same
Watch Window, I get the following:
ds.Tables("Profiles").Columns(0).ColumnName "ProfileID" String
Which means that column exists! What is going on? And how can I fix it?
Please help! My software is stuck on this and I am trying to meet a
deadline!
Thanx in advance,