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
865
Unterminated String error in webtextedit
posted

Hi,

    I have 4 webtextedit buttons. in the server i am putting the value from the server to the webtext on page load.. please see the follwing code.

this.txtEmail.Text = Convert.ToString(ds_UserDetails.Tables[0].Rows[0]["EmailID"]).Trim();
this.txtCompany.Text = Convert.ToString(ds_UserDetails.Tables[0].Rows[0]["Company"]).Trim();

this.txtAddress.Text = Convert.ToString(ds_UserDetails.Tables[0].Rows[0]["address"]).Trim();
this.txtPhone.Text = Convert.ToString(ds_UserDetails.Tables[0].Rows[0]["phone"]).Trim();

 when binding i am getting an error "Unterminated String Constant". when using normal asp:testbox i am not getting this error. i want to use webtextedit button only. Can someone please help me out on solving this issue?