SRT Solutions

Blogs

Browse by Tags

Sorry, but there are no more tags available to filter with.
  • Samples from Monday's Webcast

    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 the point. The Velocity class supports the IEditableObject...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Wed, Jul 13 2005
  • Yet another reader question

    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 and I had sort of a general question for...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Sun, Jun 12 2005
  • Data Binding with immutable Types?

    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, so I posted it here instead of in the blog relating...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Tue, Mar 1 2005
  • Of DataBinding and Value Types

    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 { private int _low; public int Low...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Thu, Jan 20 2005
  • A Reader Question on DataBinding

    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 class, a collection of Contact. ContactList is setup...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Mon, Dec 6 2004
  • Question from a reader about DataBindings

    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 objects. Your article here has been invaluable....
    Posted to Bill Blogs in C# (Weblog) by wwagner on Fri, Dec 3 2004
  • DataBinding and Custom Collections

    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 { // internals elided. } public class Derived1...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Sat, Sep 18 2004
  • How to format data in the Data Grid

    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 format my numbers in one for one field with four decimal...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Mon, Jun 7 2004
  • Of Dataset.GetChanges and Diffgrams

    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://localhost:400/TMSEProto/Proposal.xml "); ds...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Mon, May 3 2004
  • Creating Data Binding Classes.

    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 a DataGrid displaying a list of Order objects, the...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Wed, Mar 31 2004

In our last colurm, we wrote about how technical mentors can benefit companies ( Ann Arbor Business Review, May 22, 2008 ). In this installment, we're...