Roseta, The line in red doesn't show up in my mail client. Just make sure every code statement is on one line, the text might have wrapped in your mail client.
Yes, you can write script in the .aspx (HTML) portion of an ASP.NET page, though I tend to only write client side script in the aspx and keep my server side script in the code behind portion of the file .aspx.vb (.aspx.cs in C#). In this instance, the server side script is generating client side javascript that will be rendered and executed when the page is generated. As I mentioned, this is a hack to work around ASP.NET's posting model which wants to post back to itself. It is the only way I have discovered to do what you want to do which is to post values to and redirect to a page in another application. If you want to post and redirect to a page in your own application, There are other methods, including the use of Server.Transfer and the Context.Items collection, or a simple redirect and a session variable. Here are some links for getting started with learning asp.net... http://www.asp.net/tutorials/quickstart.aspx http://www.learnasp.com/learnasp/ http://aspnet.4guysfromrolla.com/ HTH -- Dean Fiala Very Practical Software, Inc http://www.vpsw.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
