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 Visual Basic .NET only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Visual Basic .NET
How to delete a row or datas from datagridview in vb.net?
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
Prathap
New Member
Join Date:
Nov 2011
Posts:
37
#1
How to delete a row or datas from datagridview in vb.net?
Nov 30 '11, 07:21 AM
I am a beginner in vb.net, i dont know how to delete datas from datagridview in vb.net.
pod
Contributor
Join Date:
Sep 2007
Posts:
298
#2
Nov 30 '11, 01:10 PM
capture the id of the selected row of data
(the row must contains the id in one of the cells, hidden or not)
build and submit a query to delete this record
(delete from table where id = [caopture ID])
refresh the datagrid datasource
(run the query you used to load the datagrid previously)
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment