在c#中
private void ToolStripButton_Click(object sender, EventArgs e)
{
try
{
this.学生表TableAdapter.Fill (this.studentIDataSet1 .学生表 ,toolStripTextBox1 .Text );
}
catch (System.Exception ex)
{
System.Windows.Forms.MessageBox.Show(ex.Message);
} }
错误提示Fill1”方法没有采用“2”个参数的重载 我是个学生在做实训,想用ToolStrip中Button实现查询,以toolStripTextBox1 .Text 为参数,结果显示在dataGridView1中
private void ToolStripButton_Click(object sender, EventArgs e)
{
try
{
this.学生表TableAdapter.Fill (this.studentIDataSet1 .学生表 ,toolStripTextBox1 .Text );
}
catch (System.Exception ex)
{
System.Windows.Forms.MessageBox.Show(ex.Message);
} }
错误提示Fill1”方法没有采用“2”个参数的重载 我是个学生在做实训,想用ToolStrip中Button实现查询,以toolStripTextBox1 .Text 为参数,结果显示在dataGridView1中
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货