文件名称:创建TXT文本并写入及查询以及数据库的写入与查询 交换位置 vb.net
文件大小:121KB
文件格式:RAR
更新时间:2016-10-27 10:20:06
txt access vb.net 数据库 查询写入
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try Dim path As String path = "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\创建TXT文本并写入及查询\12312\bin\Debug\lio.Txt" '记得自己改路径(绝对路径) Dim strw As New StreamWriter(path, True) 'append为TRUE表示追加 Dim strFull As String = "This is the original text" Dim strOriginal As String = "original" Dim strReplace As String = " modified"
【文件预览】:
创建TXT文本并写入及查询
----12312.sln(905B)
----12312()
--------Form1.vb(5KB)
--------bin()
--------12312.vbproj.user(74B)
--------obj()
--------12312.vbproj(5KB)
--------db1.mdb(236KB)
--------My Project()
--------Form1.resx(6KB)
--------Form1.Designer.vb(6KB)
----12312.suo(18KB)