DataGrid.Binding()
From: Just D (no_at_spam.please)
Date: 07/26/04
- Next message: Jeffrey Palermo [MCP]: "Re: Populate dropdown list"
- Previous message: Jeffrey Palermo [MCP]: "Re: Return values from modal form to main page"
- Next in thread: Jeffrey Palermo [MCP]: "Re: DataGrid.Binding()"
- Reply: Jeffrey Palermo [MCP]: "Re: DataGrid.Binding()"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 25 Jul 2004 19:25:36 -0700
Hi,
If anybody needs to show some data retrieved from the database table, what
method is more preferrable?
1. DataSet ds = ...;
DataGrid.Data.Source.ds;
DataGrid.Bind();
2. Write a custom object, fill it with the DataSet data and ÅÒÕÔ try to bind
the DataGrid or DataTable and this custom object?
I usually don't allow users to change anything irectly in the DataGrid, but
I allow to select a row and then show a set of TextBoxes, DropDown lists
etc. to correct/enter data. Is it a good approach or it's better to allow
userworking with the DataGrid directly and then Update this DataSet or
whatever?
Thanks,
Dmitri
- Next message: Jeffrey Palermo [MCP]: "Re: Populate dropdown list"
- Previous message: Jeffrey Palermo [MCP]: "Re: Return values from modal form to main page"
- Next in thread: Jeffrey Palermo [MCP]: "Re: DataGrid.Binding()"
- Reply: Jeffrey Palermo [MCP]: "Re: DataGrid.Binding()"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|