Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
305
add extra property to AppointmentDataBinding class
posted

i need some more properties in the DataBindingsForAppointments. how to add user defined properties to the AppointmentDataBinding class.

i have tried to inherit AppointmentDataBinding class, but i cant because that class doesnt have constructor. so i am getting error.

My Code is given below:

public class AppointmentsDataBinding_User : AppointmentsDataBinding

{

private string _userDefinedProperty = string.Empty;

//user defined properties

[DefaultValue("")][Editor("System.Windows.Forms.Design.DataMemberFieldEditor, System.Design", "System.Drawing.Design.UITypeEditor, System.Drawing")]public string UserDefinedProperty  { get { return this._userDefinedProperty ; } set { this._userDefinedProperty = value; } }

}

 

 

Parents Reply Children
No Data