View Complete Post
Basically, I would like to make "Property Editor" using Dictionary and DataGrid by storeing "properties" (key&value pairs) into Dictionary and DataGrid to display and edit.
I was able to successfully bind using below code.
It displays Key&Value pairs fine in the DataGrid but it won't allow me to edit the Value.
It says, "EditItem is not allowed for this view"
How can I do this using DataGrid and Dictionary?
Is there better way to make property editor with FLEXIBLE number of properties?
I emphasized "flexible" because the property entries/definition can frequently change and I thought Dictionary was perfect for this.
Thanks a lot!
I need a datagrid control that has following features, besides other regular stuff like paging, sorting, filtering, etc:
The user should be able to -
1. Select columns to view
2. Select column Sequence
3. Select default sort column
4. Store the setting (as a view) and use it on next visit.
5. llow multiple such views to be stored for a user for future use.
All these settings should be saved and when the user comes back he gets the same settings.
Really appreciate your time and would love to get any ideas.
Dropdownlist Show the all PatientName and save the PatientID in the database and in datagrid showing the PatientID my requirement is that the PatientName show in DataGrid.
how to do ?
Imagine opening your Inbox one morning and finding a message that reads "Dear Mr. DataGrid, I urgently need an ASP.NET DataGrid that lets my users move rows on the client. You're my last hope. Will you please help me?"
MSDN Magazine March 2005
When incorporating the ASP.NET DataGrid control into your Web apps, common operations such as paging, sorting, editing, and deleting data require more effort than you might like to expend. But all that is about to change. The GridView control--the successor to the DataGrid-- extends the DataGrid's functionality it in a number of ways. First, it fully supports data source components and can automatically handle data operations, such as paging, sorting, and editing, as long as its bound data source object supports these capabilities. In addition, the GridView control offers some functional improvements over the DataGrid. Here DataGrid expert Dino Esposito introduces the GridView and explains all its long-awaited features.
MSDN Magazine August 2004
Edited by Nancy Michell