Click here to Skip to main content
12,746,668 members (30,254 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
I have 10000 rows in my datagridview,now when i insert,delete one of the rows,i should refresh all the rows with select stored procedure that i wrote.

How do you suggest to me to refresh(select) just that row?
TIA
Posted 3-Jul-12 9:41am
Updated 3-Jul-12 9:50am
Wes Aday104.2K
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

hi
we can bind the data when the the record deletion has done.
Using link button we can delete then bind the data in gridview[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

As far as I know.....

Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.

Rows cannot be programmatically removed unless the DataGridView is data-bound to an IBindingList that supports change notification and allows deletion.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170215.1 | Last Updated 3 Jul 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100