1

Is there any existing software for generating a UserControl from a table of a database?

For example, my table contain 3 fields : name , last name , age.

The software generates a user control that has 3 labels and textboxes with validation and submit button and a gridview for displaying information , etc...

Thanks all.

JohannesH
  • 6,430
  • 5
  • 37
  • 71
Shahin
  • 12,543
  • 39
  • 127
  • 205

3 Answers3

4

You might want to look into Dynamic Data. It's an ASP.NET framework developed by Microsoft that automatically generates common UI elements based on Linq to SQL or Entity Framework objects (which are trivially easy to generate from a simple table like the one you mention.)

Ryan Brunner
  • 14,723
  • 1
  • 36
  • 52
  • Hi my friend. thanks for your attention. does dynamic dynamic data better that asp.net maker? – Shahin Aug 11 '10 at 11:16
  • 1
    Unfortunately, I haven't used ASP.NET Maker. I will say that Dynamic Data is well regarded, and being a Microsoft framework, plays nice with other approaches if you decide to add more customization or functionality to your site. – Ryan Brunner Aug 11 '10 at 11:18
  • @this. __curious_gee Please describe more. what do you mean? – Shahin Aug 11 '10 at 11:18
  • 1
    @shashin: sry. its a typo. Dynamic Data. Dynamic data best suits to ur need. – this. __curious_geek Aug 11 '10 at 11:35
1

What you describe sounds an awful lot like UI "scaffolding". Take a look at the following article and related question:

ASP.NET Scaffolding/Templating CRUD Solutions
Dynamic Data

Community
  • 1
  • 1
JohannesH
  • 6,430
  • 5
  • 37
  • 71
1

Here's one more O/R mapper capable of scaffolding (generating UI from database): http://www.subsonicproject.com/

VinayC
  • 47,395
  • 5
  • 59
  • 72