| Thread | Last Post | Replies |
|
| ContextMenu | 16 May 2008 18:03 GMT | 3 |
I am trying to create a context menu in my application. The context menu takes menu otems from an XML file. In XAML the code is <Grid.ContextMenu> <ContextMenu Name="cm" StaysOpen="true" Width="Auto"
|
| DateType that can be: True, False or Null? | 16 May 2008 14:28 GMT | 6 |
I need a datatype (or enum?) that can hold the possible values: true/ false/null I will use it in ADO.NET code like: sqlCmd.Parameters.Add("@isApproved", SqlDbType.Bit, 1).Value = ?????;
|
| Using ConfigurationManager to modify another project's app.config | 16 May 2008 13:00 GMT | 3 |
I have a solution with two projects. Project A is the startup project, while Project B serves as the project with the data logic. At run time, the first thing I need to do is write to Project B's app.config. I've referenced System.configuration.dll within Project
|
| Retrieving Unique Items from a List | 16 May 2008 11:14 GMT | 3 |
I have a Generic Object that has a private List field item. I populate the List in a different function I use a FOREACH LOOP with a FindAll function to get all items that have a certain match for data in the list and do something to it.
|
| End thread | 16 May 2008 11:08 GMT | 1 |
I start a very long process in thread. When function is ending (very long process is finish), i leave thne function and thread. In this case, that becomes the thread ?
|
| Question on Program Hanging | 16 May 2008 11:04 GMT | 3 |
I have a c# program that continually runs 24/7 and performs a variety of tasks based on a timer. There is one routine that hangs every Saturday morning without fail. If I restart the program throughout the week is still hangs. I can restart it
|
| XML Serialization and Internationalization | 16 May 2008 09:28 GMT | 2 |
I am serialiizing a c# object to an XML file to save some application settings. The idea is to ship this xml file along with the application and deserialize after the application is installalled to use it as a default settings file. Works fine on machines having the same culture
|
| Linking to datagrids together | 16 May 2008 09:09 GMT | 1 |
How do i make it so that each time i select a different row in my datagradview i want the data in my other to change accordingly.For example, i will have invoices in the one grid and purchased items in the other and when i select a invoice i want to bring up all the item
|
| NullReferencException in DLinq lambda method | 16 May 2008 08:39 GMT | 7 |
I tried DLinq code created by Marc and got NRE in ToList() line. Any idea what causes this ? Andrus. Code:
|
| foreach on Collection, List, IList, ICollection, ... | 16 May 2008 08:37 GMT | 5 |
Can I assume that when I loop throw a Collection, List, IList, ICollection, ... by using foreach, I first get the element of index 0, then index 2, and so on until the last one ? Thanks for your answers,
|
| Reading XML Files | 16 May 2008 05:17 GMT | 2 |
Can someone please advise the best approach for reading in many 5000+ xml files from disk into a data set. Here is the code so far. On my computer (may not be best spec) is takes about 3 minutes to read and load the dataset. It doesn't seem to be the reading of the files as so
|
| One significant figure in C# | 16 May 2008 04:03 GMT | 2 |
I feel a bit ashamed asking this after 6 years of C#, but is there a format string for significant figures before the decimal place? e.g. 2,354,856:
|
| Read MS Access | 16 May 2008 03:51 GMT | 1 |
What is the quickest way to read Microsoft Access Tables? Right now I am using OleDBCommand in C# to read Access but I was wondering if there is a quicker way of reading the contents of Access Tables? Thank you.
|
| What's the @ operator do? | 16 May 2008 02:45 GMT | 3 |
If I see a piece of code like: someobject.stringProperty = @mycontrol.Text; What does the @ do in that case? Is that a clone operator?
|
| When is Winforms Combobox.SelectedValue a string? | 16 May 2008 02:42 GMT | 1 |
Hi, I generally work on web apps, but I am dealing with a Winform right now and may be missing something really basic. I have a combobox and I would like to know what value has been selected.
|