There are many way Insert data in database table.
I described Five way here.
1. using sql command techniques insert data into database table
2.Using Bind parameters sql command techniques insert data into database table
3.using sql command with Parameters techniques insert data into database table
4.Using ExecuteScalar and SqlCommand Insert data into Database Table
5.using CommandBuilder insert datat in form datatable in datadase
5 is Best and Optimize way of insert data into database table because in with
using conncetionless (SqlDataAdpter) concepts and in insert in datatable form so
it is best in Performance view and it can use with asp.net where large amount of
users are working.
No comments:
Post a Comment