Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

suppose ur db is like below.

Table

product no price product name

1 1230 a

2 1351 b

3 1861 c

4 1751 d

What my requirement is :when I will enter a new product his salary should be between the min and max price that is present in the db.means it will be between 1230 and 1861.

I dont want to enter any product which value is less than 1230 and more than 1861.

For that reason i am using the slider.so that the user will be bound to select a price which will be between the db's max and min instead of giving him a textbox to enter the value.

http://postimg.org/image/t1xt6yulx/



1230 *-------|--------------* 1861 1351(textbox which will show the slider handle posion)
Posted
Comments
What is the question?
Soumya11101 16-Dec-14 3:37am    
i dont know how to bind max and min with jquery control from datatable in asp.net

1 solution

Refer - Implement Price Range Slider in ASP.Net using jQuery Slider plugin and jQuery AJAX[^].

Try to learn how range slider works with database.
 
Share this answer
 
Comments
Soumya11101 16-Dec-14 3:59am    
Thanks Tadit,
what i am trying to do is not a range slider with two handles it is with one handle and am new to jQuery so find it difficult to understand.open the image link and you will understand properly
I think, you can disable one. But, you should try to learn the way it has explained to get the data from database using jQuery. Binding to control is something you have to take a look.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900