protected void Button2_Click(object sender, EventArgs e) { string dbname2 = "[UB-ReTS1]"; string filePath = Server.MapPath(FileUpload1.FileName); RestoreDataBase(strPath, dbname2, "Server=.\\SQLEXPRESS;database=" + dbname + ";Integrated Security=True;Pooling=False;"); ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('Database restoration succeeded.');", true); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)