Click here to Skip to main content
15,882,658 members
Home / Discussions / C#
   

C#

 
Questioncan silverlight and c# work together? Pin
donovan.solms7-May-07 12:58
donovan.solms7-May-07 12:58 
AnswerRe: can silverlight and c# work together? Pin
Christian Graus7-May-07 13:04
protectorChristian Graus7-May-07 13:04 
QuestionBindingSource.Filter problem Pin
Seishin#7-May-07 11:28
Seishin#7-May-07 11:28 
AnswerRe: BindingSource.Filter problem Pin
Anil Ch7-May-07 12:02
Anil Ch7-May-07 12:02 
Questionhow to use TreeView control for show Hierarchy data ? Pin
hdv2127-May-07 11:02
hdv2127-May-07 11:02 
AnswerRe: how to use TreeView control for show Hierarchy data ? Pin
PIEBALDconsult7-May-07 16:35
mvePIEBALDconsult7-May-07 16:35 
QuestionEvent Exception Pin
Justin Perez7-May-07 10:02
Justin Perez7-May-07 10:02 
AnswerRe: Event Exception Pin
Colin Angus Mackay7-May-07 10:19
Colin Angus Mackay7-May-07 10:19 
Justin Perez wrote:
I have check to make sure none of my variables are Null, I don't know what the deal is.


Confused | :confused: You just explained what the deal is, then you tell us you don't know what the deal is.

Perhaps you are not explaining yourself very well.


Justin Perez wrote:
OnImportFile(this, new ImportFileEventArgs(fi.Length, i, fi[i].Name));


TIP: Don't put all this stuff in one line of code. It makes the code difficult to read, and difficult to debug.

Change it to:
int length = fi.Length;
FIClassName currentFI = fi[i];
string fiName = currentFI.Name;
ImportFileEventArgs(length, i, fiName);

That makes it a lot easier to debug and step through and see where all the values are and how it is being built up.


Upcoming events:
* Glasgow: SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services...

Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton


My website

AnswerRe: Event Exception Pin
bearfx7-May-07 10:31
bearfx7-May-07 10:31 
GeneralRe: Event Exception Pin
Justin Perez8-May-07 7:19
Justin Perez8-May-07 7:19 
Questiondisable next button Pin
FernandoMartin7-May-07 7:54
FernandoMartin7-May-07 7:54 
AnswerRe: disable next button Pin
Giorgi Dalakishvili7-May-07 8:03
mentorGiorgi Dalakishvili7-May-07 8:03 
GeneralRe: disable next button Pin
FernandoMartin7-May-07 8:11
FernandoMartin7-May-07 8:11 
GeneralRe: disable next button Pin
Giorgi Dalakishvili7-May-07 8:16
mentorGiorgi Dalakishvili7-May-07 8:16 
Questionincorrect sorting in dataGridView Pin
KLASTER7-May-07 7:52
KLASTER7-May-07 7:52 
AnswerRe: incorrect sorting in dataGridView Pin
Anil Ch7-May-07 12:11
Anil Ch7-May-07 12:11 
QuestionCan I have the same functionality on my Windows Application as I have on my DataBase Server? Pin
Khoramdin7-May-07 7:50
Khoramdin7-May-07 7:50 
AnswerRe: Can I have the same functionality on my Windows Application as I have on my DataBase Server? Pin
Salogus7-May-07 19:04
Salogus7-May-07 19:04 
QuestionAnt on a Chessboard Pin
M.omar7-May-07 7:45
M.omar7-May-07 7:45 
AnswerRe: Ant on a Chessboard Pin
Dave Kreskowiak7-May-07 7:55
mveDave Kreskowiak7-May-07 7:55 
AnswerRe: Ant on a Chessboard Pin
mav.northwind7-May-07 7:57
mav.northwind7-May-07 7:57 
GeneralRe: Ant on a Chessboard Pin
Blumen7-May-07 18:47
Blumen7-May-07 18:47 
AnswerRe: Ant on a Chessboard Pin
led mike7-May-07 8:20
led mike7-May-07 8:20 
AnswerRe: Ant on a Chessboard Pin
PIEBALDconsult7-May-07 17:36
mvePIEBALDconsult7-May-07 17:36 
QuestionScrolling background in C# Winform?? Pin
llonden2kx7-May-07 7:14
llonden2kx7-May-07 7:14 

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.