How you will connect to windows directory in c#?
Answers were Sorted based on User's Feedback
Answer / parmjit
We can get path of windows director from the following
function call
Environment.SystemDirectory.Substring(0,
Environment.SystemDirectory.LastIndexOf("\\"))
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / anatoliy
Directory.GetParent(System.Environment.SystemDirectory);
| Is This Answer Correct ? | 2 Yes | 2 No |
What are the boolean data types in c#?
When compiler adds a default constructor to a class?
Explain About friend and Protected friend
Is exe is machine dependent?
Why do we need collections in c#?
What does immutable mean in c#?
How To Maintain Transaction In C#?
1 Answers Phoenix Technologies,
What is default access modifier for class in c#?
What does addressof operator do in background ?
What is different between Implicit conversion and Explicit conversion in C#?
Explain how do I get deterministic finalization in c#?
For a combobox and a listbox same datatable given as a datasource. Now problem is that whenever focus of listbox changes selected value of combobox also get change or vice versa. what to be done to avoid this. According to requirement we cannot make different datasouce.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)