Click here to Skip to main content
15,919,245 members

Comments by Member 10191939 (Top 2 by date)

Member 10191939 6-Aug-13 3:24am View    
i already did like this, but it is only works when i show to message box, not to autostringcompletion:

string numString = dReader[0].ToString();
MessageBox.Show(numString);

it has successfully work, but when i change the "MessageBox.Show" to "codesCollection.Add(dReader.GetString(0)), the windows forms completely blank, but the program runs
Member 10191939 6-Aug-13 3:20am View    
my numbers is 1 to 10, but before the number, i put the format 0000, so it will become 0001, 0002 and so on