string qryDetails = "select * from Product_Details where GatePassNo='" + ViewState["GPN"] +"' and Status ='Under Repair' or Status ='Warrenty' "
select * from Product_Details where GatePassNo='" + ViewState["GPN"] +"' and (Status ='Under Repair' or Status ='Warrenty')
string qryDetails = "select * from Product_Details where GatePassNo='" + ViewState["GPN"] + "' and Status IN ('Under Repair', 'Warrenty Under Repair')";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)