Solved

how to remove a row from a gridview without deleting it from database using vb.net

Posted on 2012-04-12
2
354 Views
Last Modified: 2012-04-18
how to remove a row from a gridview without deleting it from database using vb.net.

Caution: row.visible doesn't remove it. It just makes it invisible.
0
Comment
Question by:Meinhoonaa
2 Comments
 
LVL 40

Accepted Solution

by:
Kyle Abrahams earned 500 total points
ID: 37838106
Remove the row from the underlying data source and rebind.

http://forums.asp.net/t/1300101.aspx/1
0
 
LVL 9

Expert Comment

by:darjimaulik
ID: 37841574
You can remove it while binding the Gridview in the method Gridview_databind.

Check the condition and based on it you can remove the row from gridview.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question