Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
QuestionChecking to see if object is char or int Pin
jrcook19-May-06 9:40
jrcook19-May-06 9:40 
AnswerRe: Checking to see if object is char or int Pin
likefood19-May-06 10:34
likefood19-May-06 10:34 
GeneralRe: Checking to see if object is char or int [modifed] Pin
vineas19-May-06 11:01
vineas19-May-06 11:01 
QuestionWebBrowser throws exception in Web Service Pin
dpietro19-May-06 8:13
dpietro19-May-06 8:13 
AnswerRe: WebBrowser throws exception in Web Service Pin
Dustin Metzgar19-May-06 10:24
Dustin Metzgar19-May-06 10:24 
GeneralRe: WebBrowser throws exception in Web Service Pin
dpietro22-May-06 1:50
dpietro22-May-06 1:50 
AnswerRe: WebBrowser throws exception in Web Service Pin
Dustin Metzgar22-May-06 1:58
Dustin Metzgar22-May-06 1:58 
Questionbreak report - recommendations?? Pin
MarFarMa19-May-06 7:36
MarFarMa19-May-06 7:36 
C# novice - seeking feedback on the proper way to code a break report.

If you had two cvs files and needed to create a break report: (i.e. records in a but not in b, in b but not in a, in a and in b but mis-matched on data, how would you approach it?

I'm planning on loadeing the data into two DataTables, a and b, I've defined within the code, and looping as follows:

foreach (row in a)
find row.key in b
--if not found, copy source row into a-not-b table
--if found, compare
--- if not matching, copy rows and break info into data-break table
--- either way, if found, remove matched row from b table
end foreach

report a-not-b
report b (any remaining rows represent b-not-a)
and data-break

I'm concerned that I don't know the .Net language well enough, and I might be going about this the wrong way. Are there better choices in loading the data that provide 'set-operations' that I can use, to make this process cleaner?

Thanks!

Pauli
AnswerRe: break report - recommendations?? Pin
MarFarMa19-May-06 9:31
MarFarMa19-May-06 9:31 
Questionform/control sizing Pin
reshsilk19-May-06 7:02
reshsilk19-May-06 7:02 
AnswerRe: form/control sizing Pin
leppie19-May-06 7:12
leppie19-May-06 7:12 
QuestionCreating an array from data in a file Pin
jrcook19-May-06 6:53
jrcook19-May-06 6:53 
AnswerRe: Creating an array from data in a file Pin
leppie19-May-06 7:04
leppie19-May-06 7:04 
GeneralRe: Creating an array from data in a file [modifed] Pin
jrcook19-May-06 7:16
jrcook19-May-06 7:16 
AnswerRe: Creating an array from data in a file Pin
Scott Serl19-May-06 11:26
Scott Serl19-May-06 11:26 
QuestionFlickering-free!! Pin
Sirinao19-May-06 6:00
Sirinao19-May-06 6:00 
AnswerRe: Flickering-free!! Pin
leppie19-May-06 7:06
leppie19-May-06 7:06 
AnswerRe: Flickering-free!! Pin
Josh Smith19-May-06 7:13
Josh Smith19-May-06 7:13 
AnswerRe: Flickering-free!! Pin
Sirinao19-May-06 9:08
Sirinao19-May-06 9:08 
QuestionCreating a Vitual Drive Pin
Gonzalo Brusella19-May-06 5:26
Gonzalo Brusella19-May-06 5:26 
AnswerRe: Creating a Vitual Drive Pin
leppie19-May-06 7:14
leppie19-May-06 7:14 
GeneralRe: Creating a Vitual Drive Pin
Gonzalo Brusella19-May-06 7:19
Gonzalo Brusella19-May-06 7:19 
GeneralRe: Creating a Vitual Drive Pin
Dario Solera19-May-06 9:05
Dario Solera19-May-06 9:05 
Questionobject.GetType() -=Part II=- Pin
CombatRob19-May-06 5:00
CombatRob19-May-06 5:00 
AnswerRe: object.GetType() -=Part II=- Pin
Josh Smith19-May-06 5:04
Josh Smith19-May-06 5:04 

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.