MySqlCommand cmd = new MySqlCommand(query, conn);
dt.Load(cmd.ExecuteReader());
source.DataSource = dt;
dataGrid1.ItemsSource = source;
DateTime
在我的数据网格中,我想用to更改列类型,String
我该怎么做?
来源是
System.Windows.Forms.BindingSource source = new System.Windows.Forms.BindingSource();