M
Matt
Have below code
AcctNbr give me result of 30.
That is the database column length, Column stores 10 why is giving me
30 ?
while(objRead.Read())
{
AcctNbr = (string)objRead[0].ToString().Length;
Console.WriteLine("Length is {0}",AcctNbr.Length);
}
AcctNbr give me result of 30.
That is the database column length, Column stores 10 why is giving me
30 ?
while(objRead.Read())
{
AcctNbr = (string)objRead[0].ToString().Length;
Console.WriteLine("Length is {0}",AcctNbr.Length);
}