Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in .NET only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
.NET
help me
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
kartheeksirangi
New Member
Join Date:
Dec 2007
Posts:
1
#1
help me
Dec 24 '07, 05:34 PM
plz any one give me code for edit and delete the data in c# i am using asp.net ,c#.net and saqlserver2005 it is very urgent
thanx and regards
kartheek
victorantos
New Member
Join Date:
Dec 2007
Posts:
3
#2
Dec 24 '07, 09:17 PM
do a search on google for sqldataadapter
To execute an sql command just do this:
SqlConnection conn = new SqlConnection(" my conn string");
SqlCommand comm = new SqlCommand (conn);
comm.CommandTex t("Update mytable set WebSiteName =
'csstemplatesfo rfree.com'
");
conn.Open();
comm.ExecuteNon Query();
conn.Close()
Comment
Post
Cancel
kenobewan
Recognized Expert
Specialist
Join Date:
Dec 2006
Posts:
4871
#3
Dec 25 '07, 12:39 PM
Please read the posting guidelines and improve the quality of your post. We expect you to try first and then report on your results. Thanks.
MODERATOR
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment