Groups | Blog | Home
all groups > c# > july 2004 >

c# : Problem in retrieve data from SQL server using OLEDB


simon
7/14/2004 10:49:01 PM
I use a SQL server 2000 to store data in local language (gb and Shift-JIS). I can successfully store the data into database, but when i retrieve back from database, i only get "?" in my asp program.

Jon Skeet [C# MVP]
7/15/2004 8:47:15 AM
[quoted text, click to view]

What type is the column?

It sounds like you're probably accessing the data incorrectly in ASP.
I've seen problems like this before, but usually the other way round,
where data has been incorrectly written to the database in ASP, and
then .NET is (correctly) showing the dodgy data.

If Query Analyzer shows the data correctly, I'd suggest asking again on
an ADO or ASP newsgroup.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
AddThis Social Bookmark Button