datatable.HasChanges() ?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Gday,

Have been going through the walkthrough for a distributed application:
http://msdn2.microsoft.com/en-us/library/1as0t7ff.aspx

and it appears to suggest in the SaveData_Click method that you can check a
datatable for changes, ie

if (CustomerData.HasChanges())

However when I try to build this I get the error:

Error 1 '<blah>DataTable' does not contain a definition for 'HasChanges'

Am I doing something stupid or do datatables not have this method available?

Thanks,

Peter



.



Relevant Pages

  • Re: datatable.HasChanges() ?
    ... This is really a nice error in this walkthrough, probably a lot of us whish ... > Am I doing something stupid or do datatables not have this method ...
    (microsoft.public.dotnet.general)
  • Re: datatable.HasChanges() ?
    ... >> Am I doing something stupid or do datatables not have this method ... Regards, ... Peter ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • datatable.HasChanges() ?
    ... Have been going through the walkthrough for a distributed application: ... Am I doing something stupid or do datatables not have this method available? ... Peter ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • Re: lokaler Report
    ... "Peter Haus" schrieb im Newsbeitrag ... vorhandenen DataTables sind, auskomme und nicht nochmals ... wenn du Expression-Spalten hinzufügst, geht das auch mit gefüllten DataTables in einem DataSet. ...
    (microsoft.public.de.german.entwickler.dotnet.vb)
  • Re: Dataset (ASP.net) has two datatables. is this normal?
    ... > Is it common to see two datatables within a dataset? ... > to "dbo" and the other belongs to the user who will be accessing the page. ... > TIA, Randy ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)