Groups | Blog | Home


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# > june 2007 > threads for saturday june 16

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

Panels with titles in their borders?
Posted by Brandon McCombs at 6/16/2007 7:37:15 PM
Hello, Coming from a Java background I'm used to not having to add extra labels to my windows to inform the user of a group of settings. I can simply set a raised border to a panel and also put some text in the border so the panel basically has a title. Is this possible with C#? Using VS ....more >>


XmlDocument, close and dispose
Posted by Mark Rae at 6/16/2007 5:33:46 PM
Hi, Can someone settle an argument, please... Since the XmlDocument class has neither a .Close() method nor does it implement IDisposable, is there any point in even setting it to null...? E.g. XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("<filespec>"); // retrieve an XmlNode o...more >>

FileUpload control unable to write to network drives
Posted by Raymond Du at 6/16/2007 4:13:21 PM
Hi, I try to use ASP.Net 2.0 FileUpload control to upload files. The page is working fine when I upload files and save them into my local computer, but fails when the files are to be saved to a network drive. I believe this is permission issue, the account on my local computer does not...more >>

Is there a way to convert a string representation of a type name into a Type object?
Posted by Deckarep at 6/16/2007 2:59:07 PM
I want to be able to pass in a function a string say: "TextBox" Then I need a way to convert that string representation into a Type object so i can search through some controls and check their type. Then I can do my check: If ( control is type) { //continue } I'm doing this inside of a ...more >>

build article & News Manager
Posted by milton at 6/16/2007 10:48:39 AM
Hi I need help on how to build an article & news manager. ...more >>

excel sheet ranges
Posted by GS at 6/16/2007 10:05:44 AM
what is the names of last cell that I can access by Control End key actually I want to get the range for A12 and the last data cell ...more >>

DataGrid updates in Windows Forms - Am I going crazy?
Posted by Logician at 6/16/2007 9:57:52 AM
I am trying to just load a datagrid and save the changes. I have googled and sweated over this, and thanks to Microsoft I have much pain. Can anyone help? I am populating the DataGrid with NP, using DataSet thisDS = getDS(thisDBName); // returns dataset based on an SQL query DataGrid1.SetD...more >>

Difference between FileSystemEventHandler(OnChanged) and Onchanged
Posted by Andrus at 6/16/2007 12:06:04 AM
What is the difference between watch.Changed += new FileSystemEventHandler(OnChanged); and watch.Changed += OnChanged; ? Which form should I use ? Andrus. void WaitAndSaveFile(string file) { using (FileSystemWatcher watch = new FileSystemWatcher()) { watch.Path = Ap...more >>



Tie one grid to another (master/detail)
Posted by Gina_Marano at 6/16/2007 12:03:26 AM
Hey All, Working with the .Net data has been the hardest part of my transition. It just doesn't seem very intuitive. I want to have a master/detail relationship between 2 grids. When the user navigates grid 1, only the details for that record appear in grid 2. How? I created a datasourc...more >>

FileSystemWatcher does not raise events
Posted by Andrus at 6/16/2007 12:02:51 AM
To reporoduce, run the code. Observed: Form is shown Expected: message box should displayed. How to fix ? Andrus. using System; using System.Windows.Forms; using System.IO; class main { [STAThreadAttribute()] public static void Main() { File.Delete("c:\\test"); using (Fil...more >>

XmlDocument and utf-8
Posted by MaxMax at 6/16/2007 12:00:00 AM
A question: all the XML files I've seen use this declaration: <?xml version="1.0" encoding="UTF-8"?> BUT files created using XmlDocument have: <?xml version="1.0" encoding="utf-8"?> (you see? lowercase UTF) I've even tried "manually correcting" the utf to UTF with notepad and then o...more >>

table control
Posted by adrin at 6/16/2007 12:00:00 AM
hello, i am a c# newbie, and i'm writing an application that requires to show some numerical data in a table(it is a distance matrix). i wonder if there is any component that serves such purpose... ? i would like it to be editable, able to store integers or strings and not bloated :-) thanks...more >>


DevelopmentNow Blog