Reading .dbf files using .NET Compact Framework on Windows Mobile Devices
Mobile
1
Posts
1
Posters
1
Views
1
Watching
-
I want to read .dbf file on Network such as Data Source=//192.168.0.16/Ovnbol1000/test.dbf Windows Mobile 5.0 Windows CE using C# This my Code but it does not work
SqlConnection con = new SqlConnection("Data Source=//192.168.0.16/Ovnbol1000/"); // give your path directly con.Open(); SqlDataAdapter da = new SqlDataAdapter("select \* from KUND.DBF", con); // update this query with your table name DataSet ds = new DataSet(); da.Fill(ds); con.Close(); int i = ds.Tables\[0\].Rows.Count;
Thanks