更新时间:2022-01-22 03:40:45
我不知道,有此属性。我相信,在Page_Load事件(或者一些渲染事件)只检查是否值已设置。如果没有,那么抛出异常。
I don't know that there's an attribute for this. I believe on the Page_Load event (or perhaps some rendering event) just check if the value has been set. If not then throw an exception.