试试这个 string group = string.Format("Select GroupID from IntoFiled where ACardID='{0}'",this.textBox1.Text); this.textBox2.Text = group; SqlDataReader dr = DBHelper.ExecuteReader(group); dr.Close(); DBHelper.connection.Close();
C#查找数据问题(简单)代码如下:请问错在哪里 要怎么修改 string group = string.Format("
1个回答
相关问题
-
请问 string.Format 格式含义?
-
请问每句代码的意思是什么?public SqlDataReader GetmySend(string username)
-
1.String s1 = new String("hello"); 2.String s2 = new String(
-
下面这段代码会产生(B )个String对象.
-
String.Format("{0:N2}",100000);中N的英文全写是?
-
关于英语的问题string 是可数还是不可数?我见过strings 也见过some string
-
String[] str = {"a","b","c","d","e"}; 或String[] sql = new St
-
英语翻译Dim a() As String,b() As String,x1() As String,y1() As S
-
求各种答案:String s=new String("xyz")究竟创建了几个String Object?2个 3个?
-
英语语法:tow of the strings .在这里tow 为什么不直接修饰后面的名词string .而要加介词呢?