private void cmbTypeName_SelectionChangeCommitted(object sender, EventArgs e) { Console.WriteLine("select type"); QCReporting report = new QCReporting(); SetSamples = report.GetQCReport("Q_SamplesByCategory", new[] { "TypeID" }, new object[] { Catelag }).Tables[0]; }
private void cmbSampleName_EditValueChanged(object sender, EventArgs e) { //QC02_QueryMaterialList QCReporting report = new QCReporting(); DataTable dt = report.GetQCReport("QC02_QueryMaterialList", new string[] { "SampleName" }, new object[] { SelectSampleName }).Tables[0]; MaterialSource = dt; }