| Thread | Last Post | Replies |
|
| Nested generic collections | 28 Aug 2007 13:27 GMT | 5 |
I can pass a generic collection as ICollection<T> just fine: static void flatCollection(ICollection<int> c) {} // ... List<int> l = new List<int>();
|
| Formatting fields in a datatable | 28 Aug 2007 13:03 GMT | 4 |
I have written a custom multi column listbox control that I pass a datatable to. the issue is that if there are date fields then these may be in the wrong format or any other field formatting
|
| Override new() | 28 Aug 2007 12:39 GMT | 5 |
Is it possible to override the new() function? like in TestObject to = new TestObject(); thnx,
|
| how to add solution to vss and avoid creating root directory for sln? | 28 Aug 2007 11:20 GMT | 1 |
I have multiple C# solutions and they share some utility and generic projects. I put all *.sln files in root directory. File structure is like this( things without ext is a folder):
|
| show messageBox when form is not showen | 28 Aug 2007 11:16 GMT | 4 |
I've 2 Forms: 1. Main Form 2. Form contiaing Timer (which shows messageBox after 1 sec). I want that The Main Form, will create the Second form, and that the timer
|
| Docking Panels In C# | 28 Aug 2007 11:08 GMT | 3 |
can anyone tell me please how can I create a docking panel in C# (Like the toolbox in VS.NET 2005). Thanks In advance
|
| Server.MapPath Access question | 28 Aug 2007 10:57 GMT | 1 |
I have a folder in my NAS and the folder in the C#.Net 2.0 is as \\\\MyNAS\\MyFolder. However when I use the Directory.GetFiles(" \\\\MyNAS\\MyFolder"), it gave me an
|
| display a tab to the right of the tab control | 28 Aug 2007 08:42 GMT | 5 |
I added a tab control to my form. I need to add the tab pages to the control at run-time. But this is little different from the normal way. I need to display one specific tab to the right most, while the other tabs can be from left to right. Do I need to inherit the control and
|
| is using static ok here ? | 28 Aug 2007 03:21 GMT | 4 |
I think I know but am unsure here. I have libraries for business and data layers and originally designed most functions to be static methods like so public static somedataobject BLL_CheckMyNumber(passed_in_user_data) {
|
| Problem using System.Threading.Thread.CurrentPrincipal.Identity.Name | 28 Aug 2007 00:46 GMT | 1 |
We have migrated our application(VB.NET) from .NET 1.1 to 2.0. When accessing the identity of the user, using "System.Threading.Thread.CurrentPrincipal.Identity.Name", it returns me nothing in .NET 2.0 where as code works fine in 1.1. If I use "System.Threading.Thread ...
|
| App.config connection String | 27 Aug 2007 22:49 GMT | 3 |
in C# 2005 are we still using <appSettings> section or have we moved to a new configuration section that is better to use like <connectionStrings> </connectionStrings> How do I use the later from Code?
|
| Datatable.select correct syntax | 27 Aug 2007 22:23 GMT | 5 |
Why the folowing code generates ans error in the select expression ?: DataRow[] drRows = dsRevues.Tables[0].Select("year >= '2000' && year <= '2007'");// What is the correct syntax ?
|
| Can ActiveX interop require minimum version of the control? | 27 Aug 2007 20:52 GMT | 4 |
With JScript in html, the object codebase can be given a version number which will do a pull from the server if the user has an earlier version. Is there a comparable setup inside an interop wrapper? The generated wrapper seems to have no such ability out of the box.
|
| Loading two forms simultaneously | 27 Aug 2007 20:02 GMT | 6 |
I have an application that has multiple forms, only 3 of which matter for this issue. There is a main form that starts invisible and does nothing more than start other forms and link them all together. I also have a Login form and a View form, both started by the main
|
| is unicode support in c# a fake? | 27 Aug 2007 19:53 GMT | 5 |
I don't know why, but I want to read a file, change some of the content, and want to write this new content in another file. The problem is, that it contains unicode text. My code is:
|