摘要:
在分割字符串的时候我们常常会用到Split,下面我们就来学习一下分割字符串的技巧和方法。 1、使用String.Split单字符分割 String.Split方法 命名空间:System程序集:mscorlib(在 mscorlib.dll 中) 返回的字符串数组包含此实例中的子字符串(由指定字符串或 Unicode 字符数组的元素分隔)。 Split(Char[]) 返回的字符串数组包含此实例中的子字符串(由指定 Unicode 字符数组的元素分隔)。 Split(Char[], Int32) 返回的字符串数组包含此实例中的子字符串(由指定 Unicode 字符数组的元素分隔)。参数指定返回 阅读全文
posted @ 2011-07-19 17:41
Yaoquan.Luo
阅读(381)
评论(0)
推荐(0)
摘要:
from:http://community.devexpress.com/forums/t/3909.aspx Hi forum,I hardly try creating a menu during runtime.Via reflection I get some info out of one assembly and based on this info I would like to build a menu.In my helper class where I reflect the specific assembly I create a new subitem with som 阅读全文
posted @ 2011-07-19 17:29
Yaoquan.Luo
阅读(401)
评论(0)
推荐(0)
摘要:
1,增加新行用InitNewRow事件,给新行某字段赋值。后结束编辑。private void grdView_InitNewRow(object sender, DevExpress.XtraGrid.Views.Grid.InitNewRowEventArgs e) { DevExpress.XtraGrid.Views.Grid.GridView view = sender as DevExpress.XtraGrid.Views.Grid.GridView; view.SetRowCellValue(e.RowHandle, view.Columns["EnterID&quo 阅读全文
posted @ 2011-07-19 17:27
Yaoquan.Luo
阅读(1257)
评论(1)
推荐(1)
浙公网安备 33010602011771号