通过datagridview编辑逗号txt文件 [英] edit comma txt file via datagridview

查看:77
本文介绍了通过datagridview编辑逗号txt文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

这就是我需要的

将文本逗号文件获取到表.mbd并将其显示在datagridview中

Getting text comma file to the table .mbd and show it in the datagridview

动作

在datagridview中替换名称,然后单击保存

Replace the name in datagridview and clicking save

结果将更改文本文件中的名称并刷新datagridview

The result will change the name in the text file and refresh the datagridview

文本文件

<pers>,<date>,<recoa>,<recob>
Freddy,20150811,40,75
Addison,20150811,80,86
Alden,20150811,40,60
Ashwin,20150811,50,75
Emily,20150811,70,90
Megan,20150811,45,80
Katie,20150811,50,70
Amber,20150811,60,70
Rachel,20150811,85,80
Freddy,20150811,59,77
Addison,20150811,79,70
Alden,20150811,40,60
Ashwin,20150811,50,75
Emily,20150811,70,90
Megan,20150811,45,80
Katie,20150811,58,70
Amber,20150811,86,73
Rachel,20150811,40,94

感谢您的帮助

推荐答案

对不起,但是您不能只输入所需的名称,它将很快替换DataGridView中的名称.当您移出牢房时?如果您想抓住机会并将其写入数据库的表中,请参阅下面的所有教程.

Sorry, but can't you just type the name you want and it will replace what's in the DataGridView as soon as you move out of the cell?  If you want to make a chance and write it to a table in a database, please see the all of the tutorials below.

http://dotnetsridhar.blogspot.in/2012/04/datagridview-in -wndows-form.html


http://www.c-sharpcorner.com/UploadFile/rohatash/insert-edit-update并使用wi/

http://csharp.net-informations.com/dataadapter/updatecommand-oledb.htm


这篇关于通过datagridview编辑逗号txt文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆