daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DataGridViewComboBoxColumn grdCol = new DataGridViewComboBoxColumn();
  2.    grdCol.DataSource = discountTbl;
  3.    grdCol.DataPropertyName = "DiscountId";
  4.    grdCol.DisplayMember = "DiscountName";
  5.    grdCol.HeaderText = "Discount";
  6.    grdCol.Name = "DiscountId";
  7.    grdCol.ValueType = typeof(System.Int32);
  8.  
  9.    dgv.Columns.Add(grdCol);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top