i am confused in which board i have to ask this.. it's related to some logic problem.
i am using asp.net and oracle database.
i need help to write a sql to check the existed data is matching with the input data.. the problem i am facing is i have a amount filed, which is having different values to each slab setting.
slab 1: 1-1000 the amount is 20
slab 2: 1000-2000 the amount is 25..
my problem is restricting user to enter the valid rage only. how do i check the the rage specified is existed in the database. user should not enter in between on range also..
what i mean is suppose if ihave already 1-1000 slab then i should not allow user to enter 500- 1000 again..
I'm trying with slabfrom >= and slabto<= which is not giving what i require..
A custom validator is not R&D, it's a basic control provided by the framework. You create code in the code behind to set if the validator is valid, it can make a DB call and check if the value being passed in is valid, based on what's in the DB.
Someone gave you a 1, presumably because you're asking me to do your job. It wasn't me, but really, if you don't know how to do this stuff, and you don't have the time to learn, then either you shouldn't be doing the project, or your schedule is unreasonable.
I am trying to create advanced search page where a user can select values from multiple dropdown controls. There is a stored procedure that will take the selected values from dropdown boxes using coalesce. I was able to configure it so the data fromdropdown boxes is read from SQL Express 2005 database and available for selection from drop-down boxes. I created a "Search" button that will submit these selected vaules from multiple dropdown boxes and submit these to store procedure. After user clicks on a search button the data is supposed to be displayed in a data grid. Can someone help me how to program Button logic for this? So a click on a search button dispalys the "found" data in a grid? This is what i have now:
None of these 2 alternative will fire.. I have SqlDataSource1 throygh SqlDataSorce6 for dropdown boxes.
1)on the event of clicking button on a page i've to open print dialogue box to print the page on which that button is.
2) on clicking Link button showing emailId i've to open Outlook express.
How can i achieve it?