i am using dataset and retreving the data from MS ACCESS file. It works fine. From that dataset i am putting the value into a string variable as:
string name = dataset.Tables["tablename"].Rows[0]["NAME"];
Now i have to display each character in the name so i am doing it:
for(int i=0; i<name.Length; i++)
{..........}
But i<name.Length is returning the field size instead of returning the length of the string.
eg
name = "ABC"
now the length should be 3 but it is returning 255.
Looking for prompt reply.