G
Guest
Using an SqlDataReader what is the best way to determine if a table column
has specified value?
Thanks, Justin.
has specified value?
Thanks, Justin.
Eliyahu Goldin said:If the column is of type of string use
if (!reader.IsDBNull(i) && (reader.GetString(i)=='myValue'))
Eliyahu
Justin said:What is i representing?