sachi vasishta

sachi vasishta

  • NA
  • 252
  • 0

Getting Database data into an array

May 26 2009 5:03 AM

int k = 0;

string[] alloTimeSlotsStr;

while (drr1.Read())

{

alloTimeSlotsStr[k] = drr1.GetValue(0).ToString();

k++;

}

giving me error

i want to get the values from database and put it inside string array how can i do it please help


Answers (4)