我是这么做的:
datarow newrow[]=this.ds.Tables["xxx"].Select("zzz='"+this.str+"'");然后是:("select ID from xxx where ID="+Convert.ToInt32(newrow["ID"]),"SonVocation");老抱错,该怎么改啊,谢谢大家了~
datarow newrow[]=this.ds.Tables["xxx"].Select("zzz='"+this.str+"'");然后是:("select ID from xxx where ID="+Convert.ToInt32(newrow["ID"]),"SonVocation");老抱错,该怎么改啊,谢谢大家了~
解决方案 »
- Silverlight 中 调用WCF数据契约中要传一个object 类型的属性.为什么用不了这个ServiceKnownType/KnownType
- SqlDataReader问题??? 急急!!
- 高手指教关于连接远程SQL SERVER 的问题啊..
- C#初学者的问题关于listview操作
- ++++++++++ 急问:日期转换问题 ++++
- 有没有做精细化工行业的朋友们在做进销存系统的开发?
- sql server打了sp4之后程序出错!!
- 请问C#的高手们!VS2005编译完成之后的那个.exe文件为什么不能在别的电脑上运行?怎样解决??谢谢!
- 请高手指点!!
- winform 这种效果怎么弄啊 在线等
- form窗体上有一个textbox控件,鼠标点一下textbox的时候,form窗体发生什么事件?
- 如何使程序不在最前面(TopMost)?
*****************************************************************************
欢迎使用CSDN论坛专用阅读器 : CSDN Reader(附全部源代码) 最新版本:20070127http://www.cnblogs.com/feiyun0112/archive/2006/09/20/509783.html
for(int j=0;j<dslist.Tables["FatherVocation"].Rows.Count;j++)
{
if (str2==this.dslist.Tables["FatherVocation"].Rows[j["FatherVocationName"].ToString())
{newrow = this.dslist.Tables["FatherVocation"].Select("FatherVocationName='"+str2+"'");
break;}}这么写对吗,请各位帮个忙!
}