DataSet的问题 我要查DataSet中一个字段的所有值!这个字段下所有值的个数如何得到!要源码谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 DataSet myds =..;string str1 = myds.tables[0].rows[i][j].tostring(); //取一列的值for(int j=0;j<DataSet.Tables[0].Rows.Count;j++){ string r+= DataSet.Tables[0].Rows[j]["列名"].ToString()+"|";}return r;//计算个数int i= DataSet.Tables[0].Rows.Count //取一列的值for(int j=0;j<DataSet.Tables[0].Rows.Count;j++){ string r+= DataSet.Tables[0].Rows[j]["列名"].ToString()+"|";}return r;//计算个数int i= DataSet.Tables[0].Rows.Count1 DataSet是关键字不能这样用2 计算个数得到是数据集合的个数,而不是字段值的个数 急,急,急 :高手请进!!!!!!! ASP.NET POST提交数据 再发一贴跪求高手教我 奇怪的MD5加密问题,请达人解决,顶者有分 各位热心的高手,请帮在下一个忙.谢谢!! Handles 子句需要 WithEvents 变量! sql中有关存储html字符窜的问题 一个返回DataSet 的函数只让你用存储过程怎么写? web站点全局变量问题。帮忙提供设计思路。 一个随机数的问题,各位大哥帮忙呀!!! 请问从TextBox获取的数据为何在数据库不能更新! 新的内容添加成功后如何向下一个页传值,急!!!
string str1 = myds.tables[0].rows[i][j].tostring();
for(int j=0;j<DataSet.Tables[0].Rows.Count;j++)
{
string r+= DataSet.Tables[0].Rows[j]["列名"].ToString()+"|";
}
return r;//计算个数
int i= DataSet.Tables[0].Rows.Count
for(int j=0;j<DataSet.Tables[0].Rows.Count;j++)
{
string r+= DataSet.Tables[0].Rows[j]["列名"].ToString()+"|";
}
return r;//计算个数
int i= DataSet.Tables[0].Rows.Count1 DataSet是关键字不能这样用2 计算个数得到是数据集合的个数,而不是字段值的个数