Click here to Skip to main content
15,905,967 members

Comments by Member 11259478 (Top 1 by date)

Member 11259478 30-Aug-16 5:11am View    
Hi Tomas

Thank you for taking the time to look at my question

It does not set my static string at all

In below section:
if I change j=k to DataPathBackup = k it works

Problem is that i would like not to specify the public static string manually - it must get it from the tblFlags FlagName

how would i be able to do the whole list in 1 go?

Thanks



while (dr2.Read())
{

string k=dr2["FlagValue"].ToString();
//j = k;

MessageBox.Show(k);
}