i need to save database back up to table and view it in grid view
My code is ,
string sqlQuery = "BACKUP DATABASE " + _DatabaseName + " TO DISK = 'C:\\SQLServerBackups\\" + _BackupName + "' WITH FORMAT, MEDIANAME = 'Z_SQLServerBackups', NAME = '" + _BackupName + "';";
it save it in my disk in SQLServerBackups folder , but i need this file to save in table . how can i do that , ?
please help me out .
Go to the complete details ...