Code:
private void button2_Click ( object sender , EventArgs e )
{
string field = comboBox1 . Text;
private void button2_Click ( object sender , EventArgs e )
{
string field = comboBox1 . Text;
fullPath2 = Path . GetDirectoryName ( openFileDialog1 . FileName );
try
{
string conString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\ZIP.DBF;Extended Properties=dBase IV";
OleDbConnection conn = new OleDbConnection ( conString );
command = conn . CreateCommand ( );
ZipCode.DataSource = DataSet . Tables [ fullPathname ] . DefaultView;
private void button1_Click ( object sender , EventArgs e )
{
System.Windows.Forms.DataGrid ZipCode=null;
System . IO . Stream myStream = null;
OpenFileDialog openFileDialog1 = new OpenFileDialog ( );
Leave a comment: