C
Chris LaJoie
I'd like to impliment the same type of functionality the DataRow has as far
as how it uses brackets. I'll give you an example of what I'm looking for.
DataRow dr = dt.Rows[0];
string aTestVar = (string)dr[0];
....OR...
string aTestVar = (string)dr["aTestColumn"];
How would I impliment this in my own custom types? Thanks.
Chris LaJoie
as how it uses brackets. I'll give you an example of what I'm looking for.
DataRow dr = dt.Rows[0];
string aTestVar = (string)dr[0];
....OR...
string aTestVar = (string)dr["aTestColumn"];
How would I impliment this in my own custom types? Thanks.
Chris LaJoie