cmd = con.CreateCommand cmd.CommandText = "SELECT * FROM tbl " da.SelectCommand = cmd da.Fill(ds, "tbl ") dt = ds.Tables("tbl ") MsgBox(dt.Rows.Count)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)