smart client 初级小问题
我在aspx文件里面写以下程序:
ObjectHandle hdlSample;
Form frm;
string assemblyFileName = "C://Inetpub//wwwroot//smartClientWeb//smartClient.dll";
Assembly asm = Assembly.LoadFrom(assemblyFileName);
hdlSample=Activator.CreateInstanceFrom(assemblyFileName,"smartClient.frmLogin");
frm= (Form)hdlSample.Unwrap();
Response.Write(frm.Width+" "+frm.Text);
frm.Show();
Response出来的结果都是对的,但是为什么在页面上不弹出我需要的windows form呢?入门初级问题,谢谢。