Click here to Skip to main content
15,902,445 members
Home / Discussions / C#
   

C#

 
GeneralRe: Combobox to filter a datagrid c# Pin
Member 114494474-Jan-16 3:44
Member 114494474-Jan-16 3:44 
GeneralRe: Combobox to filter a datagrid c# Pin
Sascha Lefèvre4-Jan-16 4:08
professionalSascha Lefèvre4-Jan-16 4:08 
GeneralRe: Combobox to filter a datagrid c# Pin
Member 114494475-Jan-16 4:25
Member 114494475-Jan-16 4:25 
GeneralRe: Combobox to filter a datagrid c# Pin
Sascha Lefèvre5-Jan-16 5:15
professionalSascha Lefèvre5-Jan-16 5:15 
GeneralRe: Combobox to filter a datagrid c# Pin
Member 114494475-Jan-16 5:23
Member 114494475-Jan-16 5:23 
GeneralRe: Combobox to filter a datagrid c# Pin
Sascha Lefèvre5-Jan-16 6:04
professionalSascha Lefèvre5-Jan-16 6:04 
GeneralRe: Combobox to filter a datagrid c# Pin
Member 114494475-Jan-16 6:26
Member 114494475-Jan-16 6:26 
AnswerRe: Combobox to filter a datagrid c# Pin
Sascha Lefèvre5-Jan-16 7:00
professionalSascha Lefèvre5-Jan-16 7:00 
Ok I think I got it now. The cause will probably be that your code behind the button "gravar" tries to access that row which isn't part of the view any more because when your input cursor leaves the cell edit control (when clicking the button) the filter gets automatically re-applied so that the row gets removed before the code behind "gravar" gets executed.

The following link should provide you with a solution to this:
c# - DataGridView filter hiding edited items - Stack Overflow[^]
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

GeneralRe: Combobox to filter a datagrid c# Pin
Member 114494475-Jan-16 22:45
Member 114494475-Jan-16 22:45 
GeneralRe: Combobox to filter a datagrid c# Pin
Member 114494475-Jan-16 22:59
Member 114494475-Jan-16 22:59 
GeneralRe: Combobox to filter a datagrid c# Pin
Sascha Lefèvre6-Jan-16 0:26
professionalSascha Lefèvre6-Jan-16 0:26 
QuestionHow to merge same cells value into single cell in C# Pin
Ashfaque Hussain4-Jan-16 2:50
Ashfaque Hussain4-Jan-16 2:50 
SuggestionRe: How to merge same cells value into single cell in C# Pin
Sascha Lefèvre4-Jan-16 3:16
professionalSascha Lefèvre4-Jan-16 3:16 
GeneralRe: How to merge same cells value into single cell in C# Pin
Ashfaque Hussain4-Jan-16 18:51
Ashfaque Hussain4-Jan-16 18:51 
GeneralRe: How to merge same cells value into single cell in C# Pin
Richard Deeming5-Jan-16 2:22
mveRichard Deeming5-Jan-16 2:22 
SuggestionRe: How to merge same cells value into single cell in C# Pin
Richard Deeming4-Jan-16 3:17
mveRichard Deeming4-Jan-16 3:17 
QuestionDisplaying Objects In A List Inside A Foreach Loop Pin
MadDashCoder3-Jan-16 19:22
MadDashCoder3-Jan-16 19:22 
AnswerRe: Displaying Objects In A List Inside A Foreach Loop Pin
Pete O'Hanlon3-Jan-16 20:02
mvePete O'Hanlon3-Jan-16 20:02 
GeneralRe: Displaying Objects In A List Inside A Foreach Loop Pin
MadDashCoder3-Jan-16 20:19
MadDashCoder3-Jan-16 20:19 
QuestionDynamic Localization for released products Pin
Chandra Mohan BS3-Jan-16 18:28
Chandra Mohan BS3-Jan-16 18:28 
QuestionFingerprint student attendance Pin
Nareen Nair3-Jan-16 4:53
Nareen Nair3-Jan-16 4:53 
SuggestionRe: Fingerprint student attendance Pin
Richard MacCutchan3-Jan-16 5:04
mveRichard MacCutchan3-Jan-16 5:04 
GeneralRe: Fingerprint student attendance Pin
Redgum4-Jan-16 10:17
professionalRedgum4-Jan-16 10:17 
GeneralRe: Fingerprint student attendance Pin
Pete O'Hanlon4-Jan-16 10:41
mvePete O'Hanlon4-Jan-16 10:41 
AnswerRe: Fingerprint student attendance Pin
Richard MacCutchan29-Jan-16 6:35
mveRichard MacCutchan29-Jan-16 6:35 

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.