Buy Questpond's video subscriptions on
huge discount
.
Online: 3604
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
Regular Expressions
>
Loading ...
Create Backup of an SQL database through asp.net+vb web application
Posted by
Baijuep
under
Regular Expressions
on 2/23/2011 |
Points: 10
| Views : 4274 | Status :
[Member]
| Replies : 7
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
hello all I am new in this forum. i have a web application which is used for managing a workshop activities. i am willing to make a backup otion so that the database back (SQL) can be made. pl help me
Baiju EP
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Madhu.b.rokkam
on: 2/23/2011
[Member]
[MVP]
Bronze
|
Points: 25
0
you can execute the below command using ADO.Net
BACKUP DATABASE yourdb TO DISK='C:\yourdb.bak' WITH FORMAT
Thanks and Regards
Madhu
Baijuep
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Baijuep
on: 2/24/2011
[Member]
Starter
|
Points: 25
0
Thank you it works effectively when it is executed from SQL management studio query
i excuted the command as under and it works effectively
BACKUP DATABASE workshop TO DISK='C:\workshop.bak' WITH FORMAT
But i want to excecute this from my asp.net+vb web page so that user can make backup for their data and afterwards thay can restore the data from the backup (all functions from web it self)
Baiju EP
Baijuep
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Madhu.b.rokkam
on: 2/24/2011
[Member]
[MVP]
Bronze
|
Points: 25
0
Please go thru link
http://www.codeproject.com/KB/database/SQL_Server_2005_Database.aspx
it will solve your issue..
Thanks and Regards
Madhu
Baijuep
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Baijuep
on: 2/25/2011
[Member]
Starter
|
Points: 25
0
i checked the link the same is in C# and i am using vb in my web page. can u suggest the link to a vb script for backing up & restoring a SQL databse
Baiju EP
Baijuep
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Madhu.b.rokkam
on: 2/25/2011
[Member]
[MVP]
Bronze
|
Points: 25
0
you can use this link to convert the c# code to vb.net code
http://www.developerfusion.com/tools/convert/csharp-to-vb/
Thanks and Regards
Madhu
Baijuep
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Madhu.b.rokkam
on: 2/27/2011
[Member]
[MVP]
Bronze
|
Points: 25
0
Your problem got resolved or not ??
Thanks and Regards
Madhu
Baijuep
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Baijuep
on: 2/28/2011
[Member]
Starter
|
Points: 25
0
No i was not able to rectify the problem. I converted from C# to vb and still the script is not working
Baiju EP
Baijuep
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...