|
-
Nov 28th, 2003, 01:43 PM
#1
Thread Starter
Hyperactive Member
which is faster for adding records?
using a datarow object or regular sql syntax such as..
Dim oCmdInsertSchool As New MySqlCommand("insert into school (name , db, host) values('" & txtSchool.Text & "', '" & txtDB.Text & "', '" & txtHost.Text & "')", oConn)
oCmdInsertSchool.ExecuteNonQuery()
rather than
dim orow as datarow
orow.items("name") = txtschool.text
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|