Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Change of colour of textbox

Author  Topic 

susan_151615
Yak Posting Veteran

99 Posts

Posted - 2009-01-30 : 07:39:43
Hi I have a textbox in a web page.
When i enter value in the textbox ,if the value is present in the backend database then no problem if the value which we enter is not present in the backend database then the textbox colour must change to yellow.

Is there anyway of doing this in sql

susan

tosscrosby
Aged Yak Warrior

676 Posts

Posted - 2009-01-30 : 09:06:08
Not in SQL. That would belong at the presentation layer, not the data.

Terry

-- Procrastinate now!
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-30 : 09:22:31
what's the front end you're using? you need to write a sp to retrive data from backend which matches the entered value. then use the result in front end to determine if anything is returned and based on that change the background color property accordingly in webpage.
Go to Top of Page
   

- Advertisement -