• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






道强开

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2019年7月25日

DataTable 转List
摘要: 忘了出处 ,这个是转别人的 public class DataToList<T> where T : new() { /// <summary> /// 利用反射和泛型 /// </summary> /// <param name="dt"></param> /// <returns></retur 阅读全文
posted @ 2019-07-25 13:48 道强开 阅读(754) 评论(0) 推荐(0)
 
C# 随笔写txt
摘要: public static void WriterFile(string file) { string path = AppDomain.CurrentDomain.BaseDirectory; //如果不存在,则创建目录 if (!Directory.Exists(path + "Log/")) 阅读全文
posted @ 2019-07-25 13:43 道强开 阅读(278) 评论(0) 推荐(0)
 
ionic4 页面跳转传值和新页面取值
摘要: 页面跳转 : <ion-row *ngFor="let item of aboutData.stockData" [routerLink]="[ '/stock-details']" /* 跳转页面*/ [queryParams]="item" /* 传的参数*/> 新页面取值: import { 阅读全文
posted @ 2019-07-25 13:38 道强开 阅读(1537) 评论(0) 推荐(0)
 
ionic 股票列表 网络读取数据,实现下拉刷新,上拉加载
摘要: html: <ion-header> <ion-toolbar> <ion-title> 股票 </ion-title> </ion-toolbar> </ion-header> <ion-content> <ion-refresher slot="fixed" (ionRefresh)="doRe 阅读全文
posted @ 2019-07-25 13:29 道强开 阅读(313) 评论(0) 推荐(0)