Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: Datagridview Focus to specific cell Pin
Vijjuuu.4-Feb-10 2:09
Vijjuuu.4-Feb-10 2:09 
QuestionImage opacity in C# Pin
VCsamir3-Feb-10 20:45
VCsamir3-Feb-10 20:45 
AnswerRe: Image opacity in C# Pin
Nuri Ismail3-Feb-10 21:29
Nuri Ismail3-Feb-10 21:29 
GeneralRe: Image opacity in C# Pin
VCsamir3-Feb-10 23:09
VCsamir3-Feb-10 23:09 
GeneralRe: Image opacity in C# Pin
Nuri Ismail3-Feb-10 23:16
Nuri Ismail3-Feb-10 23:16 
QuestionCompare two strings with different fonts Pin
huonghue3-Feb-10 17:17
huonghue3-Feb-10 17:17 
AnswerRe: Compare two strings with different fonts Pin
huonghue3-Feb-10 19:09
huonghue3-Feb-10 19:09 
AnswerRe: Compare two strings with different fonts Pin
Roger Wright3-Feb-10 19:33
professionalRoger Wright3-Feb-10 19:33 
We're a bit impatient today, aren't we? Big Grin | :-D

It usually takes a day or two to get a reply here, as most of our members have real jobs and can't spend all their time surfing the site for questions to answer. Be more patient, and you will be rewarded.

As a beginner myself, I'm not an authority to depend on, but the first thing I noticed about your post is that your code is using Assert to do a simple comparison. I did a bit of research and found that Assert is a method used in debugging, not application code. And specifically, the .IsEqual method is really thorough, and will fail if there is anything at all different between two arguments, including fonts.

I suspect that you are trying to compare the character values, and so I wonder why you don't first cast the imported value from Excel to a string type, then use a simple if (A == B) comparison. Post a bit more of your code, and maybe you will be rewarded with a better answer.

"A Journey of a Thousand Rest Stops Begins with a Single Movement"

GeneralRe: Compare two strings with different fonts Pin
huonghue4-Feb-10 13:26
huonghue4-Feb-10 13:26 
AnswerRe: Compare two strings with different fonts Pin
Richard MacCutchan3-Feb-10 22:25
mveRichard MacCutchan3-Feb-10 22:25 
GeneralRe: Compare two strings with different fonts Pin
huonghue4-Feb-10 13:21
huonghue4-Feb-10 13:21 
GeneralRe: Compare two strings with different fonts Pin
Richard MacCutchan4-Feb-10 21:45
mveRichard MacCutchan4-Feb-10 21:45 
QuestionWhat is the return value of the insert and delete sql statement Pin
Zar Ni3-Feb-10 17:03
Zar Ni3-Feb-10 17:03 
AnswerRe: What is the return value of the insert and delete sql statement Pin
Palash Biswas3-Feb-10 17:21
Palash Biswas3-Feb-10 17:21 
GeneralRe: What is the return value of the insert and delete sql statement Pin
Zar Ni3-Feb-10 18:43
Zar Ni3-Feb-10 18:43 
GeneralRe: What is the return value of the insert and delete sql statement Pin
Palash Biswas3-Feb-10 19:54
Palash Biswas3-Feb-10 19:54 
GeneralRe: What is the return value of the insert and delete sql statement Pin
Zar Ni3-Feb-10 20:11
Zar Ni3-Feb-10 20:11 
GeneralRe: What is the return value of the insert and delete sql statement Pin
Zar Ni3-Feb-10 20:19
Zar Ni3-Feb-10 20:19 
GeneralRe: What is the return value of the insert and delete sql statement Pin
Palash Biswas3-Feb-10 20:27
Palash Biswas3-Feb-10 20:27 
GeneralRe: What is the return value of the insert and delete sql statement Pin
Zar Ni3-Feb-10 20:29
Zar Ni3-Feb-10 20:29 
Questiontransparent control and zorder problem Pin
fireghosthk3-Feb-10 16:38
fireghosthk3-Feb-10 16:38 
QuestionAdd months and set the last day of the month in one step Pin
sri_34643-Feb-10 15:22
sri_34643-Feb-10 15:22 
AnswerRe: Add months and set the last day of the month in one step [modified] Pin
Luc Pattyn3-Feb-10 15:39
sitebuilderLuc Pattyn3-Feb-10 15:39 
GeneralRe: Add months and set the last day of the month in one step Pin
sri_34643-Feb-10 16:50
sri_34643-Feb-10 16:50 
GeneralRe: Add months and set the last day of the month in one step Pin
Luc Pattyn3-Feb-10 17:01
sitebuilderLuc Pattyn3-Feb-10 17:01 

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.