
日常
文章平均质量分 62
AnRenY1
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
日常笔记》》》字符串分割、截取等操作
① 根据特定字符分割string str="xxx.html";string[] arr=str.Split('.');② LastIndexof()根据特定字符获取该字符处于某字符串的位置(索引)③ 根据特定位置截取字符串//获取文件名(第一种)string str="/temp/xxx.html";string path=str.Substring(str.La原创 2017-07-06 14:56:23 · 313 阅读 · 0 评论 -
用SQL快速写代码(源自某老师给我的启发。。)
select 'model.'+name+'=txt'+name+'.Text.Trim();' from syscolumns where id=object_id('TableName')原创 2017-09-27 18:40:42 · 944 阅读 · 0 评论