| Thread | Last Post | Replies |
|
| Single Linq Context in WinForms application | 14 Jan 2008 21:38 GMT | 6 |
For winforms application with multiple related forms it is reasonable to create Linq database context object in start of application. Context object is released only when application exits. So connection to database may remain open for all application run time.
|
| Putting units in identifiers? | 14 Jan 2008 21:13 GMT | 6 |
I just saw an interesting identifier in a C# book I'm reading... double dollarsPerHead This jumped out at me, as it is not common to put units in an identifer. We don't see "millisecondsSinceStart" ("time"), or "milesPerHour" ("speed").
|
| Problem with large tiff files | 14 Jan 2008 20:50 GMT | 3 |
I have large 1bpp tiff scans of arch. drawings that are typically 12032x16890 pixels (filesize is about a 1 meg +/-) While I can readily view smaller (dimension) files, when I try to do anything after loading
|
| code organization | 14 Jan 2008 20:20 GMT | 1 |
I'm using codebehind in ASP.Net. public partial class edit : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e)
|
| SQL transferring data between servers | 14 Jan 2008 20:16 GMT | 2 |
I'm trying to get something like this to work: Application calculates data and stores them in local SQL server. Once a week this data needs to copied to DVD. Then I need second application which has to take this data from DVD and send to global SQL
|
| GetType() in static method? | 14 Jan 2008 19:50 GMT | 5 |
In a non-static method, I can obtain the Type of the class containing that method with "this.GetType()". In a static method, I cannot, of course. There is no "this". I have a method in another class that needs to be passed a Type object
|
| Possible to use generic type in one method for other class methods? | 14 Jan 2008 19:42 GMT | 5 |
I know this code is garbage but it should give you an idea of what I'm after: <code> class Test
|
| TextBox AutoComplete not quite good enough | 14 Jan 2008 19:12 GMT | 8 |
I want to have AutoSuggest based on a database (or webservice) query. So as the user types say... a last name I will make an async call to a service to get matches, then set the suggestion list at runtime. I tried this quick by handling the key down event and building a "dumb"
|
| Deployment and updates | 14 Jan 2008 18:05 GMT | 2 |
Hi all... I'm developing a system for a hospital in windows forms and now comes to me to see the deployment of the application... First to come to my mind was clickonce, but the problem is that it does
|
| Application Updates | 14 Jan 2008 18:03 GMT | 3 |
Forgive my lack of using the right terms here but I'm hoping someone has an answer. I'm using VS 2005 C# Express and doing the following: Right clicking the solution name and choosing properties, going under the Publish tab on the left and clicking the 'Publish Wizard' button.
|
| Abort form closing | 14 Jan 2008 16:42 GMT | 1 |
I show my Form in dialog mode. So I have "Ok" button on it with DialogResult = Ok. What is the right way and how can I abort form closing from the button click event. Thanks a lot
|
| c# datasource search | 14 Jan 2008 16:24 GMT | 2 |
abit a vague question, but i'm looking for a process to search a displayed datagrid for a value. For example, an application displays a datagrid..I wish to be able to type in a value into a text box and display that row from the datasource.
|
| LINQ | 14 Jan 2008 16:14 GMT | 5 |
Good noon! Maybe anyone of you knows how generate LINQ Classes programmatically? Thanks in advance!
|
| Question about registering ActiveX in Vista. | 14 Jan 2008 15:51 GMT | 2 |
I have written a C# program which has an activeX control (abc.ocx) in Visual Studio 2005, and used the setup and deployment project to create an setup.exe and setup.msi that act as an installer. And i found that when i install the setup in Windows XP, it is okey,
|
| How does Assert determine equality? | 14 Jan 2008 14:57 GMT | 3 |
This is mostly just curiousity. I was writting a unit test to verify that I was creating a Regex correctly. This involved Assert.AreEqual(expected, actual) where expected and actual are both Regex objects. My code failed the test
|