leathu raj

leathu raj

  • NA
  • 62
  • 79.3k

How to compare column values in database with textbox value

Jun 24 2014 7:30 AM
Hi,
   In my code i want to get values from database based on my textbox value which is greater than that textbox values and display it to another three label
 For example in my database
 I have fields like,
     amount            name
          1000       bag
        
        2000        watch
        3000        mobile

   From this if my textbox value is 1000 it will get 2000 and 3000 and display it to two labels respectively.....

Please help.....
 Thanks in advance

Answers (8)