J
John
Hi
I am getting the System.IndexOutOfRangeException was unhandled error on the
last line of below code;
Cmd = New OleDb.OleDbCommand("SELECT [Last Staff Update From Site] FROM
[Update Control]", LocalConn)
Reader = Cmd.ExecuteReader()
Console.WriteLine("{0}", Reader.GetOrdinal("[Last Staff Update From Site]"))
What is the problem and how can I fix it?
Thanks
Regards
I am getting the System.IndexOutOfRangeException was unhandled error on the
last line of below code;
Cmd = New OleDb.OleDbCommand("SELECT [Last Staff Update From Site] FROM
[Update Control]", LocalConn)
Reader = Cmd.ExecuteReader()
Console.WriteLine("{0}", Reader.GetOrdinal("[Last Staff Update From Site]"))
What is the problem and how can I fix it?
Thanks
Regards