What do you need a BindData method for? Once you set the data source,
it should display the data (either that, or you need to set up the columns
which are going to be displayed).
If this is the case, that you aren't configuring the view, check out the
"About" section of the documentation for the DataGridView class. It shows
an example of how to configure a grid (the columns for display, that is).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"abc my vclass" <my********@myclass.com> wrote in message
news:ul**************@TK2MSFTNGP12.phx.gbl...
The GridDataView has not BindData method. How should I do it?
GridDataView.DataSource = CustomersBLL.GetSimpleList(); // This returns
Simple Customers List DataTable.
GridDataView.BindData();
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>
¼¶¼g©ó¶l¥ó·s»D:u0*************@tk2msftngp13.phx.gb l... The data binding model between .NET 1.1 and .NET 2.0 has not changed.
Some convenience classes have been added (such as BindingSource), but
your data binding code should work just fine in the two versions. There
is no need to change any of that.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"abc my vclass" <my********@myclass.com> wrote in message
news:u3*************@TK2MSFTNGP11.phx.gbl... There are some programs written on .NET 1.1. These applications are
apply n-tiers contains Data Access Layers or Business Logic Layer. Now,
our company upgrade to .NET 2.0 and enhance or rewrite the applications.
In .NET 1.1, we favour to return DataTable from DAL or BLL and then
press to datagrid's datasource and to bind data. Now, I think .NET 2.0
have some difference to bind data. Is there any good example let me to
know how to binding data between datagridview / input controls and DAL
or BLL?