Were you using Insert activity under UiPath.Database.Activities which can be downloaded from manage packages from design menu
Just we need to pass the datatable obtained from read range and the table name in database as a string to this activity
For more info on this
For Inserting data into database using commands refer below link: