Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3999098
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:36:47+00:00 2026-05-20T07:36:47+00:00

I’ll be embarking on converting one of our old, legacy apps from VB6 to

  • 0

I’ll be embarking on converting one of our old, legacy apps from VB6 to WPF soon. More than a year ago I had spent a considerable amount of time converting the middle-tier VB6 components (all in Component Services) to WCF. At the time I did it, I wrote all of the methods to return ADO.NET datasets. It works fine, and writing a simple WinForms app I was able to successfully pull some of the data over and save it back. And I haven’t touched that WCF service for several months. I wrote the WCF service using VS 2008.

I’ve been busy with other responsibilities and other urgent projects during 2010, so this conversion project has been put on the back burner until now. One of these other projects was developing a simple WPF app to learn how to write WPF apps. This simple WPF app is now in use by our front office staff. For this major conversion app I will use VS 2010, but I know that WCF 3.5 and WPF 4.0 will work together, that’s not an issue. But what does bother me, is the fact that all of the WCF methods return ADO.NET datasets. While learning WPF and developing the front office app, I developed classes that reflect the data in the SQL Server database, so that my classes could implement the INotifyPropertyChanged interface. Well, certainly my WCF classes don’t implement the INotifyPropertyChanged interface. Now that I’ve got a chance to look at this whole thing, from a high level view, I’m concerned that I’ve basically shot myself in the foot (hey, I was ignorant and didn’t know any better). So, is it the case that any WPF app I write won’t work ideally with the ADO.NET datasets returned by my WCF service?


  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T07:36:47+00:00Added an answer on May 20, 2026 at 7:36 am

    I am assuming that the data from these ADO.NET data sets are going to be set to the source for one or more WPF controls. In this case it would be really nice if the control could just keep track of changes in the data without you having to do anything. Since I don’t know any specific details I can’t say anything in particular, although I do have some general advice that might help.

    INotifyPropertyChanged is a handy method that allows one to avoid writing a lot of boilerplate code. Certainly if you want to have all of the bells and whistles that come along with this method you could add methods to your project that can keep track of changes in your data and update WPF controls appropriately. If there are only a few ways in which the data can be changed then this isn’t a very daunting task.

    On the other hand you could create wrapper classes for the ADO.NET data sets that do implement the INotifyPropertyChanged method. This essentially boils down to implementing the same code from the previous idea but it can look a whole lot nicer and create a much cleaner code base.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
Let's say I'm outputting a post title and in our database, it's Hello Y’all
For some reason, after submitting a string like this Jack’s Spindle from a text
In my XML file chapters tag has more chapter tag.i need to display chapters
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I have a text area in my form which accepts all possible characters from
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
Does anyone know how can I replace this 2 symbol below from the string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.