adp = new SqlDataAdapter("select tenderamount from tender", con); ds = new DataSet(); adp.Fill(ds, "tender"); if (ds.Tables["tender"].Rows.Count > 0) { if (TextBox5.Text > ds.Tables["tender"].Rows[0][1].ToString()) { Response.Redirect("Payment.aspx?BidAmount=" + TextBox5.Text + "&TenderName=" + DropDownList1.Text); } else { Label3.Text = "sorry Your bid amount is low"; } }
if (TextBox5.Text > ds.Tables["tender"].Rows[0][1].ToString())
>
if (Convert.ToInt32(TextBox5.Text) > Convert.ToInt32(ds.Tables["tender"].Rows[0][1].ToString()))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)