Create proc [dbo].[PrintCatCustomersTbl] @catId int as select catId,catName,catNote from CatCustomersTbl where catId=@catId
Report.ReportCatProductsSingle reportcustomer = new Report.ReportCatProductsSingle(); reportcustomer.SetParameterValue("@catId",this.dataGridView1.CurrentRow.Cells[0] .Value.ToString()); Report.FormCatProducts fmct = new Report.FormCatProducts(); fmct.crystalReportViewer1.ReportSource = reportcustomer; fmct.ShowDialog();
string DatabaseServer = ConfigurationManager.AppSettings["Server"]; string userId = ConfigurationManager.AppSettings["Userid"]; string Password = ConfigurationManager.AppSettings["Password"]; string DataBaseName = ConfigurationManager.AppSettings["DataBase"];
@catId int
"@catId",this.dataGridView1.CurrentRow.Cells[0].Value.ToString()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)