General discussion

Locked

Dynamic html form generation

By funlurn ·
Is it possible to generate html form from visual basic form fields like values stored in database.
for e.g in database there are fields stored with type as textbox and properties like top=200,left=3000 etc.

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by funlurn In reply to Dynamic html form generat ...

Hello,

I have tried to generate html pages using following logic.

1) Storing left and top co-ordinates of lables, buttons etc. form items into database table. To generate vb form, one need to carefull on placing form items line by line.

2) By using stored co-ordinates, html page is generated. Here table width is considered by calculating maximum fields in a row and as per that <tr><td> are generated.

3) Fields which have +-100 co-ordinates are displayed in single line.

for eg. if two fields have top as 1000 and 1050 then they will be displayed on single line.

This helped to generate html form with same fields in VB form.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums