Problem with Input Form

Please support our ASP advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Reply

Join Date: Sep 2005
Posts: 8
Reputation: thare is an unknown quantity at this point 
Solved Threads: 0
thare thare is offline Offline
Newbie Poster

Problem with Input Form

 
0
  #1
Jul 12th, 2006
I have to input data in a ASP form like microsoft excel with many rows and columns.
How should I do to make this form ?
Thanks !
Last edited by thare; Jul 12th, 2006 at 1:16 pm.
Attached Images
File Type: gif TimeTable.GIF (5.8 KB, 6 views)
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 1,181
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Solved Threads: 67
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: Problem with Input Form

 
0
  #2
Jul 12th, 2006
Thats what Excel is good at why they want you to re-invent the wheel ? that's dumb. Distribute an excell spreadsheet the end user fills it in, emails it or saves it some server share, import it into the database. ASP is for web applications it ain't a spreadshhet that's what spreadsheets are for.

You could do it, but you need a hell of a lot of text boxes, and you may have problems with the maximum amount of data allowed in an HTML POST.

I recon if you have to use asp you need one 'records' worth of text boxes, ie one text box for each column and then a HTML table underneath. The user fills out each box for one record and hit a submit button then you can post that to the server stuff it in the DB, concat out HTML table back to the client ready for next client.

If your good you'll use the HTTPRequest object (exposed in just about all the javascript complient browsers now) to save yourself a full post and page re-build round-trip to the srever. This is what AJAX is all about.
Last edited by hollystyles; Jul 12th, 2006 at 4:48 pm.
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 8
Reputation: thare is an unknown quantity at this point 
Solved Threads: 0
thare thare is offline Offline
Newbie Poster

Re: Problem with Input Form

 
0
  #3
Jul 12th, 2006
Thanks a lot ! I'll use an excel spreadSheet instead.

But there is a big problem with excel spreedsheet.
That's the user change my spreadsheet !
What can I do with this problem ?
Last edited by thare; Jul 12th, 2006 at 9:48 pm.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 1,181
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Solved Threads: 67
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: Problem with Input Form

 
0
  #4
Jul 16th, 2006
you can lock the workbook, sheet(s), columns or cells.

In the properties of an individual cell for example there is a checkbox in one of the tabs (the last one I think) that specifies whether the cell will be locked/unlocked when you lock the whole sheet. This way you can lock most of the sheet and users will only be able to modify the small number of cells that you want them to . The rest you can control programatically with VBA code which can also be password protected.

I havn't used Excel much for a while so I'm a bit rusty. But here's some good stuff about it:

http://j-walk.com/ss/excel/faqs/protectionFAQ.htm
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 8
Reputation: thare is an unknown quantity at this point 
Solved Threads: 0
thare thare is offline Offline
Newbie Poster

Re: Problem with Input Form

 
0
  #5
Jul 18th, 2006
Thanks !
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC