protected void Button1_Click(object sender, EventArgs e)
{
SqlDataSource sqlSource = new SqlDataSource(ConfigurationManager.ConnectionStrings["conStr"].ConnectionString,
"SELECT * FROM [tb_ title] WHERE Title like '%@TitName%' and Info like '%@TeaName%';");
25
2012
04
查询数据库并绑定到GridView
发布:郑德才博客 | 分类:学习之路 | 评论:0 | 浏览: