944,171 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 1958
  • ASP RSS
Jul 12th, 2006
0

Problem with Input Form

Expand Post »
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 !
Attached Thumbnails
Click image for larger version

Name:	TimeTable.GIF
Views:	14
Size:	5.8 KB
ID:	2162  
Last edited by thare; Jul 12th, 2006 at 1:16 pm.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
thare is offline Offline
8 posts
since Sep 2005
Jul 12th, 2006
0

Re: Problem with Input Form

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.
Reputation Points: 262
Solved Threads: 68
Veteran Poster
hollystyles is offline Offline
1,181 posts
since Feb 2005
Jul 12th, 2006
0

Re: Problem with Input Form

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
thare is offline Offline
8 posts
since Sep 2005
Jul 16th, 2006
0

Re: Problem with Input Form

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
Reputation Points: 262
Solved Threads: 68
Veteran Poster
hollystyles is offline Offline
1,181 posts
since Feb 2005
Jul 18th, 2006
0

Re: Problem with Input Form

Thanks !
Reputation Points: 10
Solved Threads: 0
Newbie Poster
thare is offline Offline
8 posts
since Sep 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: stock control guys
Next Thread in ASP Forum Timeline: displaying Outlook2003 calendar events





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC