The Problem is:
I have a Column in my DB and it's a tinyint there's no way to chnage that!
But this tinyint is set througe a DataGrid,
so if ya create a new set of Data u check a CheckBox if it's in or not. And hat's no Problem.
But when I want to update a existing set, i want it to have all stats updatet what it is in DB, but in this problem Colum in DB is jut an int (0 or 1) but the CheckBox wants an Boolean....
any ideas how to solve that???
That's the way i already tryd it.
But The Problem here is, When it comes to DataBind Method it says It couldn't be done!
<asp:CheckBox ID="chkResendEdit" Checked='<# FormatBooleanFromInt((string)DataBinder.Eval(Container.DataItem, "ResendErrSMS")) %>' Text="Resend" Runat="server" />
public Boolean FormatBooleanFromInt(string svalue)
if (svalue == "0")