读取的数据生成指定的类型


        public T GetData<T>(string where)
        {
            int i=0;
            return (T)Convert.ChangeType(i, typeof(T)); ;
        }
posted @ 2009-08-04 16:58  awp110  阅读(117)  评论(0编辑  收藏  举报