| | |
Form request help
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2006
Posts: 12
Reputation:
Solved Threads: 0
ASP.NET Syntax (Toggle Plain Text)
sql = "SELECT * FROM tblcsvdump" set rs = connection.execute(sql) records = rs.Fields.Count dim heading(100) dim pulled(100) dim i dim count dim VAL dim VEL i=0 count = 0 for i=0 to records heading(count) = rs.Fields(count) response.write(heading(count)) header = heading(count) '**** THIS ROW HAS ERROR pulled(count) = Request.Form(header) count=count+1 next
The error i receive is....
The function expects a string as input.
What am i doing wrong guys?
•
•
Join Date: Jul 2005
Posts: 483
Reputation:
Solved Threads: 19
this is very odd code, so let's start by cleaning it up a little
now, what line has error?
header = heading(i)
or
pulled(i) = Request.Form(header)
ASP.NET Syntax (Toggle Plain Text)
sql = "SELECT * FROM tblcsvdump" set rs = connection.execute(sql) records = rs.Fields.Count dim heading(100) dim pulled(100) dim i dim VAL dim VEL for i=0 to records heading(i) = rs.Fields(i) response.write(heading(i)) header = heading(i) '**** THIS ROW HAS ERROR pulled(i) = Request.Form(header) next
now, what line has error?
header = heading(i)
or
pulled(i) = Request.Form(header)
![]() |
Similar Threads
- Need ides for my final year project (PHP)
- Select Box populates text field (JavaScript / DHTML / AJAX)
- Search in a String, spam in guestbook (ASP)
- Hello (Community Introductions)
- Unable to insert form data into a database (ASP)
- Javascript, Form fields validation and submit (JavaScript / DHTML / AJAX)
Other Threads in the ASP.NET Forum
- Previous Thread: Where is the table ????
- Next Thread: Upload a Directory with its Files and subfloders
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn cac checkbox child class click commonfunctions compatible confirmationcodegeneration content contenttype control countryselector courier css database datagrid datagridview datagridviewcheckbox datalist deadlock deployment development dgv dialog dropdownmenu dynamic edit embeddingactivexcontrol expose feedback findcontrol flash flv formatdecimal forms formview gridview homeedition iframe iis javascript jquery list menu mono mssql multistepregistration nameisnotdeclared novell objects order problem ratings rotatepage save search security serializesmo.table silverlight smartcard sql sqlserver2005 ssl suse textbox tracking treeview typeof unauthorized validation vb.net video virtualdirectory vista visual-studio visualstudio vs2008 web webarchitecture webdevelopemnt webdevelopment wizard xml youareanotmemberofthedebuggerusers






