Re: Automatize layout of applications
From: DalePres (don-t-spa-m-me_at_lea-ve-me-a-lone--.com)
Date: 03/08/05
- Next message: Fox: "Re: Read data from dataSet"
- Previous message: DalePres: "Re: ListBox with collection"
- In reply to: Josema: "Automatize layout of applications"
- Next in thread: Josema: "Re: Automatize layout of applications"
- Reply: Josema: "Re: Automatize layout of applications"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Mar 2005 21:43:42 -0600
You can use OLEDB to connect to your spreadsheet and fill a DataSet or
DataTable then use the DataSet or DataTable as the DataSource for a DataGrid
control.
Alternatively, you could create a Web Custom Control with appropriate nested
loops to extract your data regardless of how many columns there are.
Do you have some samples of what you are doing now?
I know this isn't much, but you haven't given us much to work with on what
you are doing up to now.
HTH
DalePres
MCAD, MCDBA, MCSE
"Josema" <Jestrade@ocu.org> wrote in message
news:F299BD9F-6211-44F1-B8C3-8EA0C52BD339@microsoft.com...
> Hi,
>
> I have a web application, that takes from excel a range of rows and
> columns...
>
> The method that gets the data in the ranges returns an Array of two
> dimensions with the data...
>
> Then i render the data in the browser for instance using html tables....
>
> My problem its that:
>
> In my company we have to do a lot of applications of this type (with
> excel),
> and i would like to automatize the resulting layout, cause i allways
> obtain
> an array of two dimensions (sometimes biger, sometimes smaller) to render
> after....
>
> Usually im using a StringBuilder to append into the c# code the html, but
> i
> dont like this solution cause if i have to modify the layout, i have to
> open
> the code, recompile, and then put it on-line again...
>
> I thought that xml maybe its a good solution. But really i dont know.
>
> Could you give some advices about the way to do this?
>
> --
> Thanks
> Regards.
> Josema
- Next message: Fox: "Re: Read data from dataSet"
- Previous message: DalePres: "Re: ListBox with collection"
- In reply to: Josema: "Automatize layout of applications"
- Next in thread: Josema: "Re: Automatize layout of applications"
- Reply: Josema: "Re: Automatize layout of applications"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|