i am having some trouble trying to extract my custID from a SQL database as i keep getting a "use of unassigned local variable " on the custID i have underlined.. can someone help me please!!!
Code:
String[] custID;
while (thisReader.HasRows)
{
while (thisReader.Read())
{
custID[z] = thisReader.GetString(thisReader.GetOrdinal("CustId"));