null
ALTER proc PrintInventoryStockTBL2 @Store_id int, @InventoryDate date as select InventoryId,InventoryName,Product_id,Product_name,Store_id,Store_name,Quantity, RealQuantity,Inability,Increase,InventoryDate from InventoryStockTBL where Store_id=@Store_id and InventoryDate=@InventoryDate
try { Reports.Report2 reportcustomer = new Reports.Report2(); reportcustomer.SetDatabaseLogon("pc1", "12", "Server", "MnStores", false); reportcustomer.SetParameterValue("@Store_id", this.txtStore_id.Text); reportcustomer.SetParameterValue("@InventoryDate", this.dateTimePicker1.Text); Reports.FormReport fmct = new Reports.FormReport(); fmct.crystalReportViewer1.ReportSource = reportcustomer; fmct.ShowDialog(); } catch { }
reportcustomer.SetParameterValue("@InventoryDate", this.dateTimePicker1.Text);
reportcustomer.SetParameterValue("@InventoryDate", this.dateTimePicker1.Value);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)