Browse by Tags
All Tags »
C# »
DataBinding (
RSS)
Sorry, but there are no more tags available to filter with.
Have been uploaded The zip file below contains the samples from Monday's webcast, and an additional samples that adds the following (based on questions I received): The binding source is serializable. It simply saves to a hardcoded file, but you get...
From an older article that is still online, comparing my approach to another author's. Yet another reader question (from an older article online at fawcette.com) I just read your VS Magazine article (see links below) regarding data-driven client validation...
It does work, if you are not changing the data. In fact, that's the preferred way if the user is not allowed to change the data. I received the following question (which does related to Effective C#). I thought the discussion was of general interest...
Copies and boxes and performance, Oh My. This caught me and members of a client team recently, so I thought I would share it. In a Windows application, we created a simple value type to store a couple properties. Something like this: public struct WeatherObservation...
This one asks how to handle Properties of embedded objects. Question: Bill, After reading your paper on Visual Studio Magazine, I spent a few hours trying to bind to a subproperty and... I'm wondering if it is possible! I first coded a ContactList...
A few questions and some answers about how to best perform data binding when you create windows forms. Question: (or actually a few questions. Answers are inline) I'm an up-and-coming .net developer whose trying to implement databinding to business...
ITypedList and when to use it. Over the past two weeks, I’ve gotten two questions relating to Windows Forms Databinding and custom collections. In the first case, the developer had created a collection that held polymorphic items: public class MyBaseClass...
Question and answer on the DataGrid, Datasets.How do you format the information, and trap user interaction. Question: I have a question, do you happen to know how to format data as it is going into a datagrid from a dataset and dataadapter? I want to...
The state of the change has a bearing on how you should examine the changes in a dataset. Q: Why does Dataset.GetChanges() return an empty dataset? Examine the following code: The dataset stored in ChangedDoc.xml is empty. Why? ds.ReadXml(" http...
Question and Answer on creating and using DataBinding in your own types. Q : When you bind to business objects, then you not only want to bind to the properties of the objects, often you want to display properties of related objects. Example: You have...