Aamir Khan

Aamir Khan

  • NA
  • 273
  • 310.7k

Dear Friends,

Jun 30 2012 1:04 AM
Dear Friends,
i have a dataset in which i get more than 1 values like Itemdescription and its Quantity,
and that (Itemdescription,Quantity) i pass to another Method
Send_Mail(Itemdescription,Quantity)...but while sending the values i m only getting 1 value not the other's.
following is the code:
for (int j = 0; j <= dsTotalQuantity.Tables["TotalUnitsRequired"].Rows.Count; j++)
 {
MaterialDescpt = ds.Tables["TotalUnitsRequired"].Rows[j]["MaterialDesc"].ToString();
TotalUnitsRequired = ds.Tables["TotalUnitsRequired"].Rows[j]["TotalUnitsRequired"].ToString();
}

Send_Mail(MaterialDescpt,TotalUnitsRequired);

what could be done!!!

Regards,
Aamir

Answers (1)