Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 5th, 2005, 03:38 AM
Authorized User
 
Join Date: Oct 2004
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default Excel format changes from Number to Text

Hi All,

I am inserting Data from Access into Excel sheet with asp.net.

The problem I am facing when I try to insert field like Pin number or any numeric data It is inserted in the excel sheet as Text always (which is error in excel sheets).If I try to retrieve values back from excel the values are not retrieved back.

Can any one suggest me how can I change the format while inserting in excel sheet or How I can capture values.

Thanks in advance

Regards
Amit


 
Old February 7th, 2005, 02:41 AM
Authorized User
 
Join Date: Oct 2004
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well I solved the problem. I find the reason for problem was change of format from number to text, so I make deafult format to text even for numbers. So the problem of non capturing of data in case one data is "number" and other is "number as text" is solved, as both are in text format now, so no error.

 
Old July 24th, 2007, 06:56 AM
Registered User
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by ajindal
 Well I solved the problem. I find the reason for problem was change of format from number to text, so I make deafult format to text even for numbers. So the problem of non capturing of data in case one data is "number" and other is "number as text" is solved, as both are in text format now, so no error.


Hi, need your help regarding entering value in excel 1-2, kindly send me ur mail id to [email protected]






Similar Threads
Thread Thread Starter Forum Replies Last Post
send emails with an Excel table as text format peterlihh Excel VBA 4 October 29th, 2008 04:04 PM
Convert Rich Text Format to Ordinary Format in ASP Andraw Classic ASP Basics 1 August 31st, 2007 10:05 AM
VBA SQL import from Excel number format aem Excel VBA 0 January 19th, 2005 02:28 AM
Format Number hcweb Classic ASP Basics 4 October 27th, 2004 11:23 AM
format number tgopal Javascript 2 April 30th, 2004 03:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.