Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008


all groups > c# > august 2004 > threads for sunday august 1

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

newbie: trouble with DataGridTextBoxColumn
Posted by Jeff at 8/1/2004 11:58:53 PM
IDE: Visual Studio 2003 .NET OS: XP Pro SqlCommand cmd = sqlCon.CreateCommand(); cmd.CommandType = CommandType.Text; cmd.CommandText = "select OrderID from Orders"; SqlDataAdapter adapter = new SqlDataAdapter(cmd); adapter.SelectCommand = cmd; DataSet dsResult = new DataSet(); adapter....more >>

Getting an ascii value from a byte
Posted by James Dean at 8/1/2004 11:32:24 PM
i want to be able to get the correct ascii value from a byte without having to use the Convert.ToChar function as a char takes up two bytes of space and it is affecting the performance of my program. I know that for example the char value 'R' is '82' in byte form. What i want is to be able to tr...more >>

JET.OLEDB.4.0
Posted by [Yosi] at 8/1/2004 11:23:02 PM
How to solve the following error message : "The 'Microsoft.JET.OLEDB.4.0' provider not registerd on the local machine"...more >>

Won't compile: using IEnumerable<T> = System.Collections.Generic.IEnumerable<T>;
Posted by doug.dew NO[at]SPAM gmail.com at 8/1/2004 9:04:23 PM
This won't compile: using IEnumerable<T> = System.Collections.Generic.IEnumerable<T>; namespace MyNamespace { public class MyClass<T> : IEnumerable<T> { // Appropriate stuff here } } Is this by design? In other words, when using the classes and interfaces of the S...more >>

pass string between two programs
Posted by equip200 at 8/1/2004 8:31:02 PM
i would like some assistance on how to pass data or string from one vb program to another c# program. can this be done with vbscript code to send data to the c# program? Thanks...more >>

Set html field value
Posted by GM at 8/1/2004 7:57:02 PM
You can Request.Querystring to get an html field value, how can you set the value from a webform? thanks, ...more >>

Copy File
Posted by HK guy at 8/1/2004 6:07:01 PM
Instead of using process.start to open a cmd to copy a file from one dir to other dir, any other function can do this in the c#. thank you...more >>

display html from a database field
Posted by GM at 8/1/2004 5:13:01 PM
how can I display on a page or textfield html text and formating stored in a database field? thanks, ...more >>



Sharing a common CS file throughout Multiple Projects?
Posted by Harry Whitehouse at 8/1/2004 5:01:20 PM
I'm developing a small class which will be used in a number of distinct C# projects. This small class is undergoing constant change/refinement as I try to employ it in the different projects. I'm trying to maintain a *single* copy of the CS file that can be used in the multiple .NET projects...more >>

Another question about XML Serialize
Posted by dominicsmith501 NO[at]SPAM hotmail.com at 8/1/2004 4:43:30 PM
I have a list of objects, but those objects also reference each other. For example each object has a child list which might contains zero or more refs to othe object in the list (there are various other relationships, it isn't a trict hierarchy). How do you normally encode this sort of thing i...more >>

XML Serialize question
Posted by dominicsmith501 NO[at]SPAM hotmail.com at 8/1/2004 4:30:25 PM
I am using XmlSerializer to serialize my object. The object has various public members which are object references. This all works fine. However, one member (mShape) is declared as a reference to an abstract base class, IShape. The member actually references a concrete subclass such as Square...more >>

Reflection Question: Determining and invoking a Control's event handlers
Posted by Ben Fidge at 8/1/2004 4:07:35 PM
Hi Is it possible, using Reflection, to determine at runtime the method(s) that are provided as handler for a given controls events? Also, once discovered, is it possible to manually invoke these methods? For example, suppose I have a ImageButton on a webform that has an on click handler ...more >>

NonSerialized attribute and events
Posted by Neil Norfolk at 8/1/2004 2:57:03 PM
I am using C# in Visual Studio 2003. I would like to serialize a class that contains, amongst other things, public delegate void DocumentsPreferencesChange(object env, Documents e); public event DocumentsPreferencesChange OnDocumentsPreferencesChange; However, as it stands, the classes ...more >>

Project dependency bug in .Net Studio?
Posted by Non Given at 8/1/2004 2:19:53 PM
I discovered a strange bug(?) in a .Net Studio solution. I have a solution with about 10 projects inside it. Many of these projects reference other projects in the solution. So far, so good. After making some changes, trying to track down a bug, I noticed that my changes didn't seem to be ...more >>

How can I reference a Windows Form
Posted by ozcankanbur NO[at]SPAM yahoo.com at 8/1/2004 12:33:32 PM
How can I reference a Windows Form In details; I created two Form (frm1,frm2) I want to reach frm1 controls from frm2 in runtime. So I have to reference frm1 by the way there is no mdi form is it possible? any idea thanks...more >>

Serialization and text formatting
Posted by Chuck Bowling at 8/1/2004 12:29:57 PM
Up front, i'm not very good with serialization and i'm not quite sure what capabilities it has. I have an app that outputs a text file with this format: <root> \t <node1> \t\t text... \t <\node1> \t <node2> \t\t text... \t <\node2> </root> The tags and text for node1 and 2 are gener...more >>

XML Schema Validation using DOM
Posted by kurotsuke at 8/1/2004 10:39:46 AM
I'm using DOM to read an XML file. How can I do validation without reading the xml file twice? Thanks....more >>

Set Accessor best practices question
Posted by Robert Zurer at 8/1/2004 8:21:36 AM
If I have only a simple assignment in a set accessor which is more perfomant? public DateTime StartTime { get{return startTime;} set { if(startTime!= value) { startTime= value; } } } OR public DateTime StartTime { get{return startTime;} set{startTi...more >>

Display .HLP help file
Posted by xzzy at 8/1/2004 4:45:38 AM
How is a .HLP help file displayed from a C# winforms application? Thank you, John Bickmore ...more >>

Passing a Null to Web Method
Posted by J. L. Goddard at 8/1/2004 3:49:35 AM
1) Do c# web methods support default parameters ? 2) Can a web method, or a c# method such as: public nullTest( int i ) { return i++; } Can the web service consumer pass in a value of nullTest(null) ? 3) What if the web service is passing in a series of records where som...more >>

Retrieve text from a text
Posted by Maya at 8/1/2004 3:11:31 AM
Hello Everybody, I have an application that receives a text in this format: Received from john [227.27.34.12] by server.com with ESMTP (SMTPD32-8.05) id AD5258A0142; Sun, 01 Aug 2004 02:54:26 +0100 From: "John smith" To: "maya" Subject: Test message Date: Sun, 1 Aug 2004 03:00:43 +0100 MIME-...more >>

ComboBox in a Datagrid
Posted by mjpiedade at 8/1/2004 12:21:21 AM
Hi, I am using a combobox in a datagrid to display/selection of the product code. However, as I have other columns on my datagrid that are related with the Product Code, I would like to be able to change those columns (that are typical textboxes) when the SelectedIndexChanged event is raised....more >>

BackOffice
Posted by David at 8/1/2004 12:04:16 AM
Where is any newgroups about MS BackOffice? ...more >>


DevelopmentNow Blog