Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralOh,yeah!I did it! Pin
imbiz8-Jun-10 4:48
imbiz8-Jun-10 4:48 
QuestionIP address control Pin
SelvaKr8-Jun-10 1:00
SelvaKr8-Jun-10 1:00 
AnswerRe: IP address control Pin
Pete O'Hanlon8-Jun-10 1:03
mvePete O'Hanlon8-Jun-10 1:03 
GeneralRe: IP address control Pin
SelvaKr8-Jun-10 1:18
SelvaKr8-Jun-10 1:18 
AnswerRe: IP address control Pin
Johnny J.8-Jun-10 1:12
professionalJohnny J.8-Jun-10 1:12 
GeneralRe: IP address control Pin
SelvaKr8-Jun-10 1:19
SelvaKr8-Jun-10 1:19 
QuestionCrystal Report : Parameter Count Mismatch. Pin
saber.softs7-Jun-10 21:13
saber.softs7-Jun-10 21:13 
QuestionProblem in BackUp Pin
SajjadZare7-Jun-10 19:57
SajjadZare7-Jun-10 19:57 
Hi to all,
I write below code to create backup
but it doesn't work

ServerConnection connection = new ServerConnection(".");
            Server srv = new Server(connection);
            SaveFileDialog sfd = new SaveFileDialog();
            if (sfd.ShowDialog() == DialogResult.OK)
            {
                Backup bkpDatabase = new Backup();
                bkpDatabase.Action = BackupActionType.Database;
                bkpDatabase.Database = txtDBName.Text;//txtDBName contain Name of database
                BackupDeviceItem bkpDevice = new BackupDeviceItem(sfd.FileName, DeviceType.File);
                bkpDatabase.Devices.Add(bkpDevice);
                bkpDatabase.SqlBackup(srv);
            }//if

AnswerRe: Problem in BackUp Pin
Md. Marufuzzaman7-Jun-10 21:37
professionalMd. Marufuzzaman7-Jun-10 21:37 
GeneralRe: Problem in BackUp Pin
SajjadZare7-Jun-10 22:01
SajjadZare7-Jun-10 22:01 
AnswerRe: Problem in BackUp Pin
Mycroft Holmes7-Jun-10 22:06
professionalMycroft Holmes7-Jun-10 22:06 
QuestionPass by value Pin
jon-807-Jun-10 18:58
professionaljon-807-Jun-10 18:58 
AnswerRe: Pass by value Pin
jgauffin7-Jun-10 20:08
jgauffin7-Jun-10 20:08 
GeneralRe: Pass by value Pin
jon-807-Jun-10 20:10
professionaljon-807-Jun-10 20:10 
AnswerRe: Pass by value Pin
Deepak-VS7-Jun-10 20:11
Deepak-VS7-Jun-10 20:11 
QuestionMessage Removed Pin
7-Jun-10 18:51
SajjadZare7-Jun-10 18:51 
AnswerRe: BackUp PinPopular
Mycroft Holmes7-Jun-10 19:21
professionalMycroft Holmes7-Jun-10 19:21 
QuestionNew posts emailed - please be kind Pin
mprice2147-Jun-10 17:52
mprice2147-Jun-10 17:52 
AnswerRe: New posts emailed - please be kind Pin
Luc Pattyn7-Jun-10 17:59
sitebuilderLuc Pattyn7-Jun-10 17:59 
GeneralRe: New posts emailed - please be kind Pin
mprice2147-Jun-10 18:09
mprice2147-Jun-10 18:09 
GeneralRe: New posts emailed - please be kind Pin
OriginalGriff7-Jun-10 22:23
mveOriginalGriff7-Jun-10 22:23 
GeneralRe: New posts emailed - please be kind Pin
mprice2148-Jun-10 2:37
mprice2148-Jun-10 2:37 
GeneralRe: New posts emailed - please be kind Pin
Henry Minute8-Jun-10 2:42
Henry Minute8-Jun-10 2:42 
GeneralRe: New posts emailed - please be kind Pin
mprice2148-Jun-10 3:48
mprice2148-Jun-10 3:48 
GeneralRe: New posts emailed - please be kind Pin
Pete O'Hanlon8-Jun-10 4:46
mvePete O'Hanlon8-Jun-10 4:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.