Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
how to updat database
Old 03-15-2008, 03:16 PM how to updat database
Novice Talker

Posts: 7
Trades: 0
friends
i,m about to design a site using ASP.net (visual basic)
i,m using visual studio 2005 & access database 2007 connection is good
my problem is
i want to establish a page for the user (contact us )for example or (add your add) so user can add his data into certain text boxes then by pressing the button ( add ) all these data are added & stored into their places into the data base
example
a text box for his name so he can type his name in it then by pressing the button contact us or what ever the name is
his name is added & stored into the column of names into the data base
then the same thing for e mail text box & subject text box as a little example
i hope that someone help me with this topic
thank you
pharaohmagic
__________________

Please login or register to view this content. Registration is FREE
pharaohmagic is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-15-2008, 07:42 PM Re: how to updat database
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Visit http://www.asp101.com/samples/ and work through the database samples
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-06-2008, 03:57 PM Re: how to updat database
Novice Talker

Posts: 5
Name: Aashish Kumar
Trades: 0
U can use......

cmd.executenonquery();

for updation of database.
The code in C#.net will..........

************************************************** ********

sqlconnection con=new sqlconnection("Connection string");
con.open();
sqlcommand cmd=new sqlcommand("Update Command",con);
cmd.executenonquery();
con.close();

************************************************** ********
ashishforindia is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to how to updat database
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11286 seconds with 12 queries