You need to extract the data from the result buffer into a data set that can be used for an SQL query or perhhaps straight to a DataSet which can be saved to the sql server database.
short example of an insert query
1. get result buffer data into variables (not really necessary but makes things easier to understand)
2. get connection to sql server db
3. build sql query with data variables, something like:
string qry = "INSERT INTO mytable_name (column1, column2) VALUES (variable1, variable2)";
4. run the query command
this is a big topic but pretty easy once you get the hang of it, setting up your db and connection is the hardest and there are many tools to test queries etc.
hth