var qry = from packing in sp_ds.Tables[8].AsEnumerable()
where packing.Field<string>("pack_id") == global.prod_mastList[0].Last_pack_id.Trim()
select packing;
if (qry.Count() >= 1)
{
DataTable dt = qry.CopyToDataTable();
txtlast_Packing.Text = dt.Rows[0][2].ToString();
}
No comments:
Post a Comment