I have change object from ADODB to Sqlclient. In that case what will be replacement of the following code
With New ADODB.Recordset .CursorLocation = ADODB.CursorLocat