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
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
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rodick Wu118 reputationPosted May 26, 2009, 1:15 AM EDT
Rodick Wu118 reputationPosted May 26, 2009, 1:17 AM EDT
Rodick Wu118 reputationPosted May 26, 2009, 1:19 AM EDT
sachi vasishta180 reputationPosted May 26, 2009, 2:34 AM EDT