473,659 Members | 2,836 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Could someone help me with a scripting problem vs code behind

HI I've run into a big problem
I placed my webpage scripting in the code behind
here i put out form tags with table linement stuffffffffffff fff
Response.Write( "<form method=post action=catalog3 00.aspx
id=Formpost>")
Response.Write( "<br><div align=center>")

Response.Write( "<table border=0 width=""90%"" cellpadding=0
cellspacing=0 height=60>")

.......
.......
ect ect

then I read a direct file in and place the page out as such

dim wf as webfile ' this structure is defined in a module
'then I loop through the file and place the lines out

FileOpen(1, "c:\files\webfi le.txt", OpenMode.Random , ,
OpenShare.Share d, Len(wf))

do

s = x + 1 'x is used to get the record as well as part of the unique
name of the checkbox so I know which item was selected.......

FileGet(1, wf, x)

........ more code
........
I also place a check box out all with unique names
'qty
Response.Write( "<td width=70 bgcolor=" & bg_color & " align=right
nowrap height=29>" & ar2(x) & " * " & wf.stock_unit_p rice)

.........more code
.........

loop until eof(1)
this works great as far as how the page looks with the data
As you know when you put things out with the response.write it places
everything at the beginning of the html, even the

''''''' the reponse.write will be outputed here before the following
html
<%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="cat alog300.aspx.vb " Inherits="catal og.catalog300"% >
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Problem is when i try to retrieve a field that was dynamically
outputed from the code behind with the code behind as such
test = request("a field")

it comes back with nothing
any help would be appreciated

PS this all works in our regular asp scripts.....

Thanks Steve

Nov 20 '05 #1
1 1502
Cor
Steve,
As far as I know there is aspx.VB code behind and Asp and Aspx serverside
scripting.
When I look at your code it looks to me as serverside scripting.
Aspx.VB code behind gives compiled dll programs.

This newsgroup is for vb.net code (that is very good usable for
webdevolopment but not by using scripts).
In the newsgroup
news://msnews.microsoft.com/microsof...amework.aspnet they
talk a lot about serverside scripting.
Cor
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
2721
by: Quest Master | last post by:
I am interested in developing an application where the user has an ample amount of power to customize the application to their needs, and I feel this would best be accomplished if a scripting language was available. However, I want to code this application in Python, and I have not yet heard of an implementation of another scripting language into Python. An example of what I mean is this (an implementation of Lua into Ruby -- which I'd...
42
2029
by: Mike P. | last post by:
Hello I come from the world of C++ programming, and I'm used to writing programs that are actually executed by the CPU, and that run with some semblance of performance. I have taken the time to explore this .NET thing, and found that not only do .NET applications run extremely s-l-o-w-l-y, but the various .NET languages amount to nothing more than interpreted script languages. It is the common language run-time that actually executes your...
9
1134
by: kaeli | last post by:
Hey guys, I found some code I really like. ;) It has who wrote it there, but no contact info. If I attribute the author, is that enough, or should I also try to contact him for permission to use the code? What do you all think? --
8
2572
by: rmacias | last post by:
I am maintaining an application that was writting in VB6 and has VBA 6.2 integrated into it. The VBA SDK allows the users of the application to generate VBA projects and scripts to gain access to the application and perform product specific functions. This provides maximum flexiability for our users. We are about to convert this application into .NET. In doing some proof of concepts, we were able to integrate VBA 6.4 into a .NET...
9
1873
by: bounce | last post by:
Hello, Consider the following HTML: <form action="/cgi-bin/mailmanager.pl" method="post"> <input type="hidden" name="recipient" value="bounce@springbock.net"> <input type="hidden" name="subject" value="some value"> <p><input type="submit" value="Submit"></p> </form>
1
1973
by: Cremoni | last post by:
I'm looking for a visual scripting language to write poker logic. There must be several things out there, but I haven't been able to find anything suitable. I've seen similar systems in the past. I recently left Maxis, where I used to work on The Sims. It seems to be common knowledge that we used a visual scripting language called "Edith". I'm guessing that a lot of video game developers write their own similar systems. Here are some...
1
3172
by: Adnan | last post by:
Hi, I am porting an existing ASP applcation to ASP.NET which heavily depends on Mainpulation through Scripting.Dictionary. Can anyone help me out with an alternative to use of Scripting.Dictionary. Secondly, most of the migration done through VS.NET wizard has placed the existing ASP code in <Script> tags in an aspx place. Does the runtime take <script language="VB" runat="Server"> tag as a .NET code and compile it or leaves it for...
4
1527
by: Jim Heavey | last post by:
Hello, I am trying to figure out how to do some scripting. Can I script in csharp? Can I script in VBScript if my web page has been developed using csharp? Can I iterate though a datatable object in my script file? How can I reference the datatable object which was created in my code-behind form? Thanks in advance for your assistance!!
8
13189
by: Rob T | last post by:
When I was using VS2003, I was able to compile my asp.net project locally on my machine and copy it to the production server and it would run just fine. I've now converted to VS2005. The project compiles & runs fine locally, but when I copy to the production machine, I get this error: Parser Error Message: Could not load type 'Global'. Source Error: Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="Global" %> Source...
0
8427
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8332
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8627
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7356
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6179
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2750
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.