Given a Dataset [ds] which contains 1 row and 3 columns [Username, Password, Level].
ds: Table[0]: Username Password Level
Name Pass 2
I need to store the value of Level [from ds] into a created variable [savedLevel], currently I am trying via this method:
savedLevel = ds.Tables[0].Columns[2].ToString();
However this stores the string
ds: Table[0]: Username Password Level
Name Pass 2
I need to store the value of Level [from ds] into a created variable [savedLevel], currently I am trying via this method:
savedLevel = ds.Tables[0].Columns[2].ToString();
However this stores the string