punjabtechnicaluniversity.blogspot.in
CommandBuilder builds “Parameter” objects automatically.
Below is a simple code which uses commandbuilder to load its parameter object’s.
Dim pobjCommandBuilder As New OleDbCommandBuilder(pobjDataAdapter) pobjCommandBuilder.DeriveParameters(pobjCommand)
Be careful while using “DeriveParameters” method as it needs a extra trip to the Datastore which can be very inefficient.
CommandBuilder builds “Parameter” objects automatically.
Below is a simple code which uses commandbuilder to load its parameter object’s.
Dim pobjCommandBuilder As New OleDbCommandBuilder(pobjDataAdapter) pobjCommandBuilder.DeriveParameters(pobjCommand)
Be careful while using “DeriveParameters” method as it needs a extra trip to the Datastore which can be very inefficient.
0 comments:
Post a Comment
North India Campus