using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WorkM { public partial class Sc_ShowProQty : Form { public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); public string HProcExchBillNo; public Sc_ShowProQty() { InitializeComponent(); } public Sc_ShowProQty(string HProcExchBillNo) { InitializeComponent(); init( HProcExchBillNo); } public void init(string HProcExchBillNo) { DataSet ds; ds = oCn.RunProcReturn(" exec p_h_ShowOverRE '" + HProcExchBillNo + "' ", "p_h_ShowOverRE"); grdShow.DataSource = ds.Tables[0]; } } }