问题一:数据库中只有x,y两列数,我下面这样写可以取到z,w两组数吗
要用到乘方直接用^可以吗
string sq = @"Data Source=" + dbPath;
m = new SQLiteConnection(sq);
m.Open();
SQLiteDataAdapter mAdapter = new SQLiteDataAdapter = ("select x,y,x*y as z from 特性", m);
DataSet ds = new DataSet();
mAdapter.Fill(ds);
DataTable dt = ds.Tables[0];
能不能SQLiteDataAdapter mAdapter = new SQLiteDataAdapter = ("select x,y,x*y as z from 特性", m);处直接SQLiteDataAdapter mAdapter = new SQLiteDataAdapter = ("select x*y as z from 特性", m);吗