Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
GeneralRe: Determine Is App Is Running Remote Pin
dandy7215-Feb-16 9:41
dandy7215-Feb-16 9:41 
QuestionI have downloaded the source code of Open Source Extensible Enterprise n-tier Application Framework with Multilayered Architecture Pin
Malikdanish13-Feb-16 19:37
professionalMalikdanish13-Feb-16 19:37 
AnswerRe: I have downloaded the source code of Open Source Extensible Enterprise n-tier Application Framework with Multilayered Architecture Pin
Richard MacCutchan13-Feb-16 21:17
mveRichard MacCutchan13-Feb-16 21:17 
GeneralRe: I have downloaded the source code of Open Source Extensible Enterprise n-tier Application Framework with Multilayered Architecture Pin
Malikdanish13-Feb-16 21:58
professionalMalikdanish13-Feb-16 21:58 
QuestionShow only whole numbers on axis in chart Pin
CJ201013-Feb-16 6:21
CJ201013-Feb-16 6:21 
AnswerRe: Show only whole numbers on axis in chart Pin
Gerry Schmitz13-Feb-16 10:00
mveGerry Schmitz13-Feb-16 10:00 
Questionpartial or completely match rows in c# in a datagridview Pin
anyi2612-Feb-16 8:19
anyi2612-Feb-16 8:19 
AnswerRe: partial or completely match rows in c# in a datagridview Pin
Sascha Lefèvre12-Feb-16 10:00
professionalSascha Lefèvre12-Feb-16 10:00 
Step 1: Define the minimum requirements a row must meet to be considered a match. E.g. Do the names have to be equal? Or do both names converted to lower or upper case have to be equal? Or does one name have to be contained in the other? Do the numeric values have to be in a certain range of each other?

Step 2: Define a scoring-function that calculates the matching-score of a row to the row with missing values. E.g.: initial score = 0. Names are equal? -> score=score+100. Names are "lower-case-equal"? -> score=score+80. Numeric values of column X are equal? -> score=score+50. Numeric values of column X are within a certain (absolute or relative) range of each other? -> score=score+30. (Values are totally made up, you need to find values that make sense for your data, only you know what's important there.) Or, for numeric columns: score=score+Math.Abs(value1-value2)

Step 3: For each row (except the one with missing values): If it meets the minimum requirements for a match calculate the matching score. If it's higher than the last one calculated, "memorize" the row-object in a variable and update the variable for the highest-score-so-far.

Step 4: Write the values of the found best matching row that are missing in the row for which you did all this to the same.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson


modified 12-Feb-16 16:36pm.

AnswerRe: partial or completely match rows in c# in a datagridview Pin
anyi2613-Feb-16 1:03
anyi2613-Feb-16 1:03 
GeneralRe: partial or completely match rows in c# in a datagridview Pin
Sascha Lefèvre13-Feb-16 1:35
professionalSascha Lefèvre13-Feb-16 1:35 
QuestionSemantic Types for Name-Strings Pin
Sascha Lefèvre11-Feb-16 3:07
professionalSascha Lefèvre11-Feb-16 3:07 
AnswerRe: Semantic Types for Name-Strings Pin
Richard Deeming11-Feb-16 3:37
mveRichard Deeming11-Feb-16 3:37 
GeneralRe: Semantic Types for Name-Strings Pin
Sascha Lefèvre11-Feb-16 4:49
professionalSascha Lefèvre11-Feb-16 4:49 
AnswerRe: Semantic Types for Name-Strings Pin
RugbyLeague11-Feb-16 3:37
RugbyLeague11-Feb-16 3:37 
GeneralRe: Semantic Types for Name-Strings Pin
Sascha Lefèvre11-Feb-16 4:50
professionalSascha Lefèvre11-Feb-16 4:50 
GeneralRe: Semantic Types for Name-Strings Pin
RugbyLeague11-Feb-16 4:53
RugbyLeague11-Feb-16 4:53 
AnswerRe: Semantic Types for Name-Strings Pin
Pete O'Hanlon11-Feb-16 4:10
mvePete O'Hanlon11-Feb-16 4:10 
GeneralRe: Semantic Types for Name-Strings Pin
Sascha Lefèvre11-Feb-16 5:00
professionalSascha Lefèvre11-Feb-16 5:00 
AnswerRe: Semantic Types for Name-Strings Pin
Gerry Schmitz11-Feb-16 4:52
mveGerry Schmitz11-Feb-16 4:52 
GeneralRe: Semantic Types for Name-Strings Pin
Sascha Lefèvre11-Feb-16 5:07
professionalSascha Lefèvre11-Feb-16 5:07 
GeneralRe: Semantic Types for Name-Strings Pin
Gerry Schmitz11-Feb-16 7:29
mveGerry Schmitz11-Feb-16 7:29 
AnswerRe: Semantic Types for Name-Strings Pin
Midi_Mick11-Feb-16 11:02
professionalMidi_Mick11-Feb-16 11:02 
AnswerRe: Semantic Types for Name-Strings Pin
BillWoodruff15-Feb-16 4:59
professionalBillWoodruff15-Feb-16 4:59 
GeneralRe: Semantic Types for Name-Strings Pin
Sascha Lefèvre15-Feb-16 5:16
professionalSascha Lefèvre15-Feb-16 5:16 
GeneralRe: Semantic Types for Name-Strings Pin
BillWoodruff15-Feb-16 8:36
professionalBillWoodruff15-Feb-16 8:36 

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.