Hi,
Would someone show me how to do the data extraction to Excel in ASP.Net
using C# web form?
I am not familiar with VB, so I am asking someone to help me out!
Any help will be appreciated.
Jason 2 2974
"Jason Huang" wrote: Hi,
Would someone show me how to do the data extraction to Excel in ASP.Net using C# web form? I am not familiar with VB, so I am asking someone to help me out! Any help will be appreciated.
Jason
I have suggested the possible solution under another thread "from datagrid
to excel table". I hope it will help.
For more information check: http://www.codeproject.com/aspnet/DA...ortToExcel.asp
--
Cheers,
Rahul Anand
Thanks Rahul,
I've done the exporting DataGrid to Excel part. Thanks for your advice.
Actually, the Microsoft Enterprise Library took me a while for "using
Microsoft.Pract ices.Enterprise Library.Data".
But I'm thinking is it possble to do the data extraction directly from the
dataset, not firstly stored in the datagrid?
Thanks for help.
Jason
"Rahul Anand" <Ra********@dis cussions.micros oft.com> ¼¶¼g©ó¶l¥ó·s»D: C9************* *************** ******@microsof t.com... "Jason Huang" wrote:
Hi,
Would someone show me how to do the data extraction to Excel in ASP.Net using C# web form? I am not familiar with VB, so I am asking someone to help me out! Any help will be appreciated.
Jason
I have suggested the possible solution under another thread "from datagrid to excel table". I hope it will help.
For more information check: http://www.codeproject.com/aspnet/DA...ortToExcel.asp
-- Cheers, Rahul Anand This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Glenn Gomes |
last post by:
STPT is an invaluable tool if you need to import or extract data from any
text (ASCII) file. STPT data makes dealing with ASCII data easy and
efficient through a graphical user interface where parameters can be defined
and the extraction operation tested. The data can be imported as an array
into languages such as Visual Basic, MATLAB, C or C++ or used to
automatically update tables in MS Word, worksheets in MS Excel or databases
in MS...
|
by: sifar |
last post by:
Hi,
I am right now learning PHP & want to know if there is a way to send
web form data to an Excel sheet located on a network. My windows xp PC
doesnot have a copy of Excel. Also i am not connected to the internet,
its a local computer.
What i am trying to do is to make a PHP script which will send a simple
form data to an excel sheet (or create a new Excel sheet) on another PC
on a network.
|
by: ʹÃûÑï |
last post by:
hi:
purpose: clone the firest sheet in Excel.xls into excel2.xls
here is my code
it well done in winform£º
-------------------------------
string SubFile=@"D:\Excel2.xls";
string MainFile=@"D:\Excel.xls";
Excel.Application ExcelMainFileApp,ExcelSubFileApp;
|
by: Souri Challa |
last post by:
Hi all,
Is there any way to pass a large amount of data from an asp.net form to
another browser window opened through client script ? (i.e without using
sessions ).
Here is my scenario.I've a datagrid in a user control on my webform. when I
click a button on my webform, it should display the contents of datagrid (
content type = excel ) in a new browser window.
Right now I'm able to get the contents of datagrid into a HTML string and
|
by: madhukp |
last post by:
Hello Everybody,
I am fairly new to ASP.Net. I have a requirement to extract data from
a number of similar word files and put it into database. Eventhough I
could do it with VB.Net, I am not able to do it with ASP.Net. In
VB.Net, I used word.application object to open the file. Then I
created ranges for appropriate sections of word file. It was not
hard.
But I need to achieve it in ASP.Net. Could anybody please help me ?
| |
by: Diego |
last post by:
Hi,
I have a ASP.NET application and i'm interested in reporting in excel
format.
I read a good artile written by Steve C. Orr that gave me info
about exporting to excel.
http://www.aspnetpro.com/NewsletterArticle/2003/09/asp200309so_l/asp200309so_l.asp
Basically the app shows the report in a datagrid and on the OnClick event of
|
by: David Reynolds |
last post by:
Hi Everybody,
I have a vb.net webform where I create the Excel
application/workbook/worksheet. On Windows 2000 server for some reason, I
keep getting an error("Bad variable type") when trying to first set the value
to a cell. I don't have the problem on 2003 server or XP, and I'm wondering
if anyone knows of a get around on 2000?
Try
EApp = CreateObject("Excel.Application")
|
by: Tbell |
last post by:
Hi,
Im looking at an excel spreadsheet with about 3500 rows in it, and in each row there is an id number, i would like to create a query that takes each of these rows and compares it to the information in the SQL database, and then extracts the additional data that is attached to that ID number, but darned if i can figure out how to do it. Id really like to avoid having to look through the database myself, as this is going to happen quite...
|
by: chike_oji |
last post by:
Please can someone help me. I am writing a web application,
that allows for the upload of an excel sheet into the database.
I have an upload button and a save button.
The upload button allows for the retrieval of the excel data into
a DataTable, which is bound to a GridView for previewing before
saving to the Database.
But, whenever I click on the save button, I lose the DataTable's data,
so I lose the data I want to save to the...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |