* validate third column,(12 Th row to 39 row)in this in between field have at least one value(my requirement is the value is '1')
* if 3rd column 19 row value is '1' then other fields or empty.that's not a problem.
* if no row have any value then only through the error
How to do it.
What I have tried:
i have used looping for rows and column given below.
i have used looping for rows and column given below.
Hide Copy Code
for(int j= 3; j<= columncountvalue; j++)
{
for (int i = 12; i <= rowcountvalue; i++)
{
if (ds.Tables[s].Columns[3][i].ToString().Trim() == "")
{
// statements
}
}
}
now i want which condition used for that requirements. 
Tapan PatelPosted Oct 3, 2016, 8:57 AM