Hi All,
I am writing a program with Datagrid bind to the dataset.
and the user allow to filter and do a criteria search on that datagrid.
so the Datagrid could be display any type of data anytime.( could be order
information, could be customer information or others - depend of what user
want)
my concern is that once the user sees the type of data in Datagrid, and they
want to export out and convert to HTML format. and save in computer for
reference purpose. what should I do that ?
i am able to convert to Excel, text file so far, but having problem with
HTML.
Could someone able to assist me on that part.
what I want is just simply one click button. then the Internet Explorer will
pop up, and the datagrid data will be shown in a HTML format file in
Internet Explorer. then the user can choose to save or not save the file.
Thank you very much
Regards 12 1973
A DataGrid IS HTML. And cross-posting is bad Netiquette.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
" A-PK" <pi********@hotmail.com> wrote in message
news:uG**************@TK2MSFTNGP10.phx.gbl... Hi All,
I am writing a program with Datagrid bind to the dataset. and the user allow to filter and do a criteria search on that datagrid.
so the Datagrid could be display any type of data anytime.( could be order information, could be customer information or others - depend of what user want)
my concern is that once the user sees the type of data in Datagrid, and
they want to export out and convert to HTML format. and save in computer for reference purpose. what should I do that ?
i am able to convert to Excel, text file so far, but having problem with HTML.
Could someone able to assist me on that part.
what I want is just simply one click button. then the Internet Explorer
will pop up, and the datagrid data will be shown in a HTML format file in Internet Explorer. then the user can choose to save or not save the file.
Thank you very much Regards
A DataGrid IS HTML. And cross-posting is bad Netiquette.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
" A-PK" <pi********@hotmail.com> wrote in message
news:uG**************@TK2MSFTNGP10.phx.gbl... Hi All,
I am writing a program with Datagrid bind to the dataset. and the user allow to filter and do a criteria search on that datagrid.
so the Datagrid could be display any type of data anytime.( could be order information, could be customer information or others - depend of what user want)
my concern is that once the user sees the type of data in Datagrid, and
they want to export out and convert to HTML format. and save in computer for reference purpose. what should I do that ?
i am able to convert to Excel, text file so far, but having problem with HTML.
Could someone able to assist me on that part.
what I want is just simply one click button. then the Internet Explorer
will pop up, and the datagrid data will be shown in a HTML format file in Internet Explorer. then the user can choose to save or not save the file.
Thank you very much Regards
You could encapsulate the datagrid in a span and just copy the contents
of the span to the new window. Ideally I'd recommend having the data in
an XML form and then have stylesheets work with the data in different
formats
HTH
A-PK wrote: Hi All,
I am writing a program with Datagrid bind to the dataset. and the user allow to filter and do a criteria search on that datagrid.
so the Datagrid could be display any type of data anytime.( could be order information, could be customer information or others - depend of what user want)
my concern is that once the user sees the type of data in Datagrid, and they want to export out and convert to HTML format. and save in computer for reference purpose. what should I do that ?
i am able to convert to Excel, text file so far, but having problem with HTML.
Could someone able to assist me on that part.
what I want is just simply one click button. then the Internet Explorer will pop up, and the datagrid data will be shown in a HTML format file in Internet Explorer. then the user can choose to save or not save the file.
Thank you very much Regards
--
Regards,
Dilip Krishnan
MCAD, MCSD.net
dilipdotnet at apdiya dot com
You could encapsulate the datagrid in a span and just copy the contents
of the span to the new window. Ideally I'd recommend having the data in
an XML form and then have stylesheets work with the data in different
formats
HTH
A-PK wrote: Hi All,
I am writing a program with Datagrid bind to the dataset. and the user allow to filter and do a criteria search on that datagrid.
so the Datagrid could be display any type of data anytime.( could be order information, could be customer information or others - depend of what user want)
my concern is that once the user sees the type of data in Datagrid, and they want to export out and convert to HTML format. and save in computer for reference purpose. what should I do that ?
i am able to convert to Excel, text file so far, but having problem with HTML.
Could someone able to assist me on that part.
what I want is just simply one click button. then the Internet Explorer will pop up, and the datagrid data will be shown in a HTML format file in Internet Explorer. then the user can choose to save or not save the file.
Thank you very much Regards
--
Regards,
Dilip Krishnan
MCAD, MCSD.net
dilipdotnet at apdiya dot com
Kevin -- er-- MVP -- you like slamming people, but you are short on
solutions.
Is that what a 'MVP' is all about? Acting like a know-it-all and
criticizing anyone who's question you don't approve of. Give this guy a
decent answer boy.
And while you're at it boy, give me a decent answer on how an ascx control
can call a function on the parent that returns a value to the ascx control.
You accused me of not 'optimizing my time' because I didn't want to spend
an hour+ sifting thru MSDN to look for an answer, remember?
I wonder if you're the way you are because you're representing Microsoft....
:)
Kevin -- er-- MVP -- you like slamming people, but you are short on
solutions.
Is that what a 'MVP' is all about? Acting like a know-it-all and
criticizing anyone who's question you don't approve of. Give this guy a
decent answer boy.
And while you're at it boy, give me a decent answer on how an ascx control
can call a function on the parent that returns a value to the ascx control.
You accused me of not 'optimizing my time' because I didn't want to spend
an hour+ sifting thru MSDN to look for an answer, remember?
I wonder if you're the way you are because you're representing Microsoft....
:)
Pierce,
when the datagrid displays in the webpage, it is rendered as html. .NET
takes the serverside code and converts it to html and javascript. If the
user goes to 'File, Save' in the browser, the page with the datagrid can be
saved to a location on the computer. No 'export' function / code is
necessary. Later, the user can go back to it anytime and view it in IE --
try it.
Good luck
Jason Shohet
Pierce,
when the datagrid displays in the webpage, it is rendered as html. .NET
takes the serverside code and converts it to html and javascript. If the
user goes to 'File, Save' in the browser, the page with the datagrid can be
saved to a location on the computer. No 'export' function / code is
necessary. Later, the user can go back to it anytime and view it in IE --
try it.
Good luck
Jason Shohet
I don't "like slamming people." And I certainly DON'T represent Microsoft. I
gave you the answer: A datagrid IS HTML in the client. Sorry if you're not
happy about that, but it is simply the truth. And I have answered your other
question as well. Take a look.
You missed my point about the other question as well. If you've spent 24
hours looking for an answer, you certainly have an hour to research your
issue on MSDN. In fact, the entire .Net SDK is a free download from
Microsoft. You can download it, install it onyour machine, and use it to
your heart's content. I use it every day, many times a day. Here's the URL,
so you don't have to look it up: http://www.microsoft.com/downloads/d...displaylang=en
Note that I didn't accuse you of anything in my replies. But you are
name-calling now. So, who's slamming whom? I didn't even mention the fact
that cross-posting is bad Netiquette. It would have helped you out if I had,
and if you had listened to me. Bad Netiquette will get you LESS help rather
than more. Offend enough people and you will find yourself out of a
resource.
How many people do YOU help a day?
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
" Jason Shohet" <as****@hotmail.com> wrote in message
news:OK**************@TK2MSFTNGP10.phx.gbl... Kevin -- er-- MVP -- you like slamming people, but you are short on solutions. Is that what a 'MVP' is all about? Acting like a know-it-all and criticizing anyone who's question you don't approve of. Give this guy a decent answer boy. And while you're at it boy, give me a decent answer on how an ascx control can call a function on the parent that returns a value to the ascx
control. You accused me of not 'optimizing my time' because I didn't want to spend an hour+ sifting thru MSDN to look for an answer, remember?
I wonder if you're the way you are because you're representing
Microsoft.... :)
I don't "like slamming people." And I certainly DON'T represent Microsoft. I
gave you the answer: A datagrid IS HTML in the client. Sorry if you're not
happy about that, but it is simply the truth. And I have answered your other
question as well. Take a look.
You missed my point about the other question as well. If you've spent 24
hours looking for an answer, you certainly have an hour to research your
issue on MSDN. In fact, the entire .Net SDK is a free download from
Microsoft. You can download it, install it onyour machine, and use it to
your heart's content. I use it every day, many times a day. Here's the URL,
so you don't have to look it up: http://www.microsoft.com/downloads/d...displaylang=en
Note that I didn't accuse you of anything in my replies. But you are
name-calling now. So, who's slamming whom? I didn't even mention the fact
that cross-posting is bad Netiquette. It would have helped you out if I had,
and if you had listened to me. Bad Netiquette will get you LESS help rather
than more. Offend enough people and you will find yourself out of a
resource.
How many people do YOU help a day?
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
" Jason Shohet" <as****@hotmail.com> wrote in message
news:OK**************@TK2MSFTNGP10.phx.gbl... Kevin -- er-- MVP -- you like slamming people, but you are short on solutions. Is that what a 'MVP' is all about? Acting like a know-it-all and criticizing anyone who's question you don't approve of. Give this guy a decent answer boy. And while you're at it boy, give me a decent answer on how an ascx control can call a function on the parent that returns a value to the ascx
control. You accused me of not 'optimizing my time' because I didn't want to spend an hour+ sifting thru MSDN to look for an answer, remember?
I wonder if you're the way you are because you're representing
Microsoft.... :)
hey Tom
then if i want to click one button and run the HTML file. that the HTML must
contain the lastest dataset that I just generated, then how should I do.
"<<Tom>>" <__*******@albatross.com> wrote in message
news:et**************@TK2MSFTNGP10.phx.gbl... Pierce, when the datagrid displays in the webpage, it is rendered as html. .NET takes the serverside code and converts it to html and javascript. If the user goes to 'File, Save' in the browser, the page with the datagrid can
be saved to a location on the computer. No 'export' function / code is necessary. Later, the user can go back to it anytime and view it in IE -- try it.
Good luck Jason Shohet
A-PK wrote: what I want is just simply one click button. then the Internet Explorer will pop up, and the datagrid data will be shown in a HTML format file in Internet Explorer. then the user can choose to save or not save the file.
If you were using Linux, you wouldn't have to care about proprietary file
formats, and just export it to XML which can be read by Open Office Calc.
--
W '04 <:> Open This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: John Holmes |
last post by:
I have a web interface where the user types in ID's one at a time. After an
ID is typed in, a button is clicked and the button click event has code that
does a query and returns a data reader and...
|
by: Marc Castrechini |
last post by:
Forgive any bad terms. New to .Net development
My business layer has something similiar to this
class Accoun
private m_Notes as Note(
' Get Mehod
..
end clas
|
by: Bishoy George |
last post by:
I have a dataset called ds1 filled with 2 tables Employees and Customers
from Northwind database.
I have dropdownList called ddLastName with the following properties:
ddLastName.DataSource =...
|
by: Marc |
last post by:
I have used XMLDataToString = DataSetForXML.GetXml() to get an XML string
from a dataset. I am looking for a way to create a dataset from this XML
string. I tried...
|
by: nashak |
last post by:
Hello,
ASP.NET pages are disconnected html pages i.e once page is sent to the
browser, that is it. Let's say that I have a datagrid on my page and I
have used a dataset to fill this grid only...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |