- 博客(3)
- 收藏
- 关注
原创 使用c# 往.TXT档中写值
string headerText = "日期" + " " + "警报编号" + " " + "警报文本" + " " + "发生时间" + " " + "确认时间";// 这里使用FileMode.Create会覆盖文件内容,如果要追加请使用FileMode.Append。
2024-09-03 16:15:36 217
原创 c#读取.txt文档中的值
MessageBox.Show("Alarm.txt文档不存在Alarm" + "" + alarmno + "警报信息!MessageBox.Show(rdfilePath + " 不存在", "Alarm", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);MessageBox.Show("Alarm文档错误", "Alarm", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
2024-09-03 16:11:19 333
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人