G
Guest
I'm new to WindowsForms, but have done a good deal of work with ASP.NET. What
I thought would be a simple task because it is in ASP.NET, I've realized
isn't in Windows Forms.
I'm trying to create a quick way of displaying a list of rows from a
database table that a user can scroll and allows the user to select one to
edit or delete. I had assumed that the button column function that exists in
ASP.NET datagrid would exist in WinForms but it doesn't. Based on that
assumption I created a form with a DataGrid that has a source of a DataTable
(from a DataSet populated by a stored proc).
I'm displaying the data in the DataGrid, but I wanted to have two buttons on
each row, one to edit, the other to delete. I now realized this would take a
good deal of work to implement. I also read this is available in VS 2005
Beta, but this solution needs to be built in VS 2003.
I'm open to other approaches to achieve the same result -- show a list of
rows that allows a user to "select" either a edit or delete function. These
can be buttons, hyperlinks, etc.
Advice would be appreciated, if you post code, please post VB if possible.
Thanks.
Josh.
I thought would be a simple task because it is in ASP.NET, I've realized
isn't in Windows Forms.
I'm trying to create a quick way of displaying a list of rows from a
database table that a user can scroll and allows the user to select one to
edit or delete. I had assumed that the button column function that exists in
ASP.NET datagrid would exist in WinForms but it doesn't. Based on that
assumption I created a form with a DataGrid that has a source of a DataTable
(from a DataSet populated by a stored proc).
I'm displaying the data in the DataGrid, but I wanted to have two buttons on
each row, one to edit, the other to delete. I now realized this would take a
good deal of work to implement. I also read this is available in VS 2005
Beta, but this solution needs to be built in VS 2003.
I'm open to other approaches to achieve the same result -- show a list of
rows that allows a user to "select" either a edit or delete function. These
can be buttons, hyperlinks, etc.
Advice would be appreciated, if you post code, please post VB if possible.
Thanks.
Josh.