| Thread | Last Post | Replies |
|
| Visual Studio .NET 2005 Posters | 13 Sep 2006 20:33 GMT | 2 |
Someone knows if Visual Studio .NET 2005 Posters are available to download ?
|
| Argument '1': cannot convert from 'BaseObject<T>' to 'T' | 13 Sep 2006 20:12 GMT | 2 |
I have this piece of code : public interface IBase<T> where T : BaseObject<T>, IBase<T> {
|
| Determine a control's type using a switch statement | 13 Sep 2006 19:58 GMT | 4 |
I am a VB programmer who is moving out of the shadows and starting to code in C#. I would like to know how to determine a control's type using a swtich statement. In VB i would do something like this: Private Sub TestControl(ByRef PassedControl as Control)
|
| Finding one one string in long list of other strings | 13 Sep 2006 19:43 GMT | 2 |
Using C#/2.0 I'm writing a small "data translator" utility app that reads data out of a MS Access database and inserts it into a SQL Server database. The source db lists a bunch of names of people (the particular table structure is not relevant to this post). We need to identify ...
|
| getting rid of messagebox ding! | 13 Sep 2006 18:50 GMT | 3 |
I am displaying a messagebox using;- MessageBox.Show("blurb", "more blurb", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) it works ok, and when it shows there is a ding sound, how can i get rid of
|
| RangeValidator always false? | 13 Sep 2006 18:44 GMT | 4 |
I have a range validator on my field to make sure it is a double. No matter what I put in the field, it always comes back false. Why? <asp:rangevalidator id="valgMessageMin" runat="server" CssClass="Error" ControlToValidate="txtMessageMin" ErrorMessage="Must be a Number"
|
| Adding rows to gridiew and saving to table? | 13 Sep 2006 18:23 GMT | 1 |
In my web application, I have a gridview that, on load, is populated from a table. During the application, I can add rows to the gridview. How can I add these rows to the actual DB table? How do I know which rows have been added by the user and which were already there (from the
|
| Unhandled Exceptions | 13 Sep 2006 17:14 GMT | 3 |
I've got an application which uses a custom exception handler and to avoid unhandled exceptions I've got a try{}catch (Exception){} block around the main Application.Run(...). Works all good on my machine, whenever something unexpected happens the
|
| How do I create line breaks in a string to be passed to email app? | 13 Sep 2006 17:07 GMT | 6 |
I am trying to start my email app (in this case Eudora) with a programatically generated email. However, Eudora does not seem to recognize any of the ways I have tried to create line breaks. I have tried "\n", "\r\n", and using the StringBuilder AppendLine() method
|
| Activator.CreateInstance error | 13 Sep 2006 16:35 GMT | 5 |
I am having a problem with Activator.CreateInstance. I have the following code Assembly asm = System.Reflection.Assembly.LoadFrom(assembly); if(asm!=null)
|
| string to XmlNode | 13 Sep 2006 16:24 GMT | 3 |
Given a string value representing an Xml-Element. What is the easyiest way to get a XmlNode from it?
|
| Events Disappear | 13 Sep 2006 16:13 GMT | 3 |
As soon as I add a UserControl to the Controls-property of my Form, the Form does not get any MouseEvent or KeyEvent anymore. When there is no UserControl added, the Form does get all the events. How can I make both UserControl and Form get events?
|
| Getting at Service object from remoted object? | 13 Sep 2006 15:56 GMT | 3 |
I have a Windows Service developed in C# .NET. I'm making it a remote server and I can, via an IPC Channel, expose methods and call them from a client. However, I now want my remoted object to be able to invoke a method on my server object and given that the object is built in ...
|
| "Invalid attempt to read when no data is present" | 13 Sep 2006 15:40 GMT | 4 |
If I run the stored proc in the Query Analyzer this works and I get the expected result set back. However when I run it in my application I get a results set of one row but when I try to access the values I get "Invalid attempt to read when no data is present".
|
| ListView sort | 13 Sep 2006 15:24 GMT | 11 |
Does the ListView supports sort? I want to have a up/down arrow/triangle that show it is sorted asc or desc on the column headers when I click the column header. May be I need a third-party components ?
|