所有的数据源控件都源于DataSourceControl类,而dataSourceControl类派生于Control类。。。实现了 Icontrol和Ilist接口,虽然每个控件都使用特定的数据源。但是所有得数据源控件都使用一组基本的核心功能。
posted @ 2008-06-04 15:46 过客路过 阅读(262) 评论(0) 编辑
|
|||
|
所有的数据源控件都源于DataSourceControl类,而dataSourceControl类派生于Control类。。。实现了 Icontrol和Ilist接口,虽然每个控件都使用特定的数据源。但是所有得数据源控件都使用一组基本的核心功能。
posted @ 2008-06-04 15:46 过客路过 阅读(262) 评论(0) 编辑 substring()有两种重载方法。
substring(int i)//i<string.Length substring(i,j) using System; class test { static void Main() { string mystring="I love you more than i can say !"; string string1=mystring.Substring(0); Console.WriteLine(string1); String string2=mystring.Substring(2); Console.WriteLine(string2); string mystring3=mystring.Substring(2,4); Console.WriteLine(mystring3); } }posted @ 2008-06-04 15:35 过客路过 阅读(91) 评论(0) 编辑 |
|||