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
sanjay gupta
NA
248
0
to delete a row in gridview
Oct 10 2009 4:49 AM
sir
i want to delete a row with the help of checkbox using gridview. But i don't want to delete from database.
as we do in e-shopping after selecting the product we want to delete a specific record from selecting list.
But it should not be deleted from database.
for (int i = 0; i < GridView.Rows.Count; i++)
{
CheckBox cbb = (CheckBox)GridView.Rows[i].FindControl("CheckBox1");
if (cbb.Checked == true)
{
int id = Convert.ToInt32(GridView.Rows[i].Cells[1].Text);
}
it gives the id of that row.
but how it is deleted from the gridview
please help me
Reply
Answers (
2
)
Can any one give solution for :unspecifird error when open oledb connection in C#
Image Rasterization..