Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best practice on binding controls
Message
From
23/03/2005 11:48:21
 
General information
Forum:
ASP.NET
Category:
.NET Compact Framework
Miscellaneous
Thread ID:
00998417
Message ID:
00998487
Views:
38
This message has been marked as a message which has helped to the initial question of the thread.
Franco,

>>I can believe this is a bug, I'm searching on google and don't find nothing about this, it's incredible that none got this before.<

Yeah, well, it does seem strange that you can find nothing about this. Maybe you *are* doing something wrong, but it all looks good to me. Have you tried posting a question elsewhere? (I like GotDotNet, and I guess the microsoft public newsgroups have some good people hanging out there too).

>>Can you tell me how to know what has been modified in a dataset/datatable? The CF doesn't have the getchanges() methods!<

OK, well, you already know how to determine that your row has been modified. If you're asking about how to find which column has been modified, then you can do something like this (assuming the CF has this functionality) ... sorry, this is C# code, but it shouldn't be too hard for you to convert it to VB:
DataRow row = MyDataSet.Tables["MyTable"].Rows[IndexOfChangedRow];
for (int i=0; i < MyDataSet.Tables["MyTable"].Columns.Count; i++)
{
	if (row[i, DataRowVersion.Current].Equals(row[i, DataRowVersion.Original]))
		MessageBox.Show("no changes");
	else
		MessageBox.Show("this row changed");
}
~~Bonnie





>Good!!! well...bad!! (I was hoping that I was doing something wrong).
>I also have tried with the full Framework and it works.
>I have the last CF SP (SP3), those are all base classes and....what are "event handlers"? :)
>serius, as you can see, I don't have nothing customized.
>I can believe this is a bug, I'm searching on google and don't find nothing about this, it's incredible that none got this before.
>Can you tell me how to know what has been modified in a dataset/datatable? The CF doesn't have the getchanges() methods!
>Franco
>
>>Wow, Franco ... I don't know ... your code looks fine! I'm wondering if there's a bug in the Compact Framework? This would not cause a problem in the regular Framework, at least not in the most recent version 1.1. I have not used the Compact Framework at all, so I don't know what versions there are. Do you have the most recent version? These are base Framework TextBoxes, right? You haven't sub-classed them? How about event handlers? Do you have anything going on in event handlers anywhere?
>>
>>I guess having no Compact Framework experience, I shouldn't have answered your post ... but I wouldn't think there'd be such a major difference between the two Frameworks (I think the Compact is just a sub-set of the other).
>>
>>~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform