private void GetAllVendorsForAParticularCategory() { if (hdnCategoryId.Value.Trim() != "") { SupplierTransaction sup = new SupplierTransaction(); hdnVendorsForACategoryId.Value = sup.GetSuppliersByCategoryId(connstring, hdnCategoryId.Value.Trim(), ""); } }
private void GetAllVendorsForAParticularCategory() { if (hdnCategoryId.Value.Trim() != "") { SupplierTransaction sup = new SupplierTransaction(); hdnVendorsForACategoryId.Value = sup.GetSuppliersByCategoryId(connstring, hdnCategoryId.Value.Trim(), ""); } else { Response.Redirect("createauction.aspx"); } }