Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Dynamic tables... Best way of Conduct!

 
Logged in as: Guest
arrSession:exec spGetSession 2,4,44466
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP.NET >> Dynamic tables... Best way of Conduct!
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Dynamic tables... Best way of Conduct! - 3/14/2007 6:48:05 PM   
  AdmiralGanja

 

Posts: 6
Score: 0
Joined: 3/11/2007
Status: offline
Hi,
 
Im working with this VB ASP.NET application and i just wanted some tip!
 
I am working a lot with tables that are filled with data from the database. Currently the solution is made in VBscript and using lots of loops and lots of "if" that then <td> and such statements and, just too much hard to understand, far to complex code. What is the best way to do this? It has got to exsist a simple solution?!
 
Depending on the users configuration, the tables will show a variaty of different column combinations. (The user chooses the columns to be viewed in the configuration.). Should i use views for this? This would result in far to many views to cover all combinations?
 
Please give me a hint for y web application =)
 
Kind Regards/Admiral

 
 
Post #: 1
 
 RE: Dynamic tables... Best way of Conduct! - 5/11/2008 3:02:22 PM   
  TNO


Posts: 975
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
What do you mean the solution is made in VBScript? I thought you were using VB.NET? Are you using VBScript in the client browser? Why don't you just have the pages react to user column actions by executing a function on the server that executes an SQL binding query? I don't have any idea how your page is set up, but my thought was something like this:


      

Depending on user action, have a server side function that generates different table templates. I would think this should reduce the thought complexity involved.

_____________________________

Consolidated Script Component: Now in Testing stage!

A universe of complexity...

(in reply to AdmiralGanja)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP.NET >> Dynamic tables... Best way of Conduct! Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts