Thanks so much for the clarification. I'm a java (language, script,
servlet) person, and I let VisualStudio give me what it could for
"free" when making these asp pages. So, yeah, I'm new to this flavor
of pages. I'll come back to this with a fresh mind and better
direction.
Thanks Much,
sara
Bob Barrows [MVP] wrote:[color=blue]
>
skeddy@gmail.com wrote:[color=green]
> > Bob Barrows [MVP] wrote:
> >[color=darkred]
> >> What have you tried (show us what you really have instead of
> >> "something like" what you have).
> >>
> >> It never hurts to give us a small repro page to play with. By "repro
> >> page" I mean a page where nothing except the bits related to your
> >> problem exist.[/color]
> >
> > Here's what I have, paired down for the sake of clarity:[/color]
>
> You are definitely confused between classic ASP and ASP.Net. These are
> two totally different technologies.
> You are mixing vbscript (all variables are variants, adodb objects) with
> vb.net (all variables have datatypes, recordsets don't exist, etc.
> etc.) - not a good idea.
>
> Go back to the books and decide which technology you are going to use.
>
> If you decide on classic asp with vbscript, then things like
>[color=green]
> > Public Sub SaveBtn_Click(ByVal sender As Object, ByVal e As
> > System.EventArgs)[/color]
>
> are not supported. For one thing, you see those "As ..." expressions?
> Those will cause an error in vbscript. For another, there are no
> server-side events in classic ASP: the only information about a request
> that is available to server-side code is contained in the Request
> collections.
> BTW, if you decide to go with classic ASP/vbscript, then go back and
> look at the repro page I posted ... it works. Try it and see.
>
> If you need to use .Net server-side events, then you need to use asp.net
> and either vb.net or C# (or whatever other managed language suits your
> fancy). For asp.net support go to
> microsoft.public.dotnet.framework.aspnet
>
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.[/color]