Ehem :cough:
OleDbConnectionStringBuilder sb=null;
SaveFileDialog sfd = new SaveFileDialog();
if (sb == null||sb.DataSource!=null||sfd.FileName!=null)
{
sb.DataSource =sfd.FileName;
return;
}
sb is null - you set it to it, so the test will always pass on the first test (the others will not be done)
Perhaps you meant
if (sb != null||sb.DataSource!=null||sfd.FileName!=null)
But in that case, it will always fail...