| Thread | Last Post | Replies |
|
| How do I get back the properties of my object in a combo box? | 13 Jun 2006 12:01 GMT | 3 |
I declared a class with 4 string properties, one of which overrides the "toString()" method. I add objects based on this to a combobox, and I can see the properties if I pause execution and look at the "SelectedItem" I can see my
|
| Problem with DataRowCollection.RemoveAt() and OleDbDataAdapter.Upd | 13 Jun 2006 10:04 GMT | 2 |
I have encountered the following problem. Say I have the following, DataGridView dgv; DataTable dt;
|
| Loading referenced types | 13 Jun 2006 09:24 GMT | 5 |
I have a project that references one of our components, is there a way in .Net to get a list of references that the application is depending on? The reason for this is so I can load certain dlls on app startup. Thanks
|
| Adding new items to an arraylist | 13 Jun 2006 07:54 GMT | 5 |
Is there a way to add new items to an arraylist witht he indexer? like with a normal array I can just do like array[x] = new. What I have read with arraylist it will throw an exception if I try to do this. Or is there a way to find out how many things are actually in an array
|
| Session | 13 Jun 2006 07:49 GMT | 5 |
There are 2 projects in our Solutions. Project1; Session("abc") = 1 Project2; dim x as string = Session("abc") x as nothing in this sample.
|
| Marshal.Copy | 13 Jun 2006 06:50 GMT | 1 |
When copying from IntPtr to an array, does the array has to be pinned or is that done by the Marshal.Copy method already? Thanks!
|
| Give a value with the sign \ to a string variable. | 13 Jun 2006 06:06 GMT | 10 |
Hello! I want to give a value with the sign \ to a string variable. The problem is that the program always add the sign @ before the variable. The next line gives me : @"Name\shai"
|
| How to know when tablestyle changes? | 13 Jun 2006 04:56 GMT | 1 |
If I have a customDataGrid (.NET 1.1) with several tablestyles loaded, how can I tell when the user switches between tablestyles? I want to do this from inside the datagrid. I have tried this event, this.TableStyles.CollectionChanged, but that
|
| C# coding guidelines: use "this." or not when referring to member fields/properties within the object? | 13 Jun 2006 01:21 GMT | 59 |
I'm never quite sure whether to use "this." or not when referring to fields or properties in the same class. It obviously works just fine without it but sometimes I wonder if using this. consistently may make the code easier to understand for someone else, etc. Using "this." ...
|
| try catch just does not work | 13 Jun 2006 01:19 GMT | 3 |
I'm writing an app on the PDA using C# with .net 1.1. It is all working well except in some cases a try catch is simply ignored and a totally different error is returned. I've got code like below to execute a command. I'm simulating loss of connection by stopping sqlserver during ...
|
| Dump SQL Server database to XML through C# | 13 Jun 2006 00:16 GMT | 2 |
Ok, I'm trying to dump an SQL Server 2005 database to XML via C#, and I'm having some troubles. I'm relatively new to the whole .net thing, so there may be some stupid/basic questions/assumptions involved. The first way I thought about doing it was dumping the entire dataset
|
| Using an array as a Class member | 12 Jun 2006 23:35 GMT | 14 |
I would like to set up a string array as a class member, or field, and then populate this array by reading in from a text file, but I cannot find the appropriate syntax. The getter and setter are very unhappy with the idea and the compiler refuses to play ball with any of the ...
|
| DataGrid - Float Fields | 12 Jun 2006 23:30 GMT | 3 |
I am using Visual Studio 2003(C#) +SqlServer2000 I need some help.. I have a datagrid that is populated with a table from a database made in SqlServer2000. I have problems with the float fields from table! I want to format them to appear with only 2 decimals
|
| Moving files with large file names into Recycle Bin | 12 Jun 2006 23:21 GMT | 2 |
Hi, I am trying to delete files programmatically and put them in the Recycle Bin. I am using SHFileOperation and everything works fine, except when I try to delete files with more than 10 characters in the name (not including the extension). So if the file is named
|
| Drawing over child controls | 12 Jun 2006 23:14 GMT | 1 |
I am trying to get a form to draw arrows linking 2 list boxes to each other. I can write the code to draw the arrows / make them follow the boxes around when they are dragged around the form, however, the form always draws the arrow under the child controls.
|