Here is my code:
frmShopHandMain.txtLaborRate01.DataBindings.Add("Text", frmShopHandMain.Database1DataSet.Tables["Paycode"], "PayCodeRate")
I am binding at design time the text property of the above textbox and have to stop binding for various reasons and I can't seem to figure this out. Everything Is working fine at design time and field is getting updated properly.
frmShopHandMain.txtLaborRate01 = mytextbox
"Text" = Property of the textbox I want to bind to
frmShopHandMain.Database1DataSet = DataSet involved
"Paycode" = The table in the database
"PayCodeRate" = Member of the table go get the data from
Could anyone help me?
The system just keeps Underlining the code in the designer.