Saturday, March 31, 2012
Table to Excel
coloring and everthing just the way that I want it, is there some "magical"
way to easily translate this into an excel spreadsheet?
I see Excel will take a HTML file in, but when I tried to create a sample
of this but it did not correctly interperet my background color, but did
interpret my text color, which was bad because nothing displayed as they wer
e
both the same color.
I need to maintain colors, borders, shading, bolding. Do I need to create
the sheet cell by cell in code?Jim Heavey wrote:
> If I have built a nice pretty HTML table which has all the shading and
> coloring and everthing just the way that I want it, is there some "magical
"
> way to easily translate this into an excel spreadsheet?
> I see Excel will take a HTML file in, but when I tried to create a sample
> of this but it did not correctly interperet my background color, but did
> interpret my text color, which was bad because nothing displayed as they w
ere
> both the same color.
> I need to maintain colors, borders, shading, bolding. Do I need to create
> the sheet cell by cell in code?
I'd open the table up in IE, copy the table to the clipboard and then
try pasting it into excel. I'm pretty sure doing that works with
microsoft word, but I've never tried it with Excel.
Helen
Thursday, March 22, 2012
taking a table out of a page and emailing it
statistics and displayed it on the screen in a Datagrid, and take the table
(datagrid) and put it into an email and send it from that page?
I would also like to read part of a page and print it directly to the
printer.
Thanks,
TomIf you move the logic to a user control, it's a pretty simple thing to do:
http://openmymind.net/FAQ.aspx?documentId=45
Karl
http://www.openmymind.net/
"tshad" <tfs@.dslextreme.com> wrote in message
news:eF2IqikeGHA.1320@.TK2MSFTNGP04.phx.gbl...
> Is there a way to read the current Asp.net page where I may have built
> some
> statistics and displayed it on the screen in a Datagrid, and take the
> table
> (datagrid) and put it into an email and send it from that page?
> I would also like to read part of a page and print it directly to the
> printer.
> Thanks,
> Tom
>
"Karl Seguin [MVP]" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:e3U%23HTneGHA.2172@.TK2MSFTNGP04.phx.gbl...
> If you move the logic to a user control, it's a pretty simple thing to do:
> http://openmymind.net/FAQ.aspx?documentId=45
Not quite sure if that would do what I am trying to do or not.
There was a way to do this I found a long time ago that allowed me to grab
part of my page and put it into my email to send out, but I can't seem to
find that anymore.
Thanks,
Tom
> Karl
> --
> http://www.openmymind.net/
>
> "tshad" <tfs@.dslextreme.com> wrote in message
> news:eF2IqikeGHA.1320@.TK2MSFTNGP04.phx.gbl...
>
taking a table out of a page and emailing it
statistics and displayed it on the screen in a Datagrid, and take the table
(datagrid) and put it into an email and send it from that page?
I would also like to read part of a page and print it directly to the
printer.
Thanks,
TomIf you move the logic to a user control, it's a pretty simple thing to do:
http://openmymind.net/FAQ.aspx?documentId=45
Karl
--
http://www.openmymind.net/
"tshad" <tfs@.dslextreme.com> wrote in message
news:eF2IqikeGHA.1320@.TK2MSFTNGP04.phx.gbl...
> Is there a way to read the current Asp.net page where I may have built
> some
> statistics and displayed it on the screen in a Datagrid, and take the
> table
> (datagrid) and put it into an email and send it from that page?
> I would also like to read part of a page and print it directly to the
> printer.
> Thanks,
> Tom
"Karl Seguin [MVP]" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:e3U%23HTneGHA.2172@.TK2MSFTNGP04.phx.gbl...
> If you move the logic to a user control, it's a pretty simple thing to do:
> http://openmymind.net/FAQ.aspx?documentId=45
Not quite sure if that would do what I am trying to do or not.
There was a way to do this I found a long time ago that allowed me to grab
part of my page and put it into my email to send out, but I can't seem to
find that anymore.
Thanks,
Tom
> Karl
> --
> http://www.openmymind.net/
>
> "tshad" <tfs@.dslextreme.com> wrote in message
> news:eF2IqikeGHA.1320@.TK2MSFTNGP04.phx.gbl...
>> Is there a way to read the current Asp.net page where I may have built
>> some
>> statistics and displayed it on the screen in a Datagrid, and take the
>> table
>> (datagrid) and put it into an email and send it from that page?
>>
>> I would also like to read part of a page and print it directly to the
>> printer.
>>
>> Thanks,
>>
>> Tom
>>
>>
Tuesday, March 13, 2012
Tapestry-like Page Framework?
Is there any tapestry-like page framework built on ASP.NET?
I want to be able to write simple page like this:
<html>
..
<body>
Hello, <span insert="User.Name">TestName</span>!
<table>
<tr iterateOver="ProductCollection" itemVariable="product">
<td insert="product.Name">TestProduct</td>
<td insert="product.Price">$1000</td>
<td><input type="checkbox" bind="product.Ordered"/></td>
</tr>
</table>
</body>
</html>
The UI controls are used implicitly, decided by their attributes rather
than the tag name, and their data binds to speficied objects directly
(i.e. there should be nothing like TextBox.Text). And web designers can
edit & preview the page in WYSIWYG editors without any problem, since
it's just plain HTML.Aquila Deus wrote:
> Hi all!
> Is there any tapestry-like page framework built on ASP.NET?
> I want to be able to write simple page like this:
>
Ummm I just make a more complete sample
http://www.aqd.ath.cx/code-public/sketch/Simple.html
I guess nobody is doing this for .NET... I'll probably need to write it
myself :)
Tapestry-like Page Framework?
Is there any tapestry-like page framework built on ASP.NET?
I want to be able to write simple page like this:
<html>
...
<body>
Hello, <span insert="User.Name">TestName</span>!
<table>
<tr iterateOver="ProductCollection" itemVariable="product">
<td insert="product.Name">TestProduct</td>
<td insert="product.Price">$1000</td>
<td><input type="checkbox" bind="product.Ordered"/></td>
</tr>
</table
</body>
</html
The UI controls are used implicitly, decided by their attributes rather
than the tag name, and their data binds to speficied objects directly
(i.e. there should be nothing like TextBox.Text). And web designers can
edit & preview the page in WYSIWYG editors without any problem, since
it's just plain HTML.Aquila Deus wrote:
> Hi all!
> Is there any tapestry-like page framework built on ASP.NET?
> I want to be able to write simple page like this:
Ummm I just make a more complete sample
http://www.aqd.ath.cx/code-public/sketch/Simple.html
I guess nobody is doing this for .NET... I'll probably need to write it
myself :)