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

C#

 
QuestionViewState related problem Pin
Mit2427-Jul-09 2:32
Mit2427-Jul-09 2:32 
AnswerRe: ViewState related problem Pin
Abhijit Jana27-Jul-09 3:24
professionalAbhijit Jana27-Jul-09 3:24 
QuestionHow i know if my DataTable is empty? Pin
noamtzu27-Jul-09 2:26
noamtzu27-Jul-09 2:26 
AnswerRe: How i know if my DataTable is empty? Pin
stancrm27-Jul-09 2:27
stancrm27-Jul-09 2:27 
QuestionSplitContainer panel scroll bar Pin
Surya Ayyagari27-Jul-09 1:31
Surya Ayyagari27-Jul-09 1:31 
AnswerRe: SplitContainer panel scroll bar Pin
musefan27-Jul-09 2:08
musefan27-Jul-09 2:08 
GeneralRe: SplitContainer panel scroll bar Pin
#realJSOP27-Jul-09 2:14
mve#realJSOP27-Jul-09 2:14 
GeneralRe: SplitContainer panel scroll bar Pin
musefan27-Jul-09 2:37
musefan27-Jul-09 2:37 
John Simmons / outlaw programmer wrote:
It doesn't matter why. If he needs to, he needs to.


It does matter as to the answer I may choose to give him.

If he says that he just has two identically tree views then I would suggest that it would be best, from a users point of view, to just have one. If he says something like they are used to compare data then I would point out that problems will occur with different numbers of nodes (for example, you cant scroll to the 100th node on a TreeView that only has 50 nodes etc.)

As I am sure you are aware, there are a lot of people new to the subject of programming (not to suggest the OP is new) that use these forums. Sometimes it can be more helpful to question a persons design choices in order to illustrate better solutions for the future.

if somebody gave the example like follows with the question how do I make i3 be the sum of i2 and s1, I need to convert s1 to a number to add to i1...

int i1 = 2;
int i2 = 3;
string s1 = "" + i1;
Console.Write("i1 = " + s1);
int i3 = i1 + s1;//<- this does not work, please help me


Would you suggest...

int i3 = i1 + int.Parse(s1);


..or would you point out how they could do it more efficiently?

Life goes very fast. Tomorrow, today is already yesterday.

AnswerRe: SplitContainer panel scroll bar Pin
Mike Ellison27-Jul-09 2:21
Mike Ellison27-Jul-09 2:21 
GeneralRe: SplitContainer panel scroll bar Pin
Surya Ayyagari27-Jul-09 23:33
Surya Ayyagari27-Jul-09 23:33 
AnswerRe: SplitContainer panel scroll bar [Repost From .NET Framework Forum] Pin
Henry Minute27-Jul-09 4:35
Henry Minute27-Jul-09 4:35 
GeneralRe: SplitContainer panel scroll bar [Repost From .NET Framework Forum] Pin
Surya Ayyagari27-Jul-09 23:29
Surya Ayyagari27-Jul-09 23:29 
AnswerRe: SplitContainer panel scroll bar Pin
Waseem Chishti10-Nov-10 22:00
Waseem Chishti10-Nov-10 22:00 
GeneralRe: SplitContainer panel scroll bar Pin
Waqar Uddin6-Aug-11 11:59
Waqar Uddin6-Aug-11 11:59 
QuestionDataset to SQL Table using c# Pin
G Mohan27-Jul-09 1:29
G Mohan27-Jul-09 1:29 
AnswerRe: Dataset to SQL Table using c# Pin
stancrm27-Jul-09 1:37
stancrm27-Jul-09 1:37 
QuestionPlease help. I installed Component Software- RCS it ruined my entire year work. "the line endings ...." Pin
amitthk27-Jul-09 0:51
professionalamitthk27-Jul-09 0:51 
AnswerRe: Please help. I installed Component Software- RCS it ruined my entire year work. "the line endings ...." Pin
Pete O'Hanlon27-Jul-09 1:15
mvePete O'Hanlon27-Jul-09 1:15 
GeneralRe: Please help. I installed Component Software- RCS it ruined my entire year work. "the line endings ...." Pin
musefan27-Jul-09 2:16
musefan27-Jul-09 2:16 
GeneralRe: Please help. I installed Component Software- RCS it ruined my entire year work. "the line endings ...." Pin
amitthk27-Jul-09 15:37
professionalamitthk27-Jul-09 15:37 
GeneralRe: Please help. I installed Component Software- RCS it ruined my entire year work. "the line endings ...." Pin
musefan27-Jul-09 22:01
musefan27-Jul-09 22:01 
AnswerRe: Please help. I installed Component Software- RCS it ruined my entire year work. "the line endings ...." Pin
Dave Kreskowiak27-Jul-09 5:01
mveDave Kreskowiak27-Jul-09 5:01 
GeneralRe: Please help. I installed Component Software- RCS it ruined my entire year work. "the line endings ...." Pin
amitthk27-Jul-09 15:31
professionalamitthk27-Jul-09 15:31 
GeneralRe: Please help. I installed Component Software- RCS it ruined my entire year work. "the line endings ...." Pin
Dave Kreskowiak27-Jul-09 15:49
mveDave Kreskowiak27-Jul-09 15:49 
Questionopen new winform with one icon in taskbar Pin
Milind Panchal27-Jul-09 0:46
Milind Panchal27-Jul-09 0:46 

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.