Click here to Skip to main content
15,887,854 members
Home / Discussions / C#
   

C#

 
QuestionNo of Users connected in MS-Access Database ? Pin
suleh4-Jul-09 20:50
suleh4-Jul-09 20:50 
Questionquestion about setup Pin
sumanpandey4-Jul-09 20:47
sumanpandey4-Jul-09 20:47 
AnswerRe: question about setup Pin
Manas Bhardwaj4-Jul-09 21:06
professionalManas Bhardwaj4-Jul-09 21:06 
Questionvalidating xml and ignore some elements with out changing schema Pin
shmely4-Jul-09 20:12
shmely4-Jul-09 20:12 
QuestionHow to store & retrieve Paragraph Data using XmlSerializer in XML Pin
Andy Rama4-Jul-09 20:09
Andy Rama4-Jul-09 20:09 
AnswerRe: How to store & retrieve Paragraph Data using XmlSerializer in XML Pin
Christian Graus5-Jul-09 0:22
protectorChristian Graus5-Jul-09 0:22 
GeneralRe: How to store & retrieve Paragraph Data using XmlSerializer in XML Pin
Andy Rama10-Jul-09 9:46
Andy Rama10-Jul-09 9:46 
AnswerRe: How to store & retrieve Paragraph Data using XmlSerializer in XML Pin
Andy Rama19-Jul-09 6:07
Andy Rama19-Jul-09 6:07 
Following is working properly, without taking care of carriage return.
Here I am using XmlTextReader & XmlTextWriter instead of FileStream.

//XML to .NET Object (Reading XML)

using (XmlTextReader xtr = new XmlTextReader(new StreamReader(sXmlPath)))
{
XmlSerializer xserObject = new XmlSerializer(typeof(Child));
objChild = (Child)xserObject.Deserialize(xtr);
//objChild = xserObject.Deserialize(xtr) as Child;
xtr.Close();
}

//.NET Object to XML (Writting XML)

using (XmlTextWriter xtw = new XmlTextWriter(new StreamWriter(sXmlPath)))
{
XmlSerializer xserObject = new XmlSerializer(typeof(Child));
xserObject.Serialize(xtw, objChild);
xtw.Flush();
xtw.Close();
}

Once again thanks for your support.
Questionsearch in datagridview [modified] Pin
ducanhthanhhoa4-Jul-09 18:02
ducanhthanhhoa4-Jul-09 18:02 
AnswerRe: search in datagridview Pin
Manas Bhardwaj4-Jul-09 19:06
professionalManas Bhardwaj4-Jul-09 19:06 
GeneralRe: search in datagridview [modified] Pin
ducanhthanhhoa5-Jul-09 4:51
ducanhthanhhoa5-Jul-09 4:51 
QuestionNeed help to write multiple columns of data from listview row to a single text file record Pin
Robert Bone4-Jul-09 9:58
Robert Bone4-Jul-09 9:58 
AnswerRe: Need help to write multiple columns of data from listview row to a single text file record Pin
Manas Bhardwaj4-Jul-09 10:10
professionalManas Bhardwaj4-Jul-09 10:10 
GeneralRe: Need help to write multiple columns of data from listview row to a single text file record Pin
Robert Bone4-Jul-09 10:27
Robert Bone4-Jul-09 10:27 
GeneralRe: Need help to write multiple columns of data from listview row to a single text file record Pin
DaveyM694-Jul-09 11:54
professionalDaveyM694-Jul-09 11:54 
GeneralRe: Need help to write multiple columns of data from listview row to a single text file record Pin
Luc Pattyn4-Jul-09 12:09
sitebuilderLuc Pattyn4-Jul-09 12:09 
GeneralRe: Need help to write multiple columns of data from listview row to a single text file record Pin
DaveyM694-Jul-09 21:57
professionalDaveyM694-Jul-09 21:57 
GeneralRe: Need help to write multiple columns of data from listview row to a single text file record Pin
Robert Bone4-Jul-09 12:10
Robert Bone4-Jul-09 12:10 
QuestionWrite a save repport on txt file Pin
abbd4-Jul-09 8:31
abbd4-Jul-09 8:31 
AnswerRe: Write a save repport on txt file Pin
Colin Angus Mackay4-Jul-09 8:39
Colin Angus Mackay4-Jul-09 8:39 
AnswerRe: Write a save repport on txt file Pin
Anthony Mushrow4-Jul-09 8:44
professionalAnthony Mushrow4-Jul-09 8:44 
QuestionDrag & Drop problem Pin
ADRENALIN20064-Jul-09 7:27
ADRENALIN20064-Jul-09 7:27 
AnswerRe: Drag & Drop problem Pin
Luc Pattyn4-Jul-09 8:21
sitebuilderLuc Pattyn4-Jul-09 8:21 
GeneralRe: Drag & Drop problem Pin
ADRENALIN20065-Jul-09 5:09
ADRENALIN20065-Jul-09 5:09 
QuestionSplitting string in blocks of 16 Pin
GauravKP4-Jul-09 2:37
professionalGauravKP4-Jul-09 2:37 

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.