I want to save Text box values in VB and retrieve.If you having any sample code please help me
Saravanan R
0
Newbie Poster
Recommended Answers
Jump to PostHere's a really simple example to save/load a text box's text:
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click ' Save a text box's text Dim FileName As String = "C:\test.txt" My.Computer.FileSystem.WriteAllText(FileName, TextBox1.Text, False) End Sub Private Sub Button2_Click(ByVal sender As Object, ByVal …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.