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 » ASP.NET »

How we write insert query in msacess using in c# with windows application


Posted Date: 04 Nov 2009      Posted By: patience      Member Level: Silver     Points: 1   Responses: 2




how we write insert query in msacess using in c# with windows application


Insert into LendersInformation(AccountNo,UserName,Gender,DOB,Age,MobileNo,TelephoneNo,Address,Date,WorkingStatus) values (100,'gfhgfh','Female','11/9/2000','9','456456456','454643456','gfhgfhfgh','11/4/2009','gfhgfhgfhfghfgh')

the above statment is wrong what is correct plz send correct answer





Responses

Author: Ali Mahran    04 Nov 2009Member Level: BronzeRating: 2 out of 52 out of 5     Points: 2

Insert into LendersInformation(AccountNo,UserName,Gender,DOB,Age,MobileNo,TelephoneNo,Address,Date,WorkingStatus) values (100,'gfhgfh','Female','11/9/2000','9','456456456','454643456','gfhgfhfgh','11/4/2009','gfhgfhgfhfghfgh');

u must put semi colon in ur code

or

sure ur Fields names in DB is the same names in Code



Author: Dharmaraj    04 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Hi,
Just put ; at the end of the statement

Regards,
Dharma
Editor,Mentor,MVM
Try and fail but don't fail and try
Me and DNS



Post Reply
You must Sign In to post a response.
Next : Swf still not work
Previous : Regular Expression to Extract URLs from HTML
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use