473,513 Members | 4,022 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Excel file is not uploading in gridview only in WINDOW 7

10 New Member
Hello friends....

I have developed a windows application using C sharp(.NET frame 3.5) in which I have to import an Excel sheet in gridview.
It is Working fine in WINDOW XP and SERVER 2003 but getting error in importing excel file to gridview in WINDOW 7 only.

Please help me out, why I am getting problem in uploading excel file in WINDOWS 7 and not in other operating system

Please provide me solution ASAP....Thanks in adv.
Mar 2 '12 #1
1 1891
PsychoCoder
465 Recognized Expert Moderator Contributor
First, what is the error message are you getting (That will help greatly). Without knowing that it will be near impossible to help with a solution.

Second show us the code that's causing the error(s) so we can see what you're doing.
Mar 2 '12 #2

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

Similar topics

6
2040
by: no one | last post by:
I need to find a way to upload an Excel file into an MS SQL database using a web control front end. I have my ASP.Net control (using C#) uploading a file to a directory, but the server people now tell me that I cannot have a writeable area for the web and have a DTS see it as this is too much of a security risk. So, I need a way to read the...
3
3273
by: RJN | last post by:
Hi I've a template excel file which has all the calculations defined. There are certain input values to be entered which gives a lot of output to the user. I don't want to expose the excel sheet to the user as calculations become visible. I'm writing a web interface which takes the input values from user, updates the excel sheet and returns...
0
1091
by: àø÷ãé | last post by:
HI! I build my own control that uses the response object to make excel file from GridView and send the excel file back to user. Like here: http://www.c-sharpcorner.com/Code/2003/Sept/ExportASPNetDataGridToExcel.asp
6
7540
by: chiya | last post by:
plz anybody help me in uploading data from excel file to mysql database. data in excel sheet is in vertical format not horizontally. I mean to say that the columns of mysql tables are in rows in excel.
1
3380
by: Yordan Georgiev | last post by:
I have a search form using master page , which is dynamically generated from the column names of the database - when the users have a search result it should be exported to Excel by clicking the button ... I get the following message : A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll An...
1
2225
by: codexxx | last post by:
Hi All, We have setup an Amazon webstore and we anticipate uploading 10,000+ products, and therefore to avoid unnecessary manual labor we wish to automate as much of the process of adding and managing products as possible. The automation process that we have in mind will require some manner of cross scripting. We currently have a database...
3
6652
by: Mel | last post by:
How do I open an Excel file as a read only document? It would be okay if it opened in the browser window but I don't want the user to save any changes and stomp over my original file on the network. Can I somehow save it to the client machine and then open it? What is the best method? (using Asp.net 2.0, vb.net)
1
7097
by: orked | last post by:
i tried to import excel file into gridview but the code made this exception (Failed to map this path''xmlTest.xml") i don't know why my code: public void fillGrid() { DataSet ds = new DataSet(); ds.ReadXml(Server.MapPath("../xmlTest.xml")); GridView1.DataSource = ds; GridView1.DataBind(); } ...
4
2801
by: orked | last post by:
i want to import excel file to gridview but there was error(Failed to map this path "/xmltest.xml") and i couldn't handle it my code: public void fillGrid() { DataSet ds = new DataSet(); ds.ReadXml(Server.MapPath("../xmltest.xml")); GridView1.DataSource = ds; GridView1.DataBind(); } protected...
0
1763
by: Bhaskar Vash | last post by:
I am using template columns inside gridview control.Suppose excel file have 10 rows and 5 columns.In 1-6 rows of excel file first 4 cells have some values and 5 cell is blank.But if 7-10 rows have values in all the five cells. But when i am fetching the values from gridview from label that is inside the template columns using find control then...
0
7270
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, 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...
0
7178
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...
0
7397
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7563
jinu1996
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...
0
5703
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4757
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3239
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
813
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.