473,396 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

export from flexgrid to Excel using c#.net

1
Please let me know how to export the content of flexgrid to Excel using C#.Net
Dec 7 '07 #1
1 2615
mzmishra
390 Expert 256MB
1. get the contents of grid
document.getElementById("DG1").outerHTML;
2. submit the form to a new page or same page
3. then set the content type like below

Response.ContentType="application/vnd.ms-excel";
Response.Charset = "";
this.EnableViewState=false;
Dec 7 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Deva | last post by:
Hello All, Is it possible to export data directly from MSH Flexgrid to MS Excel? There is some problem in exporting data from HFlex grid populated with Hierarchical recordset.This recordset is...
1
by: Deva | last post by:
Hello All, Is it possible to export data directly from MSH Flexgrid to MS Excel? There is some problem in exporting data from HFlex grid populated with Hierarchical recordset.This recordset is...
1
by: Deva | last post by:
Hello All, Is it possible to export data directly from MSH Flexgrid to MS Excel? There is some problem in exporting data from HFlex grid populated with Hierarchical recordset.This recordset is...
3
by: ArmageddonAsh | last post by:
I'm trying to make an application that will allow the user to enter data into a flexgrid (that's done) and then save the data from that flexgrid into a CSV file but even though the file is made none...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
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...
0
tracyyun
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.