会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
道强开
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 道强开
阅读(744)
评论(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 道强开
阅读(270)
评论(0)
推荐(0)
编辑
ionic4 页面跳转传值和新页面取值
摘要: 页面跳转 : <ion-row *ngFor="let item of aboutData.stockData" [routerLink]="[ '/stock-details']" /* 跳转页面*/ [queryParams]="item" /* 传的参数*/> 新页面取值: import {
阅读全文
posted @ 2019-07-25 13:38 道强开
阅读(1521)
评论(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 道强开
阅读(293)
评论(0)
推荐(0)
编辑