Click here to Skip to main content
15,909,827 members
Home / Discussions / C#
   

C#

 
QuestionData validation in c# and SQL server 2000 Pin
phokojoe4-Jan-07 21:31
phokojoe4-Jan-07 21:31 
AnswerRe: Data validation in c# and SQL server 2000 Pin
Russell Jones4-Jan-07 22:13
Russell Jones4-Jan-07 22:13 
GeneralRe: Data validation in c# and SQL server 2000 Pin
phokojoe4-Jan-07 23:08
phokojoe4-Jan-07 23:08 
GeneralRe: Data validation in c# and SQL server 2000 Pin
Russell Jones5-Jan-07 0:31
Russell Jones5-Jan-07 0:31 
GeneralRe: Data validation in c# and SQL server 2000 Pin
phokojoe5-Jan-07 1:33
phokojoe5-Jan-07 1:33 
QuestionLimitation of FSWatcher & Windows Service Pin
Fayyaz Lodhi4-Jan-07 21:23
Fayyaz Lodhi4-Jan-07 21:23 
Questionxml reading/editing/writing Pin
divakarjmc104-Jan-07 19:37
divakarjmc104-Jan-07 19:37 
AnswerRe: xml reading/editing/writing Pin
sajid.salim.khan4-Jan-07 20:11
sajid.salim.khan4-Jan-07 20:11 
Hi Plz use the below code for loading the file
doc.Load("E:\\C#\\ongoing project\\Chapter 21\\BellRingers.xml");

place your editing code here such as attribute editing value retrieving for example
private string getTowerName(XmlTextReader reader)
{
if (!reader.Name.Equals("tower"))
{
throw new Exception("Wrong type of data - expected a bell tower");
}
reader.MoveToAttribute(0); // Should be the tower name
return reader.Value;
}
and the below will then save the file

XmlTextWriter tr = new XmlTextWriter("E:\\C#\\ongoing project\\Chapter 21\\anewBellRingers.xml", null);
tr.Formatting = Formatting.Indented;
doc.WriteContentTo(tr);
tr.Close();

SAS Rose | [Rose]
AnswerRe: xml reading/editing/writing Pin
Mircea Puiu4-Jan-07 20:43
Mircea Puiu4-Jan-07 20:43 
QuestionHow to Make EXE Pin
sajid.salim.khan4-Jan-07 19:07
sajid.salim.khan4-Jan-07 19:07 
GeneralRe: How to Make EXE Pin
Tyler454-Jan-07 19:31
Tyler454-Jan-07 19:31 
GeneralBut Sir Pin
sajid.salim.khan4-Jan-07 20:17
sajid.salim.khan4-Jan-07 20:17 
AnswerRe: But Sir Pin
Tyler454-Jan-07 20:28
Tyler454-Jan-07 20:28 
GeneralRe: But Sir Pin
sajid.salim.khan4-Jan-07 20:38
sajid.salim.khan4-Jan-07 20:38 
AnswerRe: But Sir Pin
Tyler454-Jan-07 20:58
Tyler454-Jan-07 20:58 
GeneralRe: But Sir Pin
JacquesDP4-Jan-07 20:34
JacquesDP4-Jan-07 20:34 
AnswerRe: How to Make EXE Pin
Mircea Puiu4-Jan-07 21:05
Mircea Puiu4-Jan-07 21:05 
AnswerRe: How to Make EXE Pin
Christian Graus4-Jan-07 23:58
protectorChristian Graus4-Jan-07 23:58 
AnswerRe: How to Make EXE Pin
TrooperIronMan5-Jan-07 5:34
TrooperIronMan5-Jan-07 5:34 
AnswerRe: How to Make EXE Pin
Tyler455-Jan-07 12:14
Tyler455-Jan-07 12:14 
QuestionDateTime.CompareTo() runtime miss Pin
swjam4-Jan-07 18:17
swjam4-Jan-07 18:17 
AnswerRe: DateTime.CompareTo() runtime miss Pin
Christian Graus4-Jan-07 18:32
protectorChristian Graus4-Jan-07 18:32 
AnswerRe: DateTime.CompareTo() runtime miss Pin
Phillip M. Hoff4-Jan-07 18:41
Phillip M. Hoff4-Jan-07 18:41 
AnswerRe: DateTime.CompareTo() runtime miss Pin
Russell Jones4-Jan-07 21:56
Russell Jones4-Jan-07 21:56 
QuestionCPU Usage in % Pin
Praveen Raghuvanshi4-Jan-07 17:14
professionalPraveen Raghuvanshi4-Jan-07 17:14 

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.