TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Tan Kai Kai
NA
114
43.1k
Got some error
Jul 19 2013 10:01 AM
LinkButton lnkRemove = (LinkButton)sender;
SqlCommand cmd = new SqlCommand();
cmd.CommandType = CommandType.Text;
cmd.CommandText = "delete from Catwhere " +
"ID=@ID;" +
"select * from Cat";
cmd.Parameters.Add("@ID", SqlDbType.VarChar).Value
= lnkRemove.CommandArgument;
GridView1.DataSource = ds.Tables[0];
GridView1.DataBind();
I can can delete any thing buy no error come out, I want to delete item from gridview that the user click
Reply
Answers (
2
)
How to do Modal Popup editing of WebGrid rows in MVC 3 ?
Some Qns to ans