C#.net如何将数据库中选定的值显示在label中

2025-03-21 22:38:42
推荐回答(2个)
回答1:

P_Str_SqlStr 这个SQL 查询出的是一个一行一列的数据表
然后得到 dt.rows[0][0].tostring();

this.MemberPrice.Text= dt.rows[0][0].tostring();

回答2:

眄上下左右上下左右