Browse by Tags

All Tags » Binding » VB (RSS)
If you retrieve data into a DataTable, it is easy to bind it to a ComboBox. And before Linq, you would filter the DataTable using a DataView. But with Linq, you have some easy to use features for filtering the contents of your ComboBox. First, here is...
If you are using XML in a WinForms application you may find the need to display the XML data in a DataGridView. Let's take this XML: <states>     <state name="California">        ...
As stated here , you use object binding in a WinForms application by following these steps: 1. Build the business objects for your application. 2. Define a business object data source in the Windows Application project containing your user interface....
As stated here , you use object binding in a WinForms application by following these steps: 1. Build the business objects for your application. 2. Define a business object data source in the Windows Application project containing your user interface....
Before going through the details of how to use object binding, it is important to understand exactly what it is—and what it is not. Object binding is binding your business object properties to user interface elements. Object binding is not database binding...
Some of the collections in the Microsoft Office object models implement IEnumerable. The IEnumerable interface provides the ability to perform a for/each against the collection. With .NET 3.5, a Cast extension method of IEnumerable allows you to work...
If you are building applications in .NET to manage data for a business, you are most likely creating business object classes. Depending on the business, these classes could include Customer, Product, Order, Invoice, PurchaseOrder, Employee, TimeCard and...
16 comment(s)
Filed under: , , , , , ,
My prior post demonstrated how to bind to a list of month names. Once the user picks the desired month, you may want to provide a list of valid dates to pick a date in that month. For example: 1-30 for September and 1-31 for July. You can accomplish this...
Visual Studio comes with DateTimePicker and MonthCalendar controls that provide a standard looking calendar for the user to pick a date. But there are times when these controls don’t provide the features you need. For example, say you want to ask the...
The Enum keyword allows you to define a standard set of named constants for use in your application. Sometimes you may want to present this same list of  values to your user. You can display the set of Enum values in a ComboBox or ListBox using data...