Re: How to Run a Code Stored in String

by Cor Ligthert[MVP] on 11/1/2007 8:13:00 AM This is a multi-part message in MIME format.

------=_NextPart_000_01FA_01C81C56.A671CC20
Content-Type: text/plain;
   charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Bharani,

You are in this case working at the server side, while you want to do =
something at client side.

Here a sample how you can do things as you want.

http://www.vb-tips.com/AstroBoys.aspx

However in your case it can much simpler.=20

If you want to show 1 on a page, then set an aspbet label on it, and set =
in your server side code (you call this probably code behind)=20

Mylabel =3D "1"=20

Cor

------=_NextPart_000_01FA_01C81C56.A671CC20
Content-Type: text/html;
   charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3Diso-8859-1>
<META content=3D"MSHTML 6.00.6000.16546" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY id=3DMailContainerBody=20
style=3D"PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 12pt; =
COLOR: #000000; PADDING-TOP: 15px; FONT-FAMILY: Calibri"=20
bgColor=3D#ffffff leftMargin=3D0 topMargin=3D0 name=3D"Compose message =
area"=20
acc_role=3D"text" CanvasTabStop=3D"true">
<DIV><FONT face=3DArial size=3D2>Bharani,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>You are in this case working at the =
server side,=20
while you want to do something at client side.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Here a sample how you can do things as =
you=20
want.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.vb-tips.com/AstroBoys.aspx">http://www.vb-tips.com/Ast=
roBoys.aspx</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>However in your case it can much =
simpler.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If you want to show 1 on a page, then =
set an aspbet=20
label on it, and set in your server side code (you call this probably =
code=20
behind) </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Mylabel =3D "1"</FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Cor</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_01FA_01C81C56.A671CC20--

 

Re: How to Run a Code Stored in String

by Bharani Dharan on 11/1/2007 10:32:00 PM This is a multi-part message in MIME format.

------=_NextPart_000_0072_01C81CA8.E3297E90
Content-Type: text/plain;
   charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

thnx cor.

tat was a gr8 help.

Regs,
Bharani

--=20

Regs,
Bharani Dharan
Windows Live Butterfly
  "Cor Ligthert[MVP]" <notmyfirstname@planet.nl> wrote in message =
news:5194D6FC-58A5-4D8E-89AF-2DC57BFBA456@microsoft.com...
  Bharani,

  You are in this case working at the server side, while you want to do =
something at client side.

  Here a sample how you can do things as you want.

  http://www.vb-tips.com/AstroBoys.aspx

  However in your case it can much simpler.=20

  If you want to show 1 on a page, then set an aspbet label on it, and =
set in your server side code (you call this probably code behind)=20

  Mylabel =3D "1"=20

  Cor

------=_NextPart_000_0072_01C81CA8.E3297E90
Content-Type: text/html;
   charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3Diso-8859-1>
<META content=3D"MSHTML 6.00.6000.16544" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY id=3DMailContainerBody=20
style=3D"PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 12pt; =
COLOR: #000000; PADDING-TOP: 15px; FONT-FAMILY: Calibri"=20
bgColor=3D#ffffff leftMargin=3D0 topMargin=3D0 acc_role=3D"text" =
CanvasTabStop=3D"true"=20
name=3D"Compose message area">
<DIV>thnx cor.</DIV>
<DIV>&nbsp;</DIV>
<DIV>tat was a gr8 help.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regs,</DIV>
<DIV>Bharani</DIV>
<DIV><BR>-- <BR><BR>Regs,<BR>Bharani Dharan<BR>Windows Live =
Butterfly</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV>"Cor Ligthert[MVP]" &lt;<A =
title=3Dmailto:notmyfirstname@planet.nl=20
  =
href=3D"mailto:notmyfirstname@planet.nl">notmyfirstname@planet.nl</A>&gt;=
 wrote=20
  in message <A =
title=3Dnews:5194D6FC-58A5-4D8E-89AF-2DC57BFBA456@microsoft.com=20
  =
href=3D"news:5194D6FC-58A5-4D8E-89AF-2DC57BFBA456@microsoft.com">news:519=
4D6FC-58A5-4D8E-89AF-2DC57BFBA456@microsoft.com</A>...</DIV>
  <DIV><FONT face=3DArial size=3D2>Bharani,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>You are in this case working at the =
server side,=20
  while you want to do something at client side.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Here a sample how you can do things =
as you=20
  want.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><A =
title=3Dhttp://www.vb-tips.com/AstroBoys.aspx=20
  =
href=3D"http://www.vb-tips.com/AstroBoys.aspx">http://www.vb-tips.com/Ast=
roBoys.aspx</A></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>However in your case it can much =
simpler.=20
  </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>If you want to show 1 on a page, then =
set an=20
  aspbet label on it, and set in your server side code (you call this =
probably=20
  code behind) </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Mylabel =3D "1"</FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Cor</FONT></DIV>
  <DIV><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0072_01C81CA8.E3297E90--