| Thread | Last Post | Replies |
|
| Sort DataTable | 29 Mar 2006 17:57 GMT | 6 |
I have UPC and ItemNo as columns in my DataTable dt. How do I sort the columns in my method prior to return dt; I tried the following but it doesn't seem to work. dt.DefaultView.Sort = "UPC ASC";
|
| C# 24 hour time? | 29 Mar 2006 17:54 GMT | 6 |
I am trying to use tostring to convert to a 24 hour time format, but am getting the error "No Overload for Method 'ToString'takes '1' arguments". The following is what I have and it seems that this should function:
|
| best databind way for a simple c# app and sql express. | 29 Mar 2006 17:31 GMT | 2 |
I have a small app. it's one form. it's has a number of controls. So far i've managed to create a new database in the product. An SQL
|
| How to get a sinlge value from a dataview? | 29 Mar 2006 17:25 GMT | 5 |
I'm a bit new to C# and .NET and I'm struggling to find the right syntax for my problem. I am trying to figure out how to get a single value from a view? Row 0, Column 0 (the view has only one result anyway). I know how to get this from
|
| Too Many Assertions? | 29 Mar 2006 17:17 GMT | 8 |
Regarding the use of assertions: According to Juval Lowy's excellent coding standards document (PDF download available at www.idesign.net), every assumption in your code should have an assertion... and on average, every 5th line is an assertion.
|
| Declaring this API in C#? (C++ example) | 29 Mar 2006 17:07 GMT | 1 |
This is in a file called "UOEncryption.dll" Here is the info that the documentation gives: void Decompress(char *dest, const char *src, int *dest_size, int *src_size, HuffmanObj *obj)
|
| Serializing a string as XML comments | 29 Mar 2006 16:57 GMT | 4 |
Does an attribute exist so that a string is serialized as a XML comment? For example: [XmlAttributeForCommentHere] public string comment = "This is a comment";
|
| dynamically resizing arrays | 29 Mar 2006 16:18 GMT | 4 |
As there is no ReDim in C# , what is the preferred technique for dynmically increasing the size of any array ? Does the answer depend on whether the array holds primitives versus instances of classes ?
|
| Java to C# question - Logging API and processor | 29 Mar 2006 15:58 GMT | 3 |
I m trying to port a a Java app to C# and have two questions. i) In Java there is a java.util.Logging package that can be used to log at different levels. Is there an equivalent in C# ? 2) There is a Runtime.getRuntime.availableProcessors() method that
|
| Converting Object into String... | 29 Mar 2006 15:47 GMT | 3 |
Hai, Can anyone tell how to convert an object into string? Please help me.... urgent.. Thanx in advance...
|
| Regex to extract after final hyphen | 29 Mar 2006 15:43 GMT | 3 |
How to write a Regex that extracts whatever follows the final hyphen in a string ?
|
| Derivable singleton class | 29 Mar 2006 15:42 GMT | 2 |
I'm quite new to C#. I am trying to implement some basics reusable classes using this language and the .NET Framework technology. What I'm trying to do now is to implement a singleton class.
|
| Multitier app | 29 Mar 2006 15:31 GMT | 2 |
I am new to multitier app development. I am working on a windows app that will have business layer and data access layer components. When users log into the client app, it connects to the business layer to get a list of records that it then uses to populate a datagrid. The ...
|
| How to parsing values from class library to Windows form | 29 Mar 2006 15:31 GMT | 2 |
I'm a C# newbie. My application contains several projects. One of project is Windows Form application. Others are a class library. My question is how to parsing messages from project A (class library) to show on a ListBox in project B (Windows Application)? How to make project A
|
| am i using the tag property the right way? please take a look ... | 29 Mar 2006 14:18 GMT | 2 |
I could do with something similiar, can you tell me if you think this would work for me, and if there's any advantage in working with controls this way than how I currently am.
|