Click here to Skip to main content
15,907,233 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Question.net remoting Pin
swapna chow28-Apr-09 19:25
swapna chow28-Apr-09 19:25 
AnswerRe: .net remoting Pin
Mycroft Holmes28-Apr-09 22:33
professionalMycroft Holmes28-Apr-09 22:33 
AnswerRe: .net remoting Pin
saanj4-May-09 2:17
saanj4-May-09 2:17 
QuestionWMI copy file to remote host Pin
Jack Rong28-Apr-09 8:44
Jack Rong28-Apr-09 8:44 
AnswerCross Posted Pin
led mike28-Apr-09 8:59
led mike28-Apr-09 8:59 
AnswerRe: WMI copy file to remote host Pin
Dave Kreskowiak28-Apr-09 9:00
mveDave Kreskowiak28-Apr-09 9:00 
QuestionHow to freeze the datagridview content on verticall scroll? Pin
Takhir28-Apr-09 3:04
Takhir28-Apr-09 3:04 
AnswerRe: How to freeze the datagridview content on verticall scroll? Pin
Henry Minute28-Apr-09 3:43
Henry Minute28-Apr-09 3:43 
GeneralRe: How to freeze the datagridview content on verticall scroll? Pin
Takhir28-Apr-09 3:51
Takhir28-Apr-09 3:51 
QuestionRe: How to freeze the datagridview content on verticall scroll? Pin
Eddy Vluggen28-Apr-09 3:56
professionalEddy Vluggen28-Apr-09 3:56 
AnswerRe: How to freeze the datagridview content on verticall scroll? Pin
Takhir28-Apr-09 4:31
Takhir28-Apr-09 4:31 
AnswerRe: How to freeze the datagridview content on verticall scroll? Pin
Eddy Vluggen28-Apr-09 22:28
professionalEddy Vluggen28-Apr-09 22:28 
GeneralRe: How to freeze the datagridview content on verticall scroll? Pin
Takhir28-Apr-09 22:55
Takhir28-Apr-09 22:55 
GeneralRe: How to freeze the datagridview content on verticall scroll? Pin
rzubi7-Jun-09 20:26
rzubi7-Jun-09 20:26 
GeneralRe: How to freeze the datagridview content on verticall scroll? Pin
Takhir8-Jun-09 4:51
Takhir8-Jun-09 4:51 
QuestionStop receiving updates from BindingSource control inDataGridView Pin
acroitoriu28-Apr-09 2:32
acroitoriu28-Apr-09 2:32 
Hi all,

In the current project I working on, on one form I'm using a datagridview control to display some rows from a strongly-typed dataset DataTable. In the application, there is the possibility that some rows displayed in the datagridview are deleted in background. under normal conditions, the rows should disappear from the datagridview (which happens), but I need to keep them in datagridview for display until the user decides to close the form.
Additionaly, for the datagridview I perform some custom painting of the row (in CellFormatting and RowPostPaint events)...

in order to "disconnect" my gridview from the bindingsource and keep my deleted rows for displayed I tried to use the following code:

myBindingSource.RaiseListChangedEvents = false;
myBindingSource.SuspendBinding();

But, this doesn't help: I keep getting an exception dialog message with the message:

Exception: System.Data.RowNotInTableException: This row has been removed from a table and does not have any data. BeginEdit() will allow creation of new data in this row.

How can I achieve what I need to do? Is it possible to keep the data in the gridview although the rows were deleted?

Thank you in advance!

Andrei
NewsMicrosoft Tech-ed Event in India Pin
manish deora28-Apr-09 0:48
manish deora28-Apr-09 0:48 
GeneralRe: Microsoft Tech-ed Event in India Pin
Michael Bookatz28-Apr-09 1:08
Michael Bookatz28-Apr-09 1:08 
Questionauthenticate windows form using a cookie ? Pin
Harkamal Singh27-Apr-09 22:59
Harkamal Singh27-Apr-09 22:59 
AnswerRe: authenticate windows form using a cookie ? Pin
Henry Minute28-Apr-09 2:17
Henry Minute28-Apr-09 2:17 
GeneralRe: authenticate windows form using a cookie ? Pin
Harkamal Singh28-Apr-09 2:23
Harkamal Singh28-Apr-09 2:23 
GeneralRe: authenticate windows form using a cookie ? Pin
Henry Minute28-Apr-09 2:34
Henry Minute28-Apr-09 2:34 
GeneralRe: authenticate windows form using a cookie ? Pin
Harkamal Singh28-Apr-09 2:37
Harkamal Singh28-Apr-09 2:37 
GeneralRe: authenticate windows form using a cookie ? Pin
Henry Minute28-Apr-09 2:41
Henry Minute28-Apr-09 2:41 
GeneralRe: authenticate windows form using a cookie ? Pin
Mycroft Holmes28-Apr-09 22:40
professionalMycroft Holmes28-Apr-09 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.