Author: TTmary | Posted on: 7/31/2008 12:01:54 AM | Views : 259

hi all,

 in my apsx page, i have  <asp:Button Text="submit" OnClick="Button_Click" Runat="server" id="Button1" />  Sub Button_Click (s as Object, e As EventArgs)

Dim objConnection
If (((URL1.Text <>"")or(URL2.Text<>"")or(URL3.Text<>"")or(URL4.Text<>""))and((mybox.Text<>"")and(email.Text<>"")))
objConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;data source=" & Server.MapPath("/dbComment.mdb"))
Dim sql="INSERT INTO tComment(name, email, URLOne,URLTwo,URLThree,URLFour,sugges ...

Go to the complete details ...