Dynamic html form generation
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.
Web Development
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.
by funlurn
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
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.
This discussion is closed to new replies.
Sort by Trending