ObjectList.OnDataBinding(EventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the DataBinding event. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
protected:
override void OnDataBinding(EventArgs ^ e);
protected override void OnDataBinding (EventArgs e);
override this.OnDataBinding : EventArgs -> unit
Protected Overrides Sub OnDataBinding (e As EventArgs)
Parameters
Exceptions
the data source provided no data to bind to.
Remarks
This method notifies a server control to perform any logic for binding data that is associated with it.
If you want to handle the DataBinding event, you should override this event-handling method. This ensures that all delegates attached to the DataBinding event are invoked.
Applies to
See also
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk