if (cmb_supply.Text != null)
{
try
{
List prm = new List();
DataSet ds = sp.GetDS("sp_GetSupplier", prm);
DataTable dt = ds.Tables[0];
for (int i = 0; i <= dt.Rows.Count - 1; i++)
{
cmb_supply.DisplayMember = "Name";
cmb_supply.ValueMember = "SupplierId";
}
}
catch (Exception ex)
{
throw ex;
}
Piyush PansuriyaPosted Feb 28, 2018, 12:19 AM
habib ullahPosted Feb 28, 2018, 1:52 AM