PC Review


Reply
Thread Tools Rate Thread

change xml schema

 
 
WStoreyII
Guest
Posts: n/a
 
      30th Mar 2004
ok so i figured out how to load an excell file in to a dataset

but i need to be able to save this file in the same format as the table that
i have created in memory how is this done ?

WStoryeII


 
Reply With Quote
 
 
 
 
Cor
Guest
Posts: n/a
 
      30th Mar 2004
Hi WStorey,

I think only by looping through it

Not to difficult when you know that this is almost a generic routine roughly
as pseudo

\\\
for i as integer = 0 to myexcelDS.tables(0).rows.count - 1
dim dr as datarow = dsmem.tables(0).newrow
dr("myfirstfield") = myexcelds.tables(0).rows(i)(0)
dr...............
dsmem.tables(0).rows.add(dr)
next
///

I hope this helps?

Cor


 
Reply With Quote
 
Cor
Guest
Posts: n/a
 
      30th Mar 2004
Hi WStorey,

There was asked it your last problem if it was that Excel 9. I was also
thinking that that could be the problem, will you please answer that kind of
questions?

Otherwise answering you has no sense, sometimes the one who answers, want to
learn also from the problems you know?.

Cor


 
Reply With Quote
 
WStoreyII
Guest
Posts: n/a
 
      30th Mar 2004
yes it worked i am sorry about that i just have been frustreated trying to
fix this and i forgot to reply

thank youmuch
wstoreyII

"Cor" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi WStorey,
>
> There wa

s asked it your last problem if it was that Excel 9. I was also
> thinking that that could be the problem, will you please answer that kind

of
> questions?
>
> Otherwise answering you has no sense, sometimes the one who answers, want

to
> learn also from the problems you know?.
>
> Cor
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
schema change Blake Microsoft Windows 2000 Active Directory 4 11th Aug 2005 09:56 PM
Change XML schema from ado 2.6 to ado 2.7 wgarcia21@hotmail.com Microsoft ADO .NET 0 30th Aug 2004 03:35 PM
Re: schema change using ADPREP Matjaz Ladava [MVP] Microsoft Windows 2000 Active Directory 5 5th Aug 2003 09:59 PM
How to change authorization schema/PAM Krzysztof Microsoft Windows 2000 Security 0 24th Jul 2003 02:31 PM
cannot change schema master role Neil Ruston Microsoft Windows 2000 Active Directory 1 17th Jul 2003 04:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:36 AM.