BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

using unicode characters

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
surena
Guest





PostPosted: Thu Apr 26, 2007 3:58 pm    Post subject: using unicode characters Reply with quote



To connect to a table in SQL server 2000, I put datasource, adotable,
dbnavigator and dbgrid in a form. I wrote a code like:

datamodule2.ADOConnection1.Connected:=true;
adotable1.Connection:=datamodule2.ADOConnection1;
adotable1.TableName:='patient';
adotable1.Open;
datasource1.DataSet:=adotable1;
dbgrid1.DataSource:=datasource1;
dbnavigator1.DataSource:=datasource1;

After running I have access to the 'patient' table. I use unicode
(persian alphabet) in one field of my original table, but now I
see ??? characters in their place. Also when I insert persian alphabet
in the delphi table, I see some strange characters in the original SQL
table. How I can configure my project such that I retrieve persian
alphabet from SQL table and also insert them from the project into SQL
table? In my original SQL table I use'nvarchar' data type for this
alphabet.

Surena
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.