1.item number (itemnumber:12)(itemnumber is description it is in any row and the value of item number(12) is next same row and next column of the description)
2.manufacturer name
3.rev number.
now i want to validate the in this manner how to do it.
What I have tried:
I used
if (ds.Tables[i].Rows[12][25].ToString() == "")
{
dt.Rows.Add();
dt.Rows[mn][0] = "Item number Should be mandatory";
}
in this code particular field is empty to add the message to one table and show.but the column and row values are changed.
I used
if (ds.Tables[i].Rows[12][25].ToString() == "")
{
dt.Rows.Add();
dt.Rows[mn][0] = "Item number Should be mandatory";
}
in this code particular field is empty to add the message to one table and show.but the column and row values are changed.

Bikesh SrivastavaPosted Aug 30, 2016, 6:43 AM
Vinay SinghPosted Aug 30, 2016, 3:12 AM