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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|