public bool check_bids_auction(int mid) { string sqlstr = "select bid from bid_details where mediaid=" + mid + " "; SqlDataAdapter sda = new SqlDataAdapter(sqlstr, con); DataSet ds = new DataSet(); sda.Fill(ds); if (ds.Tables[0].Rows.Count <= 0) { return true; } else { return false; } return false;//error on this line }
return
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)