Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Online Members
Shine S
More...
Forums
»
.NET
»
.NET
»
send query for update and delete
Posted Date:
11 Jan 2008
Posted By::
madhu
Member Level:
Bronze
Member Rank:
0
Points
: 2
Responses:
1
Hi,
I am using sql server 2005 with c# 2008.i know the code for update and delete in sql structure..I don't know the format of using this code in c#..send me the syntax of using query for update and delete in c#
Thanks
Tweet
Responses
#178542 Author:
KVGaneshBabu
Member Level:
Gold
Member Rank:
126
Date: 12/Jan/2008 Rating:
Points
: 2
You are asking commandtext property of commandtype
sqlcmd.CommandType = CommandType.Text;
sqlcmd.CommandText = "Update Table1 set Field1 = '" + txtfield1.Text +"' where Id = '" + txtid.text +"'";
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Tweet
Next :
send query for update and delete
Previous :
send query for update and delete
Return to Discussion Forum
Post New Message
Category:
Related Messages
Is there any expert to solve this?
what is difference between String and string(data type) in c#?
what is a resource file...
Horizontal Scroll Bar for a listview control
sql querry
Active Members
Today
Prachi Kulkarn...
(37)
Hemanth
(25)
Prasad kulkarn...
(25)
Last 7 Days
Naved Hasan ...
(255)
naveensanagase...
(230)
Pawan Awasthi
(176)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
Talk to Webmaster Tony John