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 SrivastavaRank #108 · 20.3K reputationPosted Aug 30, 2016, 2:43 AM EDT
Vinay SinghRank #604 · 4K reputationPosted Aug 29, 2016, 11:12 PM EDT