A
ad
I use the codes below to get the filename of openFileDialog, but it always
return a null.
How can I get he filename of openFileDialog?
************************************************************************
if(openFileDialog1.ShowDialog() == DialogResult.OK)
{
string sFileName=openFileDialog1.FileName;
.......
}
************************************************************************
return a null.
How can I get he filename of openFileDialog?
************************************************************************
if(openFileDialog1.ShowDialog() == DialogResult.OK)
{
string sFileName=openFileDialog1.FileName;
.......
}
************************************************************************