I would like to create a Server control that get some parameters and render a form or a gridview. My goal is to create a library for standard CRUD operations . A server control like this:
<asp:myservercontrol database="mydatabase" table="mytable" ... othersparameter typeofcontrol="gridview or listview" >
I need an help: where to start ? I've create a new "ServerControl" ?
EDIT: to be more precisely, in my old Winform .NET applications, i used to create a "template" form (with toolbar, buttons, grid), then, with very little code, i "bind" that with database table. I would like to recreate this sort of template/server control in ASP.NET.
Thanks