I want to set value for particular empty column in data set data table as "ND" in data set.
if (ds.Tables[s].Rows[i][Columncountvalue + 19].ToString().Trim() == "")
{
ds.Tables[s].Rows[i][Columncountvalue + 19].ToString().Trim().Replace("", "ND");
}
the above code is i tried to fill the empty column as "ND" in dataset data table but below error is occurs
string cannot be of zero length. parameter name oldvalue