예제 #1
0
 protected void btnSetExportData_Click(object sender, EventArgs e)
 {
     objProduct   = new tblProduct();
     objDataTable = objProduct.ExportAllInfoProduct(ddlFields.SelectedValue, txtSearch.Text.Trim(), ddlCategory.SelectedValue, ddlSubCategory.SelectedValue, ddlColor.SelectedValue, hdnSelectedIDs.Value.ToString().TrimEnd(','));
     objProduct   = null;
     ExpFile.SetFileName("Product");
     ExpFile.SetExportData(objDataTable);
 }
 protected void btnSetExportData_Click(object sender, EventArgs e)
 {
     objProductDetail = new tblProductDetail();
     objDataTable     = objProductDetail.GetReportSKUNOWise(txtSKUNO.Text);
     objProductDetail = null;
     ExpFile.SetFileName("SKUWiseProduct");
     ExpFile.SetExportData(objDataTable);
 }
예제 #3
0
 protected void btnSetExportData_Click(object sender, EventArgs e)
 {
     if (txtQuantity.Text != "")
     {
         objProductDetail = new tblProductDetail();
         objDataTable     = objProductDetail.GetReportQtyWise(txtQuantity.Text);
         objProductDetail = null;
         ExpFile.SetFileName("QuantityWiseProduct");
         ExpFile.SetExportData(objDataTable);
     }
 }