|
 |
aspx_beginners thread: ASPX and Code-Behinds
Message #1 by "courtney" <jcsmith10@a...> on Wed, 22 May 2002 15:28:47 -0400
|
|
I have a piece of code that works file in ASPX page yet when I try to move
it to a Code-Behind I get a 'Declaration Expected' on the 'h' value. Anyone
know why this happens?
Dim h As Hashtable = New Hashtable()
h.add("RA", "Richard Anderson")
thanks,
Courtknee
Message #2 by "Sri Vidya" <svsvidya@i...> on Thu, 23 May 2002 09:47:08 +0530
|
|
Hi Courtney,
Can you post the entire code so that we will know exactly what is
happening?
Cheers,
Vidiya.
On Wed, 22 May 2002 15:28:47 -0400
"courtney" <jcsmith10@a...> wrote:
>I have a piece of code that works file in ASPX page yet when I try to
>move
>it to a Code-Behind I get a 'Declaration Expected' on the 'h' value.
> Anyone
>know why this happens?
>Dim h As Hashtable = New Hashtable()
>
>h.add("RA", "Richard Anderson")
>
>
>
>thanks,
>
>Courtknee
>
>
>
---------------------------------------------
http://mail.indiainfo.com
India's first ISO certified portal
Check world time at http://time.indiainfo.com
Message #3 by "Datatal AB - Gauffin, Jonas" <Jonas@d...> on Thu, 23 May 2002 10:27:29 +0200
|
|
have you forgot runat=3Dserver in the aspx page for 'h'?
> -----Original Message-----
> From: Sri Vidya [mailto:svsvidya@i...]
> Sent: den 23 maj 2002 06:17
> To: aspx_beginners
> Subject: [aspx_beginners] Re: ASPX and Code-Behinds
>
>
> Hi Courtney,
>
> Can you post the entire code so that we will know exactly what is
> happening?
>
> Cheers,
> Vidiya.
>
>
>
>
> On Wed, 22 May 2002 15:28:47 -0400
> "courtney" <jcsmith10@a...> wrote:
> >I have a piece of code that works file in ASPX page yet when
> I try to
> >move
> >it to a Code-Behind I get a 'Declaration Expected' on the 'h' value.
> > Anyone
> >know why this happens?
> >Dim h As Hashtable =3D New Hashtable()
> >
> >h.add("RA", "Richard Anderson")
> >
> >
> >
> >thanks,
> >
> >Courtknee
> >
> >
> >
>
> ---------------------------------------------
> http://mail.indiainfo.com
> India's first ISO certified portal
> Check world time at http://time.indiainfo.com
>
>
>
Message #4 by philip.hatt@a... on Wed, 29 May 2002 06:32:28
|
|
One question: what does runat=3dserver mean? Should it not be
runat=server ? Or have I missed something...
Philip
> have you forgot runat=3Dserver in the aspx page for 'h'?
> -----Original Message-----
> From: Sri Vidya [mailto:svsvidya@i...]
> Sent: den 23 maj 2002 06:17
> To: aspx_beginners
> Subject: [aspx_beginners] Re: ASPX and Code-Behinds
>
>
> Hi Courtney,
>
> Can you post the entire code so that we will know exactly what is
> happening?
>
> Cheers,
> Vidiya.
>
>
>
>
> On Wed, 22 May 2002 15:28:47 -0400
> "courtney" <jcsmith10@a...> wrote:
> >I have a piece of code that works file in ASPX page yet when
> I try to
> >move
> >it to a Code-Behind I get a 'Declaration Expected' on the 'h' value.
> > Anyone
> >know why this happens?
> >Dim h As Hashtable =3D New Hashtable()
> >
> >h.add("RA", "Richard Anderson")
> >
> >
> >
> >thanks,
> >
> >Courtknee
> >
> >
> >
>
> ---------------------------------------------
> http://mail.indiainfo.com
> India's first ISO certified portal
> Check world time at http://time.indiainfo.com
>
>
>
Message #5 by "Stephen Biggerstaff" <stephenb@w...> on Wed, 29 May 2002 12:09:44 +0100
|
|
The =3D and some other artifacts are the result of quoted-printable MIME
messages being interpreted incorrectly at some point in their journey
(probably). This is not uncommon.
Stephen
<philip.hatt@a...> wrote in message
news:178954@a..._beginners...
>
> One question: what does runat=3dserver mean? Should it not be
> runat=server ? Or have I missed something...
>
> Philip
>
> > have you forgot runat=3Dserver in the aspx page for 'h'?
>
> > -----Original Message-----
> > From: Sri Vidya [mailto:svsvidya@i...]
> > Sent: den 23 maj 2002 06:17
> > To: aspx_beginners
> > Subject: [aspx_beginners] Re: ASPX and Code-Behinds
> >
> >
> > Hi Courtney,
> >
> > Can you post the entire code so that we will know exactly what is
> > happening?
> >
> > Cheers,
> > Vidiya.
> >
> >
> >
> >
> > On Wed, 22 May 2002 15:28:47 -0400
> > "courtney" <jcsmith10@a...> wrote:
> > >I have a piece of code that works file in ASPX page yet when
> > I try to
> > >move
> > >it to a Code-Behind I get a 'Declaration Expected' on the 'h' value.
> > > Anyone
> > >know why this happens?
> > >Dim h As Hashtable =3D New Hashtable()
> > >
> > >h.add("RA", "Richard Anderson")
> > >
> > >
> > >
> > >thanks,
> > >
> > >Courtknee
> > >
> > >
> > >
> >
> > ---------------------------------------------
> > http://mail.indiainfo.com
> > India's first ISO certified portal
> > Check world time at http://time.indiainfo.com
> >
> >
> >
>
>
|
|
 |