This is a migrated thread and some comments may be shown as answers.

radpageview issue

1 Answer 35 Views
This is a migrated thread and some comments may be shown as answers.
Tendai
Top achievements
Rank 1
Tendai asked on 20 Feb 2012, 01:01 PM
Private Sub InsertNewContactDetails()
 
        Dim iSql As String = "Insert into CompanyDetails (EmailOffice,EmailAdmin,EmailOrders,EmailAccounts,EmailOther,ContactPersonOffice,ContactPersonAdmin,ContactPersonOrders,ContactPersonAccounts,ContactPersonOther,ContactNumber,ContactNumberExtension,ContactnumberFax,ContactNumberFaxExtension,ContactNumberMobile1,ContactNumberMobile2,ContactNumberDirectNumber,ContactNumberFaxToEmail) VALUES ( ' " + txtEmailOffice.Text + " ',' " + txtEmailAdmin.Text + " ' ,' " + txtEmailOrders.Text + " ' ,  ' " + txtEmailAccounts + " ' , ' " + txtEmailOther.Text + " ',  ' " + txtContactPersonOffice.Text + " ', ' " + txtPostalAddress1.Text + " ',' " + txtPostalAddress2.Text + " ', ' " + cmbPostalAddress3.Text + "','" + cmbCategory.Text + "' ,'" + cmbClassification.Text + "')"
        Dim da As New OleDb.OleDbDataAdapter(iSql, MyConnection)
        Dim dt As New DataTable
        da.Fill(dt)
        da.Dispose()
        myDataSet()
        txtEmailOffice.Text = ""
 
    End Sub
i've got a form that i am working on and on that form i have a radpageview control which has several pages . my text boxes are on the radpageviewpage control and my butttons are on the main form. the code to insert information on the first radpageviewpage is working well however the code to insert information on the second radpageviewpage is not accepting my code. when I use the code above I get the following error

"Operator '+' is not defined for types 'String' and 'Telerik.WinControls.UI.RadTextBox'." 

1 Answer, 1 is accepted

Sort by
0
Ivan Petrov
Telerik team
answered on 21 Feb 2012, 04:38 PM
Hello Tendai,

Your question has already been answered in the other thread that you have opened about the same topic. The name of the thread is "Operator '+' is not defined for types 'String' and 'Telerik.WinControls.UI.RadTextBox' error". You can find the thread in Your Telerik Account.

All the best,
Ivan Petrov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Asked by
Tendai
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Share this question
or