TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Soumya Surendran
NA
170
0
how to copy a sql server database using C# code
Sep 27 2010 6:39 AM
hai expert................
how to copy a sql server database using C# code . I was using the following code
File
.Copy(
"dbRDAgent.mdf"
,
""
+ strpath +
"\\dbRDAgent.mdf"
);
an error occures that "the process cannot access the file
"dbRDAgent.mdf"
because it is being used by another process."
thanks in advance......
Reply
Answers (
4
)
how to copy a sql server database using File.Copy function in C#
how will i convert data table to collection?