Re: [Mono-dev] DataTable Select string comparison patch

2006-12-04 Thread Jarosław Pawlak
Hello, Konstantin 1. If one object is string = 5 and the second object is Int32 = 5. Will the objects be equal? No, they won't even go into the if because o1 is string, but o2 is not string 2. What if a case insensitive comparison should be done, but the objects are not strings? (May be

[Mono-dev] DataTable Select string comparison patch

2006-12-03 Thread Jarosław Pawlak
/SqlExpressions), and to DataTableTest, that fix this problem. There are two tests added, I checked that spaces in front of actual value have meaning - second test checks that. Regards Jarosław Pawlak --- Comparison.cs.orig 2006-12-03 13:27:47.0 +0100 +++ Comparison.cs 2006-12-03 19:32:10.0

[Mono-dev] WebControl DataList SelectedIndex and EditItemIndex patch

2006-06-22 Thread Jarosław Pawlak
Hello On DataList control, when edited item happens to be also selected item, there was a problem, because DataList generated item from SelectedItem template instead of EditItemTemplate. This patch fixes the problem. Jarek

[Mono-dev] WebControl DataList SelectedIndex and EditItemIndex patch

2006-06-21 Thread Jarosław Pawlak
Hello On DataList control, when edited item happens to be also selected item, there was a problem, because DataList generated item from SelectedItem template instead of EditItemTemplate. This patch fixes the problem. Jarek --- DataList.cs.orig(rev 1.1.15) +++ DataList.cs (my) @@ -632,10