Save superscript symbols in SQL Server

2.6k views Asked by At

I want to save alpha, beta, theta and all super script symbols in SQL Server database through my .Net windows application. And I need to fetch again and want to show on label control. What do I have to do? I am using C#.

1

There are 1 answers

1
JeffO On BEST ANSWER

Store them in a nchar(n) or nvarchar(n) field in sql server. Don't forget the N' ' notation for strings. To represent the characters in you label, you'll need a unicode font.

I think everything else is the same for storing, retrieving and placing string values on a label.