一个关于ASP.NET得程序填空题 哪位大神帮忙解答一下?
(1)_______________________________//引入命名空间namespaceWindowsFormsApplication1{ ...
(1)_______________________________//引入命名空间
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
private void button1_Click(object sender, EventArgs e)
{
string id = this.textBox1.Text.Trim();
string name = this.textBox2.Text.Trim();
string count = this.textBox3.Text.Trim();
SqlConnection con = new SqlConnection("server=localhost;database=Storage;integrated security=sspi");
(2) ______________________
SqlCommand com = new SqlCommand();
(3) ______________________
(4)______________________
(5) ______________________
con.Close();
}
}
} 展开
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
private void button1_Click(object sender, EventArgs e)
{
string id = this.textBox1.Text.Trim();
string name = this.textBox2.Text.Trim();
string count = this.textBox3.Text.Trim();
SqlConnection con = new SqlConnection("server=localhost;database=Storage;integrated security=sspi");
(2) ______________________
SqlCommand com = new SqlCommand();
(3) ______________________
(4)______________________
(5) ______________________
con.Close();
}
}
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询