G
Guest
Hi,
I have to create a CheckBox, and i would like will be checked if there is a
value in a property added, and not checked if there is another value.
I added 2 property (string) to the checkbox; the first , CheckedValue is the
value for whom i want the check will be checked. The second is the opposite.
I Added a handler to the checkbox in this way:
this.DataBinding+=new EventHandler(AreaITWebCheckBox_DataBinding);
and
private void AreaITWebCheckBox_DataBinding(object sender, EventArgs e)
{
}
I binded another new property (Valore) in this way:
DataBinder.Eval(dsGestione1, "Tables[RUOLO].DefaultView.[0].IND_ADM")
where IND_ADM can have value "S" or "N".
The question is:
How can i acced to the value of property Valore from the eventHandler?
If this is not possible, how can I realize this component in another way?
Sincerely
Alessandro
I have to create a CheckBox, and i would like will be checked if there is a
value in a property added, and not checked if there is another value.
I added 2 property (string) to the checkbox; the first , CheckedValue is the
value for whom i want the check will be checked. The second is the opposite.
I Added a handler to the checkbox in this way:
this.DataBinding+=new EventHandler(AreaITWebCheckBox_DataBinding);
and
private void AreaITWebCheckBox_DataBinding(object sender, EventArgs e)
{
}
I binded another new property (Valore) in this way:
DataBinder.Eval(dsGestione1, "Tables[RUOLO].DefaultView.[0].IND_ADM")
where IND_ADM can have value "S" or "N".
The question is:
How can i acced to the value of property Valore from the eventHandler?
If this is not possible, how can I realize this component in another way?
Sincerely
Alessandro