string ss = sdh.dbExecuteSql4Values("SELECT [shuzu] FROM [sea].[dbo].[shuzu] where id=1");
string strS = ",";
char[] strSplit = strS.ToCharArray();
string str = ss;
string[] strValue = str.Split(strSplit);
Label1.Text = strValue[0];
Label2.Text = strValue[1];
在网上轻松的找到了代码,然后凭直觉改了改,居然一次就成功了~~~~~~~~~~
string strS = ",";
char[] strSplit = strS.ToCharArray();
string str = ss;
string[] strValue = str.Split(strSplit);
Label1.Text = strValue[0];
Label2.Text = strValue[1];
在网上轻松的找到了代码,然后凭直觉改了改,居然一次就成功了~~~~~~~~~~