Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > how to create datagrid based on XML file

Reply
Thread Tools

how to create datagrid based on XML file

 
 
Ryan.Yeh
Guest
Posts: n/a
 
      07-18-2003
Hi group,

Is anyone have an idea on how to define/ create the datagrid based on the
xml file. For example, a XML file stored the grid columns' name, data type,
and the format string. How can i apply this XML and create the columns as
defined?

regards,


 
Reply With Quote
 
 
 
 
Alvin Bruney
Guest
Posts: n/a
 
      07-18-2003
you would have to create a datagrid, then say getschema and point it at the
xml file. that's it

"Ryan.Yeh" <(E-Mail Removed)> wrote in message
news:OV$(E-Mail Removed)...
> Hi group,
>
> Is anyone have an idea on how to define/ create the datagrid based on

the
> xml file. For example, a XML file stored the grid columns' name, data

type,
> and the format string. How can i apply this XML and create the columns as
> defined?
>
> regards,
>
>



 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      07-19-2003
You could do that using DataSet for example. It has methods to read XML
(data and/or schema).

--
Teemu Keiski
MCP, Designer/Developer
Mansoft tietotekniikka Oy
http://www.mansoft.fi

AspInsiders Member, www.aspinsiders.com
ASP.NET Forums Moderator, www.asp.net
AspAlliance Columnist, www.aspalliance.com

"Ryan.Yeh" <(E-Mail Removed)> wrote in message
news:OV$(E-Mail Removed)...
> Hi group,
>
> Is anyone have an idea on how to define/ create the datagrid based on

the
> xml file. For example, a XML file stored the grid columns' name, data

type,
> and the format string. How can i apply this XML and create the columns as
> defined?
>
> regards,
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Different results parsing a XML file with XML::Simple (XML::Sax vs. XML::Parser) Erik Wasser Perl Misc 5 03-05-2006 10:09 PM
XML schema validation of one xml block based on values from another xml block Andy XML 0 11-18-2004 11:04 PM
Question: Writing text file based TestBenches vs. Waveform file based simulation. BLF VHDL 4 08-07-2004 12:44 AM
ASP XML Support - Generate XML string from FORM DATA based on XML schema Matt ASP General 3 04-23-2004 07:12 PM



Advertisments