Hi friends,
I created a dataset in my code and some columns contains True/False
value. (In SQL Data, the Data Type of these columns are bit)
I can bind the other data in string format to Text box is ok. Please
see, like this.
+++++++++++++++ +++++++++++++++ +++++++++++++++ ++++++++++++++
varDataSetForCu stomerProfile is Dataset
txtOwnerName.Te xt = varDataSetForCu stomerProfile.T ables[0].Rows[0]
["OwnerName"].ToString();
+++++++++++++++ +++++++++++++++ +++++++++++++++ ++++++++++++++
This is OK.
But I can't bind the data of "Active" Column (True/False) Value to
CHEKC BOX control on that FORM. Like this...
this.chkIsActiv e.DataBindings. Add("Checked", this,
varDataSetForCu stomerProfile.T ables[0].Rows[0]["IsActive"]);
<<<<<<<<<<<<<<< <<<<<<<<<<<<<<< <<<<<<<<<<<<< <<
Anyone could please to give me a way to solve this difficulty.
Thank,
Victor
I created a dataset in my code and some columns contains True/False
value. (In SQL Data, the Data Type of these columns are bit)
I can bind the other data in string format to Text box is ok. Please
see, like this.
+++++++++++++++ +++++++++++++++ +++++++++++++++ ++++++++++++++
varDataSetForCu stomerProfile is Dataset
txtOwnerName.Te xt = varDataSetForCu stomerProfile.T ables[0].Rows[0]
["OwnerName"].ToString();
+++++++++++++++ +++++++++++++++ +++++++++++++++ ++++++++++++++
This is OK.
But I can't bind the data of "Active" Column (True/False) Value to
CHEKC BOX control on that FORM. Like this...
>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>> >>
varDataSetForCu stomerProfile.T ables[0].Rows[0]["IsActive"]);
<<<<<<<<<<<<<<< <<<<<<<<<<<<<<< <<<<<<<<<<<<< <<
Anyone could please to give me a way to solve this difficulty.
Thank,
Victor
Comment