It's basically the column name for the query below (typed dataset).
One thing I know for sure is that I'm not smart enough to use typed datasets. They've given me so much trouble that I'm more productive when I write the underlying code for them manually. :rolleyes:
But! The problem is that Expr1Column evaluates to a DataColumn object and it's not compatible with int. I can't really figure out why you're tryin' to compare a column with an integer, the only thing I can think of is that the count is the name of the column and you're tryin' to see if it's bigger than 0. If that's how it is then this'll work.
int result = Convert.ToInt32(LogInfo.Expr1Column.ColumnName);
if (result > 0)
I can't begin to imagine why you would want to do somethin' like that though. :p
Last edited by Inanna; Oct 9th, 2006 at 4:48 pm.
Reputation Points: 53
Solved Threads: 6
Junior Poster in Training
Offline 90 posts
since Sep 2006