Korzh.com developer tools forums :: View topic - Condition with international Character
Korzh.com
home : Community forums  FAQFAQ   SearchSearch  |  RegisterRegister  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Condition with international Character

 
Post new topic   Reply to topic    Korzh.com developer tools Forum Index -> EasyQuery ASP.NET
View previous topic :: View next topic  
Author Message
wangxianlg
Novice


Joined: 15 Jan 2012
Posts: 1

PostPosted: Sun Jan 15, 2012 2:34 pm    Post subject: Condition with international Character Reply with quote

Hi,

How can I support Condition with international Character? For example, end user type the international Character in the condition panel and query looks like following:

where country='你好'

I know I need to add N country=N'你好' in front of international Character, but how can I do it programmatically.

Thanks!

Alan
Back to top
View user's profile Send private message
Admin
Site Admin


Joined: 07 Nov 2005
Posts: 264

PostPosted: Wed Jan 18, 2012 4:41 pm    Post subject: Reply with quote

You can create special operator in your data model (let's name it "equal to (intl)") and change its expression to
{expr1}=N{expr2}

The same thing you can do with all others operators if necessary.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Korzh.com developer tools Forum Index -> EasyQuery ASP.NET 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, 2005 phpBB Group