摘要:
LabelText=DataSet11.Tables("COMM.USERS").Rows[0]["User_Name"].tostring()LabelText = DataSet11.Tables("COMM.USERS").Rows(0).Item("user_name")Label.Text=ds.Tables(0).Rows(i).Item( "列名 ")Label.Text=ds.tables[0].rows[0][ "filed "]Label.Text=ds.Tables[0].Rows[x][y] 阅读全文
posted @ 2010-12-16 19:43
露水丛生
阅读(2203)
评论(0)
推荐(0)
摘要:
Repeater嵌套Repeater的结构cs代码:CoprivatevoidRpTypeBind(){//GetQuestionTypeAndCount()返回一个datatablethis.rptypelist.DataSource=LiftQuestionCtr.GetQuestionTypeAndCount();this.rptypelist.DataBind();}protectedvoidrptypelist_ItemDataBound(objectsender,RepeaterItemEventArgse){ //判断里层repeater处于外层repeater的哪个位置(Alt 阅读全文
posted @ 2010-12-16 14:07
露水丛生
阅读(385)
评论(0)
推荐(0)
摘要:
需要添加的命名空间:using System.Xml;定义几个公共对象:XmlDocument xmldoc ;XmlNode xmlnode ;XmlElement xmlelem ;1,创建到服务器同名目录下的xml文件:方法一:xmldoc = new XmlDocument ( ) ;//加入XML的声明段落,?xml version="1.0" encoding="gb2312"?XmlDeclaration xmldecl;xmldecl = xmldoc.CreateXmlDeclaration("1.0","gb2312",null);xmldoc.AppendChild 阅读全文
posted @ 2010-12-16 11:45
露水丛生
阅读(267)
评论(0)
推荐(0)
浙公网安备 33010602011771号