| Thread | Last Post | Replies |
|
| WCF and Errors | 10 Jul 2008 04:09 GMT | 2 |
Hi Guys!! I have a question, I working with the WCF service in the BL what rise the errors to the UI?
|
| open a db connection in a constructor ? | 10 Jul 2008 04:06 GMT | 21 |
a .net 1.1 app has a class whose constructor opens a db connection to sql svr two thousand. this class has more than a dozen of methods. most of them don't do db stuff. I am wondering if this design is going to be a problem, bcoz each time
|
| File.Copy | 10 Jul 2008 01:49 GMT | 3 |
Hi I would like to use File.Copy with UNC paths. I have seen this problem reported by others as well. Can i use File.Copy with UNC paths. ie., i would like to copy a file from one of the folder to a shared folder. eg., File.Copy(srcPath, "\\machinename\\folder)
|
| Retrieve proper filename case without using Directory.GetFiles() | 10 Jul 2008 01:35 GMT | 3 |
Is it possible to retrieve a proper/invariant file or directory name using a lowercase full path string without having to resort to a call to GetDirectories()/GetFiles() using the directory/filename as the search string? While Path, FileInfo, and DirectoryInfo all store the path
|
| Some Controls Do Not Work After OnClosing is Cancelled | 09 Jul 2008 21:43 GMT | 2 |
Windows Experts: 1. I have a desktop application with a UserControl that contains controls: TextBoxes, RadioButtons, CheckBoxes and NumericUpDowns. 2. I want to warn the user that, if there is unsaved data within my
|
| Generate wrapper for COM | 09 Jul 2008 21:09 GMT | 2 |
Hi misters, any addin for Reflector or another independent tool for generate a wrapper class in C# for a COM ?? For example, I add reference to COM in my project, and VStudio generates
|
| Passing long Strings as parameters (by ref and by value) | 09 Jul 2008 19:41 GMT | 11 |
If there are long strings (like 1MB or 2MB) is it more performant to pass those by ref to methods or by value?
|
| Pointless Exception Handling? | 09 Jul 2008 19:28 GMT | 5 |
I just came across this code. The exception handling seems completely pointless. Am I missing something? try {
|
| About dialog | 09 Jul 2008 17:25 GMT | 6 |
I know there exist some commonDialogs in .NET such as SaveFileDialog,OpenFileDialog printDialog and so. I just want to know if a dialog is the same as a form ? I mean when these dialogs was created it uses
|
| Collection question | 09 Jul 2008 15:26 GMT | 2 |
I am a relatively new to C#. I want to write a method that returns an 'iterable' collection: TheCollection = MyClass.MethodName(); // Further down, I want to use for .. each
|
| Need Algorithm or Data Structure for Organizing "Hierarchical" Data | 09 Jul 2008 14:52 GMT | 2 |
I have a bunch of related items that are either parents, children or not directly related to each other. In my case, I have a bunch of database tables joined with foreign keys. Another example would be a family tree.
|
| Sort a char array case-insensitively | 09 Jul 2008 14:41 GMT | 2 |
char[] c = { 'a', 'b', 'c', 'A', 'B', 'C' }; Array.Sort(c, CaseInsensitiveComparer.Default); After this, c is ordered { 'A', 'B', 'C', 'a', 'b', 'c' }. I want letters to be sorted together regardless of case, e.g. 'A' next to
|
| Working with Complex DataSet - Creating and Pass thru Transformati | 09 Jul 2008 11:39 GMT | 2 |
Have a complex process where I need to Import a large amount of data then run some transformations on this data then import into DataBase. The transformation involves multiple fields and multiple process - so the data needs to be read in 1 record at a time then run thru the ...
|
| scheduling | 09 Jul 2008 10:56 GMT | 2 |
I have created a Class that creates Schedules daily, ,interval (seconds), monthly, etc this class only holds next run time, updates to nextrun time after and so forth...just holds holds information about a single schedule and methods to
|
| Passing information between Forms--is there any other way than using parametized constructors? | 09 Jul 2008 10:26 GMT | 5 |
This thread is about how variables or parameters (including objects) are passed between forms (namely, using parameterized constructors, e.g., to pass an int between forms (e.g., a calling form and a called dialog form) (see below).
|