Click here to Skip to main content
15,885,825 members
Home / Discussions / C#
   

C#

 
GeneralRe: How I can update Child Table using Entity Framework (ugent) Pin
Pete O'Hanlon2-Jun-09 2:29
mvePete O'Hanlon2-Jun-09 2:29 
AnswerRe: How I can update Child Table using Entity Framework (ugent) Pin
0x3c02-Jun-09 2:30
0x3c02-Jun-09 2:30 
GeneralRe: How I can update Child Table using Entity Framework (ugent) Pin
Qasim19842-Jun-09 4:57
professionalQasim19842-Jun-09 4:57 
JokeRe: How I can update Child Table using Entity Framework (ugent) Pin
musefan2-Jun-09 2:34
musefan2-Jun-09 2:34 
GeneralRe: How I can update Child Table using Entity Framework (ugent) Pin
EliottA2-Jun-09 2:51
EliottA2-Jun-09 2:51 
GeneralRe: How I can update Child Table using Entity Framework (ugent) Pin
musefan2-Jun-09 2:54
musefan2-Jun-09 2:54 
GeneralRe: How I can update Child Table using Entity Framework (ugent) Pin
Henry Minute2-Jun-09 3:48
Henry Minute2-Jun-09 3:48 
QuestionFilter BindingSource to show only datarows containing errors Pin
MarkB1232-Jun-09 1:19
MarkB1232-Jun-09 1:19 
Can anyone give advice on how to do this?

I am using a DeveloperExpress Grid linked to a BindingSource.

I import data into the bindingsource from a flat file then perform various checks to ensure the data is valid. If not, I set a column error for the row - as follows...

if (view.GetRowCellValue(intRow, "intX") == null || Convert.ToDouble(view.GetRowCellValue(intRow, "intX")) == (double)0.00)
{
dr.SetColumnError("intX", String.Format("{0}: Missing value.", view.Columns["intX"].Caption));
}

I have a button on the form to allow the user to filter the grid so that the grid will hide all valid rows to allow them to concentrate on fixing the invalid rows.
Can someone tell me how to apply a filter to the binding source to only show those rows with one or more column errors?

Many Thanks
AnswerRe: Filter BindingSource to show only datarows containing errors Pin
Henry Minute2-Jun-09 1:50
Henry Minute2-Jun-09 1:50 
GeneralRe: Filter BindingSource to show only datarows containing errors Pin
MarkB1232-Jun-09 2:17
MarkB1232-Jun-09 2:17 
GeneralRe: Filter BindingSource to show only datarows containing errors Pin
Henry Minute2-Jun-09 3:52
Henry Minute2-Jun-09 3:52 
GeneralRe: Filter BindingSource to show only datarows containing errors Pin
MarkB1232-Jun-09 4:18
MarkB1232-Jun-09 4:18 
QuestionDataGridView row side by side [modified] Pin
mjelten2-Jun-09 1:06
mjelten2-Jun-09 1:06 
AnswerRe: DataGridView row side by side Pin
The NULL Developer2-Jun-09 1:45
professionalThe NULL Developer2-Jun-09 1:45 
GeneralRe: DataGridView row side by side Pin
mjelten2-Jun-09 2:01
mjelten2-Jun-09 2:01 
AnswerRe: DataGridView row side by side Pin
Not Active2-Jun-09 1:55
mentorNot Active2-Jun-09 1:55 
GeneralRe: DataGridView row side by side Pin
mjelten2-Jun-09 1:59
mjelten2-Jun-09 1:59 
GeneralRe: DataGridView row side by side Pin
Not Active2-Jun-09 3:01
mentorNot Active2-Jun-09 3:01 
GeneralRe: DataGridView row side by side Pin
mjelten2-Jun-09 3:27
mjelten2-Jun-09 3:27 
GeneralRe: DataGridView row side by side Pin
Henry Minute2-Jun-09 3:56
Henry Minute2-Jun-09 3:56 
GeneralRe: DataGridView row side by side Pin
Not Active2-Jun-09 4:25
mentorNot Active2-Jun-09 4:25 
GeneralRe: DataGridView row side by side Pin
Henry Minute2-Jun-09 4:30
Henry Minute2-Jun-09 4:30 
GeneralRe: DataGridView row side by side Pin
mjelten2-Jun-09 4:34
mjelten2-Jun-09 4:34 
GeneralRe: DataGridView row side by side Pin
Not Active2-Jun-09 4:24
mentorNot Active2-Jun-09 4:24 
GeneralRe: DataGridView row side by side Pin
mjelten2-Jun-09 4:38
mjelten2-Jun-09 4:38 

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.