textbox value check with Access

Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2008
Posts: 63
Reputation: aminit is an unknown quantity at this point 
Solved Threads: 0
aminit's Avatar
aminit aminit is offline Offline
Junior Poster in Training

textbox value check with Access

 
0
  #1
Mar 15th, 2008
Hello All:

I made a simple form in VC#, inside it there is textBox I want when I write the value inside this textBox it's must check it with one rows of the table inside dataBase if it's exist it print a message box else exit.....Any one can help ???

Thanks in advance.....
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: textbox value check with Access

 
0
  #2
Mar 17th, 2008
you can pass a value to select statement like 'select column1 from table where column2 = @varaible' and return it in object if this object is null so it not exists else it exists and using if you can direct your code...
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 3
Reputation: AnilKumar_502 is an unknown quantity at this point 
Solved Threads: 0
AnilKumar_502 AnilKumar_502 is offline Offline
Newbie Poster

Re: textbox value check with Access

 
0
  #3
Dec 26th, 2008
Hi,

I am converting .Net 1.1 source code to .Net 3.5. The source code is working fine in 1.1 but not in 3.5.

I have an popup.aspx page in which I am using a text box and a calender image. By clicking that calender image, popup with calender should appear and the selected value should be visible in the appropriate texbox. When a value is selected or changed in the textbox then it should call a select query and will get some data from the database. I am using java script to popup a calender. But here when the date is selected or changed it is not going to the img_selectionChanged method in popup.aspx.cs file.

I hope a null value is taking in the textbox.

Please help me..

Thanks in advance.
Regards,
Anil Kumar.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: textbox value check with Access

 
0
  #4
Dec 26th, 2008
Please, Anil ask this question in ASP.NET forum, it may be better...
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 3
Reputation: AnilKumar_502 is an unknown quantity at this point 
Solved Threads: 0
AnilKumar_502 AnilKumar_502 is offline Offline
Newbie Poster

Re: textbox value check with Access

 
0
  #5
Dec 26th, 2008
Originally Posted by RamyMahrous View Post
Please, Anil ask this question in ASP.NET forum, it may be better...
thanks for your prompt reply.
Regards,
Anil Kumar.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 3075 | Replies: 4
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC