Require SQL Server's user that can access to 'Master' database.

Basic Usage: Initialize an object
SQLServerDialog.SQLServerFolderFileDialog sqldialog = new SQLServerDialog.SQLServerFolderFileDialog
        Server = "Your SQL Server Location",
        Username = "username",
        Password = "password",

Show dialog and get the selected path
if (sqldialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
        txtServerPath.Text = sqldialog.SelectedLocation;

Property Type Default value Description Example
IsShowFiles bool false Show file on the dialog sqldialog.IsShowFiles = true;
SkipDotPrefixFolders bool true Skip all folders that start with "." (auto generated folder) sqldialog.SkipDotPrefixFolders= true;
SkipDotPrefixFiles bool true Skip all files that start with "." (auto generated file) sqldialog.SkipDotPrefixFiles= true;
Filter string Empty string Filter file extension sqldialog.Filter= ".bak, .mdf";
ImageDrive Image Default Change 'drive' image (16x16 resolution) sqldialog.ImageDrive= Resources.newDriveImg;
ImageClosedFolder Image Default Change 'closed folder' image or folder image with no focus (16x16 resolution) sqldialog.ImageClosedFolder= Resources.newClosedFolderImg;
ImageOpenedFolder Image Default Change 'opened folder' image or folder image with focus (16x16 resolution) sqldialog.ImageOpenedFolder= Resources.newOpenedFolderImg;
ImageFile Image Default Change 'file' image (16x16 resolution) sqldialog.ImageFile= Resources.newFileImg;

Last edited Aug 3, 2014 at 7:55 AM by neruto, version 4