> Nope failed with DataGridView...moved to UltraGrid...failed on that as
> welltried to create a relationship back to itself on the table, so
> that the object would appear as a column in itself.failed in the
> Model designer.
Hmm.
In the devexpress grid I can create a drop
Nope failed with DataGridView...moved to UltraGrid...failed on that as
welltried to create a relationship back to itself on the table, so
that the object would appear as a column in itself.failed in the
Model designer.
> -Original Message-
> From: Discussion of advanced .NET topics
> Correct me as I may be all wrong but I thought dotnet recommends that
> you
> not count on -1,0,1 being indicators for true and false? Have I got
> this
> all wrong (extremely likely)?
>
> John Warner
They do, but they use them here to indicate not just true or false, but also
whether one string
It works fine for me (other than that your code doesn't compile because
you need String.Format() inside the exception constructor).
Are you sure there isn't at typo or something in your code?
My test code is:
// code works fine - string.Compare() returns 0 so no exception
string str1 = "-myl
Thanks very much for thatI try to use the standard control when
possible but the datagrid thing is a complete pain at times...and gives
little clue of what the real problem is...inner exception is always
blank.
I managed previously to get this working with Linq2SQLwith much
wrestling it ev
Correct me as I may be all wrong but I thought dotnet recommends that you
not count on -1,0,1 being indicators for true and false? Have I got this
all wrong (extremely likely)?
John Warner
> -Original Message-
> From: Discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On B
Hi,
See following snippet,
if (0 != string.Compare(str1, str2, StringComparison.OrdinalIgnoreCase))
{
throw new Exception("Compare failed str1:({0}) length:{1} str2:({2})
length:{3}", str1, str1.Length, str2, str2.Length);
}
it throws, for instance, with "Compare failed str1:(-mylife) length:7
> In fact saying that I can't (out of the box) get a DataGridViewTextCell
> to work correctly either, it displays the class name...i.e. the default
> ToString()and there is no option to set which property to display.
I think your prob is caused by the fact that the EF doesn't have the
In fact saying that I can't (out of the box) get a DataGridViewTextCell
to work correctly either, it displays the class name...i.e. the default
ToString()and there is no option to set which property to display.
Irratatingly I can't find any entity frameworks samples that I can
download...even
Has anyone got this to work?
DataGridView are unpleasant things that don't tell you what the problem
is...
I've used the Microsoft Course Sample, and ammended the Department field
to be a DataGridViewComboBoxColumn...
bind it to a Department binding source.
I'm then given a Display member...whi
10 matches
Mail list logo