C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Validation in vb.net


Posted Date: 07 May 2008      Total Responses: 2

Posted By: Rekha        Member Level: Gold     Points: 1


I'm having a field name.. it should not allow any special characters, period and also spaces.
if i have a name like 'aaa' and if i insert another text as 'AAA' it should display as 'aaa' already exists. Case should not be a problem. Give me some samples regarding my situation.

Thanks in Advance.




Responses

Author: Subodh kumar Prajapati    07 May 2008Member Level: GoldRating:     Points: 2
Hi,
This match will be done by database. Where no checks will be made for upper case and lower case. So for this make the check for both.


Author: TARAK NATH ROY    07 May 2008Member Level: SilverRating:     Points: 2
you ca check it also in code behinde
store the field in dataset and check

Ucase(dataset1.table(0).rows(0).item("field1")=Ucase(txtTextBox1.text.trim)
lblMsg.text="Data already Exists"

try it
Cheers


Post Reply
You must Sign In to post a response.
Next : Ultralistview with multiple checkboxes
Previous : message box
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

conference calls

Contact Us    Privacy Policy    Terms Of Use