Click here to Skip to main content
15,895,462 members
Home / Discussions / C#
   

C#

 
Questionmodelling many-to-many relationships with datasets Pin
Jimbo227-Jun-06 0:57
Jimbo227-Jun-06 0:57 
Questionspyware signatures [modified] Pin
Gulfaraz7-Jun-06 0:43
Gulfaraz7-Jun-06 0:43 
AnswerRe: spyware signatures [modified] Pin
Pradd7-Jun-06 8:30
Pradd7-Jun-06 8:30 
Questionfile header Pin
Mahmood Ilyas7-Jun-06 0:38
Mahmood Ilyas7-Jun-06 0:38 
AnswerRe: file header Pin
User 66587-Jun-06 0:55
User 66587-Jun-06 0:55 
AnswerRe: file header Pin
rah_sin7-Jun-06 0:57
professionalrah_sin7-Jun-06 0:57 
QuestionIsCharUnicode Function [modified] Pin
Tristan Rhodes6-Jun-06 23:52
Tristan Rhodes6-Jun-06 23:52 
AnswerRe: IsCharUnicode Function [modified] Pin
lmoelleb7-Jun-06 1:40
lmoelleb7-Jun-06 1:40 
Here is the implementation for you:

bool IsCharUnicode(char c)
{
return true;
}

Smile | :)

Any string is Unicode in C#. The database access layer must transform the string to or from Unicode (except any decent database would use Unicode anyway) - it is not your problem.

If it fails, then it is broken. If you have to live with a broken access layer you might use the encoding classes to go from the broken string representation back to bytes, and then another encoding to get the correct string. This will only work if the database access layer converts it using an encoding where every byte sequence can be matched to a single string (for example codepage 1252). Yes, I know this is not clearly written, but it will have to do. Smile | :)
GeneralRe: IsCharUnicode Function [modified] Pin
Tristan Rhodes7-Jun-06 4:19
Tristan Rhodes7-Jun-06 4:19 
GeneralRe: IsCharUnicode Function [modified] Pin
lmoelleb7-Jun-06 5:10
lmoelleb7-Jun-06 5:10 
GeneralRe: IsCharUnicode Function [modified] Pin
Tristan Rhodes7-Jun-06 5:45
Tristan Rhodes7-Jun-06 5:45 
QuestionBest way to integrate windows messenger functionality to an application Pin
spAAwn6-Jun-06 23:26
spAAwn6-Jun-06 23:26 
AnswerRe: Best way to integrate windows messenger functionality to an application Pin
spAAwn7-Jun-06 22:11
spAAwn7-Jun-06 22:11 
QuestionFind a Folder in a 3rd party FolderDialog??? Pin
suguimoto6-Jun-06 23:26
suguimoto6-Jun-06 23:26 
QuestionEncoding Problem Pin
malikjhangirahmed@hotmail.com6-Jun-06 22:57
malikjhangirahmed@hotmail.com6-Jun-06 22:57 
QuestionGDI+ To slow.. Pin
User 22614746-Jun-06 22:55
User 22614746-Jun-06 22:55 
QuestionChanging userControl properties run time?? Pin
Nafiseh Salmani6-Jun-06 22:42
Nafiseh Salmani6-Jun-06 22:42 
AnswerRe: Changing userControl run time?? [modified] Pin
Mairaaj Khan6-Jun-06 23:33
professionalMairaaj Khan6-Jun-06 23:33 
QuestionRe: Changing userControl run time?? [modified] Pin
Nafiseh Salmani7-Jun-06 0:31
Nafiseh Salmani7-Jun-06 0:31 
AnswerRe: Changing userControl run time?? [modified] Pin
Mairaaj Khan7-Jun-06 20:49
professionalMairaaj Khan7-Jun-06 20:49 
QuestionHandleCreated problem Pin
sianatia6-Jun-06 22:14
sianatia6-Jun-06 22:14 
AnswerRe: HandleCreated problem Pin
Mairaaj Khan6-Jun-06 23:27
professionalMairaaj Khan6-Jun-06 23:27 
QuestionXML encryption Pin
engsrini6-Jun-06 22:09
engsrini6-Jun-06 22:09 
QuestionRich Text Box Questions Pin
Peter Sbarski6-Jun-06 21:09
Peter Sbarski6-Jun-06 21:09 
AnswerRe: Rich Text Box Questions Pin
Mairaaj Khan6-Jun-06 21:50
professionalMairaaj Khan6-Jun-06 21:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.