Overload resolution failed because no accessible 'new' can be called without a narrowing conversion
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a problem. I am getting this error: Overload resolution failed because no accessible 'new' can be called without a narrowing conversion. Private Sub bt_hapus_Click(sender As Object, e As EventArgs) Handles bt_hapus.Click Try Dim sqlda As New SqlClient.SqlDataAdapter("Delete from tblpasien where No_Rkm_Mds=" & Me.No_Rkm_MdsTextBox.Text, Me.KlinikGigiDataSet) sqlda.Fill(dbpasien, "tblpasien") MsgBox("Data telah berhasil dihapus") bersih() pasif() normal() Catch ex As Exception MsgBox(ex.Message) End Try End Sub All source code : Public