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

C#

 
Questioncopy row of one datagrid to another in C# Pin
shafiullah12318-Feb-09 20:30
shafiullah12318-Feb-09 20:30 
AnswerRe: copy row of one datagrid to another in C# Pin
Mycroft Holmes18-Feb-09 21:25
professionalMycroft Holmes18-Feb-09 21:25 
GeneralRe: copy row of one datagrid to another in C# Pin
Ramkithepower19-Feb-09 1:42
Ramkithepower19-Feb-09 1:42 
QuestionProblem with XMLDocument class Pin
Member 607418-Feb-09 19:59
Member 607418-Feb-09 19:59 
AnswerRe: Problem with XMLDocument class Pin
PIEBALDconsult19-Feb-09 7:38
mvePIEBALDconsult19-Feb-09 7:38 
GeneralRe: Problem with XMLDocument class [modified] Pin
Member 607422-Feb-09 23:26
Member 607422-Feb-09 23:26 
GeneralRe: Problem with XMLDocument class Pin
PIEBALDconsult23-Feb-09 3:48
mvePIEBALDconsult23-Feb-09 3:48 
QuestionRe: Problem with XMLDocument class Pin
Member 607423-Feb-09 18:50
Member 607423-Feb-09 18:50 
Suppose i have xml file Test1(This is not created using dotnet parser) which contains the following.

"<Properties>
<Comment>
This is a test for the new block.&#xd;
It should all be written on separate lines of text.&#xd;
Using import from the client sometimes&#xd;
will give you a double lined in new block.&#xd;
</Comment>
</Properties>"


Now i am importing this file using my GUI.My GUI uses C# XMLDocument to parse file(Test1) and imports it into new dir (say NewDir).When i open this file from the NewDir the contents are as shown bellow.

"<Properties>
<Comment>
This is a test of the new block.
It should all be written on separate lines of text.
Using import from the client sometimes
will give you a double lined in new block.
</Comment>
</Properties>"

If u see the "&#xd;" is missing at the end of the each line.This is causing the problem.When the text under the comment tag is shown in our control a new line is added between the lines.

if the file contents of the file in NewDir is same as Test1.It is working fine.

Is there a way to get the contents exactly same as in the contents of Test1 using the XMLDocument class.

Please let me know if more clarification is required.
Questioni'm trying on accessing the usb port Pin
prasadbuddhika18-Feb-09 19:47
prasadbuddhika18-Feb-09 19:47 
AnswerRe: i'm trying on accessing the usb port Pin
Mycroft Holmes18-Feb-09 21:28
professionalMycroft Holmes18-Feb-09 21:28 
AnswerRe: i'm trying on accessing the usb port Pin
Giorgi Dalakishvili18-Feb-09 21:33
mentorGiorgi Dalakishvili18-Feb-09 21:33 
AnswerRe: i'm trying on accessing the usb port Pin
Dave Kreskowiak19-Feb-09 4:42
mveDave Kreskowiak19-Feb-09 4:42 
QuestionHello sir Pin
oviyaa18-Feb-09 19:12
oviyaa18-Feb-09 19:12 
AnswerRe: Hello sir Pin
Ashfield18-Feb-09 20:55
Ashfield18-Feb-09 20:55 
QuestionRenaming Projects Pin
See_Sharp18-Feb-09 19:07
See_Sharp18-Feb-09 19:07 
AnswerRe: Renaming Projects Pin
ABitSmart18-Feb-09 20:20
ABitSmart18-Feb-09 20:20 
GeneralRe: Renaming Projects Pin
See_Sharp19-Feb-09 5:23
See_Sharp19-Feb-09 5:23 
AnswerRe: Renaming Projects Pin
Mycroft Holmes18-Feb-09 21:31
professionalMycroft Holmes18-Feb-09 21:31 
QuestionAdding Localization support in application Pin
sumit703418-Feb-09 19:04
sumit703418-Feb-09 19:04 
AnswerRe: Adding Localization support in application Pin
N a v a n e e t h18-Feb-09 19:43
N a v a n e e t h18-Feb-09 19:43 
QuestionRe:Image Buttons on my webApplication in C# Pin
raju000318-Feb-09 16:43
raju000318-Feb-09 16:43 
AnswerRe:Image Buttons on my webApplication in C# Pin
Dewald18-Feb-09 23:10
Dewald18-Feb-09 23:10 
QuestionWindows Shortcuts and .NET Pin
bobert_smallgeek18-Feb-09 15:01
bobert_smallgeek18-Feb-09 15:01 
AnswerRe: Windows Shortcuts and .NET Pin
EliottA18-Feb-09 15:49
EliottA18-Feb-09 15:49 
AnswerRe: Windows Shortcuts and .NET Pin
N a v a n e e t h18-Feb-09 16:13
N a v a n e e t h18-Feb-09 16:13 

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.