Whats wrong with the following statement because i am getting Run-time error saying "Syntax error in INSERT statement"
VB Code:
cn.Execute "Insert Into News (sno,subject,topic,user,date) values (" & count & ",'" & Trim(txtSubject.Text) & "','" & Trim(txtMessage.Text) & "','" & frmLogin.gstrUsername & "','" & strDate & "' )"
