Click here to Skip to main content
14,977,910 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to import data from excel file with sub/superscript like: H2O or m2 to sql server but I can't. Please help me. Thanks a lot. Can you convert excel data into html code and insert html code to sql server?

[edit]Superscripts added - OriginalGriff[/edit]
Updated 28-Jul-11 22:39pm

1 solution

You can't store text decoration in a normal varchar field I think you need to use the formatting tags. Look into storing rich text in a database try this google foo[^] there are a number of articles here!
Toniyo Jackson 2-Aug-11 4:49am
OP: Thanks for replying, can you help me to get text from excel column ex: H2O to HTML text ex: H2O ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900