Re: adding data using DataGridView



You can make a class that is a IBindingList(of object) where
object is your class and then bind that class to the DataGridView.
Not sure about the updates, though, as I haven't done that (yet).
You probably have to handle them yourself.

Robin S.

"BillE" <belgie@xxxxxxxxxxx> wrote in message
news:eEjaPQNNHHA.4912@xxxxxxxxxxxxxxxxxxxxxxx
What is the best way to add data using a DataGridView in a multi-tier
application (data entry is handled in a data access layer using stored
procedures)?

Thanks
Bill




.



Relevant Pages

  • Re: adding data using DataGridView
    ... object is your class and then bind that class to the DataGridView. ... Not sure about the updates, though, as I haven't done that. ... application (data entry is handled in a data access layer using stored ...
    (microsoft.public.dotnet.languages.vb)
  • adding data using DataGridView
    ... What is the best way to add data using a DataGridView in a multi-tier ... application (data entry is handled in a data access layer using stored ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Not Showing Data Grid
    ... use the DataMember property on the DataGridView, ... To add the columns to bind to, you would have to call the Add method on ... missing.The data grid propertiy "Visible is true". ... OracleDataAccess oracleDA = new OracleDataAccess("Data ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: databinding untyped dataset and visual design
    ... how did we bind an untyped dataset to DataGridView ... ¡¤ The IListSource interface, such as the DataTable and DataSet classes. ... at design time, the datasource have to be a strong typed dataset, or a list ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Sort DataGridView
    ... need for the DataGridView to "sort" through the contents of the DataSet ... parse over the data in the DataSet and bind to it, ... able to control the order that it acquires the records. ... but the indeces of the datagridview rows do not get ...
    (microsoft.public.dotnet.languages.csharp)