这句话比较有启发作用

        if (table.Rows.Count > 0)
        {
            foreach (DataRow row in table.Rows)
            {
                string sDid = row["Did"].ToString();
                string sName = row["ModuleName"].ToString();
                string sUrl = string.Format("webArticle.aspx?menudid={0}", sDid);

posted @ 2011-10-13 14:41  gaoxuzhao  阅读(178)  评论(0)    收藏  举报