That's the "hard" way. SharePoint and SharePoint Designer's Data View/Data Form web part can do what you want. There is a little configuration you need to do first.
In Central Administration, go to the Operations Tab, and the Data Retrieval Service settings. Change either the global settings (if appropraite) or the settings for your web application to have the "Enable Update Query Support" checked.
Then, From the Data menu in SharePoint Designer, manage data sourced, and configure a Data Source to point at your database table.
Open a web part page, and insert a data view web part. On the data view properties dialog, enable the editing controls you want.
- Woody -
Irrational Sanity is the source of all creativity.
My Blog:
The Sanity PointIf you found this post helpful, don't forget to rate it!