B
bubzhang
The line below always fail, Why?
myEXESvr.CmySimpleClass obj=new myEXESvr.CmySimpleClass();
//////////////////////////////////C#Source code
///////////////////////////////////////////////
It's a web application written with C#
WebFrom1.aspx.cs
public class WebForm1 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Button Button1;
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
}
private void Button1_Click(object sender, System.EventArgs e)
{
try
{
myEXESvr.CmySimpleClass obj=new myEXESvr.CmySimpleClass();
}
catch(Exception _e)
{
_e.ToString();
}
}
}
myEXESvr.CmySimpleClass obj=new myEXESvr.CmySimpleClass();
//////////////////////////////////C#Source code
///////////////////////////////////////////////
It's a web application written with C#
WebFrom1.aspx.cs
public class WebForm1 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Button Button1;
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
}
private void Button1_Click(object sender, System.EventArgs e)
{
try
{
myEXESvr.CmySimpleClass obj=new myEXESvr.CmySimpleClass();
}
catch(Exception _e)
{
_e.ToString();
}
}
}