assume you are talking about ASP.NET, trySystem.Web.HttpContext.Current.Response.Write("try...");

解决方案 »

  1.   

    a-ok.
    thanks very.
    every time, when i come into contact with some questions, but you can help me, thanks again.
      

  2.   

    and now, i want to know, in asp.net using c#, why can't to use response.write in  class and only a method as you say?
      

  3.   

    Response is a member of Page, your class is not derived from Page
      

  4.   

    o, i know now by you explain, thanks