Click here to Skip to main content
15,893,401 members
Home / Discussions / C#
   

C#

 
AnswerRe: the Value of the Last ID ... Pin
Tamimi - Code14-Jun-06 3:17
Tamimi - Code14-Jun-06 3:17 
AnswerRe: the Value of the Last ID ... Pin
HawkeyeLonewolf14-Jun-06 6:09
HawkeyeLonewolf14-Jun-06 6:09 
AnswerRe: the Value of the Last ID ... Pin
Guffa14-Jun-06 8:07
Guffa14-Jun-06 8:07 
GeneralRe: the Value of the Last ID ... Pin
mostafa_h14-Jun-06 8:29
mostafa_h14-Jun-06 8:29 
AnswerRe: the Value of the Last ID ... Pin
Guffa14-Jun-06 10:40
Guffa14-Jun-06 10:40 
QuestionInheritance from a form. Pin
HZ_7914-Jun-06 2:53
HZ_7914-Jun-06 2:53 
Questionxml wrapped tags or attributes Pin
fady_sayegh14-Jun-06 2:12
fady_sayegh14-Jun-06 2:12 
Questionxml wrapped tags or attributes Pin
fady_sayegh14-Jun-06 2:09
fady_sayegh14-Jun-06 2:09 
hi to all,

i'm working with xml data. i extract the data from an sql server data base via a stored procedure.
the result of the executed procedure is an XmlTextReader.
i'm trying to copy the content of the into a physical file on the hard disk.
i tried two solution.

first one consist on loading the reader into an XmlDocument and save it to the disk
the second consist on a loop on the reader and creating the xml file manually.

the problem is : when the procedure brings a lot of data,
sometimes i have some tags or attributes
wrapped between two lines.

like this : <mytag first_attrib="1" second_attrib="2" third_attr
="" ib="3">
or <anothertag first_attrib="1" second_attrib="2"><an
othertag="" third_attrib="3" fourth_attrib="4">

you can notice that in the first example the attribute is wrapped on two lines
and in the second case the tag is wrapped on two lines


so when i tried to load the reader into an xmldocument, i got an error message.
and when i tried to loop through the reader, i also got an error when the reader
arrive to the wrapped attribute (third_attrib in my examples)

the question is how can i solve the problem of wrapped tags or attributes ?
does anyone has a solution to my problem ?

best regards and thanks in advance

fady
QuestionRotating a UserControl Pin
DragonFox14-Jun-06 1:32
DragonFox14-Jun-06 1:32 
AnswerRe: Rotating a UserControl Pin
Josh Smith14-Jun-06 3:49
Josh Smith14-Jun-06 3:49 
QuestionExecute a program inside a C# program Pin
heljo13414-Jun-06 1:15
heljo13414-Jun-06 1:15 
AnswerRe: Execute a program inside a C# program Pin
HZ_7914-Jun-06 2:49
HZ_7914-Jun-06 2:49 
AnswerRe: Execute a program inside a C# program Pin
Mr. VB.NET14-Jun-06 5:17
Mr. VB.NET14-Jun-06 5:17 
QuestionUrgent Pin
Parvathivadde14-Jun-06 1:03
Parvathivadde14-Jun-06 1:03 
Questionmonitor network card? Pin
Divyang Mithaiwala14-Jun-06 0:27
Divyang Mithaiwala14-Jun-06 0:27 
AnswerRe: monitor network card? Pin
stancrm14-Jun-06 0:32
stancrm14-Jun-06 0:32 
GeneralRe: monitor network card? Pin
Divyang Mithaiwala14-Jun-06 0:46
Divyang Mithaiwala14-Jun-06 0:46 
GeneralRe: monitor network card? Pin
Mr. VB.NET14-Jun-06 5:18
Mr. VB.NET14-Jun-06 5:18 
GeneralRe: monitor network card? Pin
Divyang Mithaiwala14-Jun-06 18:20
Divyang Mithaiwala14-Jun-06 18:20 
AnswerRe: monitor network card? Pin
leppie14-Jun-06 0:35
leppie14-Jun-06 0:35 
Questionselection of a combo box shows other buttons Pin
danish_bear13-Jun-06 23:53
danish_bear13-Jun-06 23:53 
AnswerRe: selection of a combo box shows other buttons Pin
Rahul.RK14-Jun-06 0:40
Rahul.RK14-Jun-06 0:40 
GeneralRe: selection of a combo box shows other buttons Pin
danish_bear14-Jun-06 1:51
danish_bear14-Jun-06 1:51 
GeneralRe: selection of a combo box shows other buttons Pin
Suamal14-Jun-06 2:25
Suamal14-Jun-06 2:25 
AnswerRe: selection of a combo box shows other buttons Pin
Mike Poz14-Jun-06 18:58
Mike Poz14-Jun-06 18:58 

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.