private void cmpdeatil() { try { DataSet ds = new DataSet(); ds = dl.select_cmp_mst_inv(bl); if (ds.Tables[0].Rows.Count > 0) { lbl_cmp.Text = ds.Tables[0].Rows[0]["company_name"].ToString(); lbl_cmp_vat.Text = ds.Tables[0].Rows[0]["vat"].ToString(); lbl_cst_no.Text = ds.Tables[0].Rows[0]["cst"].ToString(); lbl_st_no.Text = ds.Tables[0].Rows[0]["st"].ToString(); lbl_exc_no.Text = ds.Tables[0].Rows[0]["exse"].ToString(); lbl_pan_no.Text = ds.Tables[0].Rows[0]["pan"].ToString(); lbl_range.Text = ds.Tables[0].Rows[0]["range"].ToString(); lbl_div.Text = ds.Tables[0].Rows[0]["division"].ToString(); lbl_comi_rt.Text = ds.Tables[0].Rows[0]["commisionerate"].ToString(); lbl_underwich.Text = ds.Tables[0].Rows[0]["n_dt_notificatio_under"].ToString(); } } catch { } }
private void cmpdeatil() { try { DataSet ds = new DataSet(); ds = dl.select_cmp_mst_inv(bl); if (ds.Tables[0].Rows.Count > 0) { lbl_cmp_vat.Text = ds.Tables[0].Rows[0]["vat"].ToString(); lbl_cst_no.Text = ds.Tables[0].Rows[0]["cst"].ToString(); lbl_exc_no.Text = ds.Tables[0].Rows[0]["exse"].ToString(); } } catch { } }