04 2021 档案
摘要:DataTable.Compute()用法 一、DataTable.Compute()方法說明如下作用: 计算用来传递筛选条件的当前行上的给定表达式。 格式為: Object Compute (string expression,string filter)参数: expression:要计算的表达
阅读全文
摘要:简易计算器案例 计算类封装 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyCalculat
阅读全文
摘要:XML文件操作 实体类 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace XMLDemo { class Student { public string St
阅读全文
摘要:ini文件读写 添加帮组类 using System; using System.Text; using System.IO; using System.Runtime.InteropServices; namespace IniHelperDemo { public class IniConfig
阅读全文
摘要:对象存取和序列化对象存取 //实体类对象 using System; using System.Collections.Generic; using System.Text; namespace TextFile { [Serializable] class Student { public str
阅读全文
摘要:文本文件操作 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using
阅读全文