in

ASP.NET Weblogs

IronPython Forums

August 2007 - Posts

  • I want to show the excetion in message box in asp.Net webpage

    try { string str = "insert into employee(empid,empname,empgrade,empdept,empsal) values(" + TextBox1.Text + ",'" + TextBox2.Text + "','" + TextBox3.Text + "'," + TextBox4.Text + "," + TextBox5.Text + ")" ; SqlCommand cmd = new SqlCommand (str, cn); cn.Open(); cmd.ExecuteNonQuery(); } catch ( Exception ee) { Response.Write(ee.Message); } I tried it using javascript but Iam getting the message What I wrote ,but I want to get the returned exception. could any body help me out from this .. regards kapil..................... Read More...
  • I got some problem while working with nunittool to test the controls on the(ASP.NET) web page

    I am unable to get the namespace like nunitasp even though I imported name spaces like using NUnit.Framework.SyntaxHelpers; using NUnit.Extensions.Asp.AspTester; using NUnit.Extensions.Asp; using NUnit.Framework; I reffered some sites inorder to overcome this problem finally, I found that the above specified namespaces are sufficient to test the controls and their functionalities on the web page one think that even, I am unable to acces the method like assertvisibility() could any body pls help me out which dll is required to get the namespace like nunitasp Regards v v p n kapil.......... Read More...
  • Evaluating instead of compiling the IronPython page at every request

    Hi there, I am working on a Virtual Path Provider that server IronPython .aspx page as needed. With VPP, I have the ability to modify the IronPython source code of the ASPX page on the fly. The problem is, I cannot figure out a way to force ASP.Net to check the source everytime it receives a request. So there's always a delay between the source code change in the VPP back end to the "in memory" ASPX page that IIS serves. Is there any way or setting in the current VPP to allow this behaviour (Always check source - do not cache) in ASP.Net futures? Read More...
More Posts