Call ASP.NET page method from class file method

前端 未结 4 1809
不思量自难忘°
不思量自难忘° 2021-01-29 05:38

I am working on a project(ASP.NET website) where i need to call method in webpage from a class.

///Default Page Method is

public partial class _Default :         


        
4条回答
  •  一个人的身影
    2021-01-29 06:19

    You have to work other way around. You write the method in BL that returns the objPersonList call it from your page to bind.

提交回复
热议问题