Can anyone tell me what this error message means, and what to do to correct it. Here is the code that has the error:
"Operator '&' is not defined for types 'String' and 'System.Web.UI.Label"
--------------------------------------------------this is my code behiend---------------------------------------------------
Partial Class DesktopModules_News_News
Inherits Entities.Modules.PortalModuleBase
Protected Sub ButtonInsertNews_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ButtonInsertNews.Click
Dim TabID As Label = formView1.FindControl("LblChoicedTab")
Dim DropDownList1 As DropDownList = formView1.FindControl("DropDownList1")
TabID.Text = DropDownList1.SelectedValue
Dim Titre As TextBox = formView1.FindControl("TextBoxTitreNews")
Dim Contenue As TextBox = formView1.FindControl("TextBoxContenueNews")
Dim Connection As System.Data.SqlClient.SqlConnection
Connection = New System.Data.SqlClient.SqlConnection
Connection.ConnectionString = "server=ISITC-A31266378;uid=dnnuser40;pwd=1311984;database=DotNetNuke40"
Connection.Open()
Dim Command As System.Data.SqlClient.SqlCommand
Dim SQL As String
SQL = "INSERT INTO [News](TabID,Titre,Contenue) VALUES('" & TabID & "','" & Titre & "','" & Contenue & "')"
Command = New System.Data.SqlClient.SqlCommand(SQL, Connection)
Command.ExecuteNonQuery()
End Sub
End Class