Interview Question in SQL Server Security


 

Interview Question :: Please can you help me


please write code asp.net because connection with acsess data base and insert on table in data base
i have data base on acsess name this data base score
and i have table name table1
and contain is two field "name,score"
but if i run this page error on the inser statement error
this code
<script runat="server">

Protected Sub form1_Load(ByVal sender As Object, ByVal e As System.EventArgs)

Dim cnc As New Data.OleDb.OleDbConnection
Dim udl As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\game\score.mdb;Persist Security Info=False"
Dim cmd As New Data.OleDb.OleDbCommand

Dim sql As String = "INSERT INTO table1 (name,score) values "&name&","& a &")"

cmd.CommandText = sql
cnc.ConnectionString = udl
cnc.Open()
cmd.Connection = cnc
Dim DR As Data.OleDb.OleDbDataReader = cmd.ExecuteReader

DR.Close()

End Sub

</script>
Answers to "Please can you help me"
RE: Please can you help me?

May be you can contact a freelance programmer at website like http://www.getafreelnacer.com/ .
 
Vote for this answer ::  
RE: Please can you help me?

You may contact a expert helper live at website like http://ccietutorial.com/
 
Vote for this answer ::  
Update Alert Setting