Archived Months
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet windows forms databinding > january 2008

huge amount of data in a control
Posted by Marcel at 1/31/2008 12:59:29 PM
Hi, Sorry for cross-posting, but in the other group nobody seems to know. How can I create/use a control to display a huge amount of data from a stream without actually loading all this data? Can I use the TextBox control with some kind of custom data binding, or should I create a custom us...more >>


Normal Data Question
Posted by Mike Swann at 1/28/2008 6:04:00 AM
Dear All, This is probably a bit of a stupid question. I have been resisting using the databinding tools in 2005, however I watch a demo this morning on MSDN and thought that I'd give it a go. I've created a form, created a dataset, dragged the table on to the form and it created all o...more >>

Problem: Binding to a property of an object which implements IList
Posted by Charlie Prankel at 1/28/2008 5:06:00 AM
Hi, I would be grateful for helpful suggestions with regard to the following problem: It's of course easy to data-bind to the "Name"-property of on object, that instantiates the following class: public class Test { public string Name { get; set; } } Unfourtunately I ran into pro...more >>

connecting MS access database and getting records
Posted by kamran at 1/27/2008 12:33:20 PM
Hi! i have aasked this question be4 but i need to say it again: i have a vb .Net 2005 application with a form (frm_customers) and a MS access database (*.mdb) with a table in it (tblcustomers). by the way my form has a datagridview control. now what i want to do is to show records of tbl_cus...more >>

connecting MS access database and getting records (MVP plz Help)
Posted by kamran at 1/22/2008 2:18:06 PM
Hi! i have a vb .Net 2005 application with a form (frm_customers) and a MS access database (*.mdb) with a table in it (tblcustomers). by the way my form has a datagridview control. now what i want to do is to show records of tbl_customers in datagridview on my form. i know that VB 2005 has...more >>

Bindingsource and 'businessobject' dynamic properties won't bind
Posted by Torny at 1/22/2008 11:45:04 AM
Hi folks, i'm writing some basic businessobject classes for use in a framework and dynamic properties and the bindingsource class drive me crazy. The idea is, that you can dynamically expand an businessobject by some properties, that can be bound at runtime. I used to implement it via ICu...more >>

Binding to a property of a user control
Posted by thomas2000@gmx.de at 1/21/2008 5:23:47 AM
Hello, I created a user control with a property MyText(): Public Property MyText() As String Get Return Me.TextBox1.Text End Get Set(ByVal value As String) If (Not Me.TextBox1.Text = value) Then Me.TextBox1.Text = value End Set...more >>

datatable defaultview question
Posted by kamran at 1/17/2008 9:08:11 AM
Hi everyone I have a vb .net application. in which the following code is used to load data from tbl_customers into customers_datagrid on frm_customers: Me.customersTableAdapter.Fill(Me.CustomersDataSet.Tbl_Customers) i have already used dataview to apply filter on customers and show it's ...more >>



Synced databinding between multiple grids
Posted by Jim at 1/16/2008 2:18:02 PM
Hi, I have an app that I wrote using business objects as datasource, but that I am considering rewriting using DataSets, etc. instead. I am looking for some guidance to make this decision. The app is for scheduling payments of invoices and has three grids (regular DataGridViews): A Ven...more >>

Cannot bind a ConnectionStringBuilder instance to a custom control
Posted by Lilian at 1/15/2008 10:29:00 PM
Hi, First the context : VS2K8 2 .NET 2.0 projects (the control project and the WinForm test project) The control is supposed to help someone build a connection string What I intend to do : Bind the custom control's controls (textbox, combobox, ...) to a ConnectionStringBuilder instance m...more >>

DataBindings from XML <-> TextBox, 1.4 vs 2.0, and exceptions...
Posted by Ratajik at 1/15/2008 12:43:06 PM
I've run into a problem converting a Windows Forms app from .NET 1.4 to 2.0. The application makes extensive use of binding various controls to XML nodes. Under 1.4, this works great. Under 2.0, it no longer works. I'm wondering what exactly broke, why, and how to fix it... I have reduc...more >>

simple vb .net data question
Posted by kamran at 1/15/2008 7:55:43 AM
Hi i had a vb .net application in vs .net 2003 which had a dataview control in which i used it in my program and was a very useful control. but now i'm working in vb .net 2005 and i can't find any such control . so i need to know where has it gone or is it replaced with new control in vb .net ...more >>

Not Creating TableAdapter
Posted by Will at 1/11/2008 10:25:01 AM
Generally, when I add a grid to my vb app, I can "Choose data Source", "Add Project datasource" and select a stored procedure. This creates three objects: a datasource, a BindingSource and a TableAdapter. Now, I have a stored procedure which returns a recordset based upon Dynamic SQL. When ...more >>

BindingSource not data binding controls
Posted by Ryan at 1/11/2008 8:09:42 AM
I have user defined control that accepts a data source to do some custom data binding. When I bind the controls against the bindingsource, it doesn't work, but if i bind it directly against datatable object (Dim src), it works just fine. Issue is that using BindingSource makes it easier to nav...more >>

How Do I Set a Data Bound Combobox to a Specific Record
Posted by Bruce at 1/10/2008 5:02:24 PM
With a data bound combobox control, how do I set the current selection in the combobox the record with the specific value member, "HiddenUsrId", column value? I saw some group comments that said to use FindStringExact() and that would work if I was looking for the text that is displayed in ...more >>

Databinding DataGridView to business object
Posted by t.mall10@yahoo.com at 1/6/2008 4:28:42 PM
Hi, I'm attempting to code my own data access layer class; it's been about a month of coding, following examples, searching Wikipedia and UseNet, and my efforts have met with some success. Right now I'm implementing IList, but I may change it to a derived class depending on what I can do wit...more >>

Exporting Datagrid to flat file within Form
Posted by Kevin Humphreys at 1/4/2008 3:36:28 PM
Hi There, I am developing an windows application using VB.NET and I need to export and open the contents of my datagrid to a flat file. Preferably txt or wordpad. Whats the best direction/chunk of code to do this? Thanks, Kevin. ...more >>

Binding/DataSource Problem
Posted by Dana L. Stille at 1/4/2008 2:37:25 PM
I am using the following simple binding for a windows form. As you can = see I am handling the Format and Parse methods with some unique code: Dim bRespEng As Binding =3D New Binding("Text", SCRDataSet, = "scrdata.ENG") AddHandler bRespEng.Format, AddressOf DBNullToString AddHandler bRespEng....more >>

BindingSource Winforms to Business Object - Cannot leave text box
Posted by D-Someone at 1/3/2008 9:12:02 AM
I'm binding a text box to a Integer (Nullable) property of a business object. If the user enters invalid data or even enteres nothing (example, just leaves it blank) they cannot leave the field at all. Adding an ErrorProvider gives me "Invalid Cast Exception" as the error. How can I allow t...more >>


DevelopmentNow Blog