SqlConnection con=new SqlConnection();
SqlDataAdapter adap=new SqlDataAdapter("select * from student where Id=-1",con);
DataSet mydataset=new DataSet();
adap.Fiil(mydataset,"students");
BindingSource mybindingsource=new BindingSource(mydataset,"students");
现在我创建一个适配器并将其填充为数据集并使用数据集表创建绑定源 BindingSource中没有项目。除非使用数据集表,否则我可以在Bindingsource的查询中获取ColumnNames吗?