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
jesper
NA
89
54.2k
delete row from gridview and database
Jan 28 2014 12:23 PM
Hi,
could anyone tell me how i can delete a row from the gridview and the database
public void getTasks()
{
SqlDataReader rdr = logik.loadData();
if (rdr == null || !rdr.HasRows)
{
GridView1.DataSource = rdr;
GridView1.DataBind();
}
else
{
GridView1.DataSource = rdr;
GridView1.DataBind();
GridView1.HeaderRow.Visible = false;
}
}
i have a guess about using rdr[0] cus thats the row id i guess.. but actually dont know how to implement..
Reply
Answers (
2
)
Lookup constants based on object names
app in-order to set lock time dynamically for pc ?