Click here to Skip to main content
15,907,497 members
Home / Discussions / C#
   

C#

 
GeneralDB and GUI coupling Pin
bpgc18-Mar-03 12:18
bpgc18-Mar-03 12:18 
GeneralSystem ShutDown... Pin
Gogou18-Mar-03 10:54
Gogou18-Mar-03 10:54 
GeneralRe: System ShutDown... Pin
Chris Jobson19-Mar-03 10:03
Chris Jobson19-Mar-03 10:03 
GeneralDBConcurrencyException: Delete a entry in master -detail table Pin
DionChen18-Mar-03 10:17
DionChen18-Mar-03 10:17 
QuestionHow to use GetNativeVariantForObject Pin
Preben Rasmussen18-Mar-03 9:49
Preben Rasmussen18-Mar-03 9:49 
QuestionHow to retrieve a value from hidden fields in a dataGrid? Pin
zoltix18-Mar-03 7:49
zoltix18-Mar-03 7:49 
AnswerRe: How to retrieve a value from hidden fields in a dataGrid? Pin
zoltix18-Mar-03 7:51
zoltix18-Mar-03 7:51 
Questioncustom editors in property grid?? Pin
LongRange.Shooter18-Mar-03 7:00
LongRange.Shooter18-Mar-03 7:00 
AnswerRe: custom editors in property grid?? Pin
leppie18-Mar-03 9:36
leppie18-Mar-03 9:36 
GeneralRe: custom editors in property grid?? Pin
LongRange.Shooter18-Mar-03 10:31
LongRange.Shooter18-Mar-03 10:31 
GeneralRe: custom editors in property grid?? Pin
LongRange.Shooter19-Mar-03 5:39
LongRange.Shooter19-Mar-03 5:39 
GeneralRe: custom editors in property grid?? Pin
LongRange.Shooter19-Mar-03 5:53
LongRange.Shooter19-Mar-03 5:53 
QuestionDeal with DateTime like a taskmanager would do it? Pin
Chris Richner18-Mar-03 3:18
Chris Richner18-Mar-03 3:18 
AnswerRe: Deal with DateTime like a taskmanager would do it? Pin
Stephane Rodriguez.18-Mar-03 3:29
Stephane Rodriguez.18-Mar-03 3:29 
GeneralRe: Deal with DateTime like a taskmanager would do it? Pin
Chris Richner18-Mar-03 3:48
Chris Richner18-Mar-03 3:48 
AnswerRe: Deal with DateTime like a taskmanager would do it? Pin
leppie18-Mar-03 9:42
leppie18-Mar-03 9:42 
QuestionGenerate an xml file with StringWriter(UTF-8) ?? Pin
zoltix17-Mar-03 23:39
zoltix17-Mar-03 23:39 
AnswerRe: Generate an xml file with StringWriter(UTF-8) ?? Pin
Stephane Rodriguez.18-Mar-03 1:17
Stephane Rodriguez.18-Mar-03 1:17 
using System.IO;
using System.Xml;

MemoryStream ms = new MemoryStream(); 
XmlTextWriter tw = new XmlTextWriter(ms,new System.Text.UTF8Encoding()); 

// -- your xml stuff begins here --
tw.WriteStartDocument();
tw.WriteStartElement("...");
tw.WriteEndElement();
tw.WriteEndDocument();
tw.Flush();
tw.Close(); 
// -- your xml stuff ends here

// convert byte[] to String
String s = System.Text.Encoding.UTF8.GetString( ms.GetBuffer() );
MessageBox.Show( s );

GeneralRe: Generate an xml file with StringWriter(UTF-8) ?? Pin
zoltix18-Mar-03 3:09
zoltix18-Mar-03 3:09 
GeneralRe: Generate an xml file with StringWriter(UTF-8) ?? Pin
Stephane Rodriguez.18-Mar-03 3:14
Stephane Rodriguez.18-Mar-03 3:14 
GeneralRe: Generate an xml file with StringWriter(UTF-8) ?? Pin
zoltix18-Mar-03 4:01
zoltix18-Mar-03 4:01 
Questionfriend classes? Pin
Alexandru Savescu17-Mar-03 21:43
Alexandru Savescu17-Mar-03 21:43 
AnswerRe: friend classes? Pin
Wolfgang Loder18-Mar-03 1:22
Wolfgang Loder18-Mar-03 1:22 
GeneralRe: friend classes? Pin
Alexandru Savescu18-Mar-03 2:01
Alexandru Savescu18-Mar-03 2:01 
GeneralPreventing some events from being occured Pin
Meysam Mahfouzi17-Mar-03 21:07
Meysam Mahfouzi17-Mar-03 21:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.