C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » Visual Studio »

How to verify the data in this table or not in vb.net


Posted Date: 06 Nov 2009      Posted By: kumari      Member Level: Silver     Points: 1   Responses: 1



I have 1 table.in this table i have data.The table is
columns:-domainname domainid
data:- mortan 1
In vb.net i developed the user information.the user domain name is existed in the above table or not.how to verify in vb.net.





Responses

Author: Anil Kumar Pandey    06 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

hi,
read the count like


Select count(*) from tabname where col1='mohan1'


like this if it is grater than 0 means the data is present..

Thanks & Regards
Anil Kumar Pandey



Post Reply
You must Sign In to post a response.
Next : Display multiple datas of a single row in crystal view
Previous : Setup and Deployment
Return to Discussion Forum
Post New Message
Category: Visual Studio

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use