Last post Jun 08, 2006 05:14 AM by chezhian_in05
Participant
1473 Points
625 Posts
Jun 08, 2006 05:14 AM|chezhian_in05|LINK
step 1 : type cast the server variable to string (which u have to show in message box )
say string dtime = System.Datetime.now().Tostring();
step 2: code
Response.Write("<script Language='Javascript'> alert(' "+ dtime+" ') </Script>");
plz feel free to change according to your wish.
With Thanks.,,
R.Chezhian.,
Participant
1473 Points
625 Posts
to show server variable in message box
Jun 08, 2006 05:14 AM|chezhian_in05|LINK
step 1 : type cast the server variable to string (which u have to show in message box )
say string dtime = System.Datetime.now().Tostring();
step 2: code
Response.Write("<script Language='Javascript'> alert(' "+ dtime+" ') </Script>");
plz feel free to change according to your wish.
With Thanks.,,
R.Chezhian.,
R.Chezhian.,
=============================================
Please Mark the helpful post(s) as Answered