| Thread | Last Post | Replies |
|
| UserControls and Panels | 28 Mar 2006 08:06 GMT | 8 |
I realize this is a very common problem, but even though I've scoured the Internet for resources, I can't seem to solve this issue :| I currently have a very simple application. It contains a a single main dialog in which all user interaction occurs. The dialog consists of "views" ...
|
| Checking for last row in a datarow | 28 Mar 2006 07:45 GMT | 1 |
I like add \r\n to all my rows except for the last row. How do I check for the last in the following code? StringBuilder sb = new StringBuilder(); foreach (DataRow row in rows)
|
| TreeNode.Find() busted? | 28 Mar 2006 07:26 GMT | 1 |
I know, I know... it's rarely the case. But here is a SIMPLE example of it not working: TreeNode temp = configNode.Nodes.Add("TestNode"); TreeNode[] findResult = configNode.Nodes.Find("TestNode", false);
|
| User Control Focus Issues | 28 Mar 2006 07:24 GMT | 3 |
This is driving me nuts... Anyone have a clue why when a user control is focused, this.Focus(), that child controls under the same container do not get redrawn/updated? am I the only one experiencing this?
|
| How can I get the Identity value of a newly inserted record? | 28 Mar 2006 02:04 GMT | 8 |
I insert a new record with a command: private SqlCommand comInsert; comInsert = conDataBase.CreateCommand(); comInsert.CommandType = CommandType.Text;
|
| Why use a Struct instead of a Class. | 28 Mar 2006 01:13 GMT | 1 |
I've used both Struct and Classes. However, after reading a few articles lately, I'm starting to wonder why you would really use a Struct over a class. The only reason seems to be that Structs are Valuetypes, and can perform
|
| Dropping controls in a User Control ges added to parent control | 28 Mar 2006 01:00 GMT | 2 |
When I drop a control (say a Button) on my user control, the button is added to the parent control of my user control and not my control. For example if my user control is on a panel and a drop a button on it, the button is added to the panel.Controls. I tried Bring to Front but ...
|
| Sockets and Windows Services | 27 Mar 2006 22:48 GMT | 1 |
We've developed a Windows Service that is responsible for checking for updates and downloading them. It then installs the updates by running a seperate console executable. This console app communicates status message back to the service via TCPListener/TCPClient code and works
|
| Access keywords with classes | 27 Mar 2006 22:46 GMT | 4 |
I understand how access keywords like public, private, protected etc work when it comes to using them in method declarations, but how do they work when it comes to class declarations? For example, what would the following mean:
|
| struct with string, where does it allocate to? heap? | 27 Mar 2006 22:29 GMT | 4 |
As it is always stated that value type is allocated on stack, while reference types are on managed heap. How about the struct with string members? stuct A { string str; }
|
| Problems with Threading and CDO in C# Winforms app | 27 Mar 2006 22:26 GMT | 11 |
I have written a winforms application that launches approximately 150 threads with Thread.ThreadStart() Each thread uses CDO 1.21 to logon to a different Exchange mailbox and
|
| Listbox header | 27 Mar 2006 22:16 GMT | 2 |
Is it possible to display a column header in a listbox?
|
| wierd behavior - no Exceptions thrown! | 27 Mar 2006 22:13 GMT | 1 |
Hi... This is driving me crazy and I really hope I can get an answer... Take a look at the piece of code below (I'm using .net 2.0): try
|
| Enforce declaration of values (C# 2.0) | 27 Mar 2006 22:02 GMT | 2 |
Hi I have some "unusual" problem ^^ Is there an way to enforce the declaration of values? If the answer is no use propertys can anyone tell me how to access a construct like this over properties.
|
| Syntax question | 27 Mar 2006 22:00 GMT | 2 |
I am trying to pass a reference to an array to another function. Something like: int x = ReadArray(myVars.theArray); private int ReadArray(Array ar)
|