M
MarvellousDazza
Guest
I have virtually no knowledge whatsoever when it comes to Visual Studio or C# but how do I load information from a text file into the text boxes in Visual Studio?
I'm trying to make a page which displays a list of players for a football team with their respective stats..
So far I've created the following Labels with a blank Text Box beside it..
- Player Name: (TextBox1)
- Position (TextBox2)
- Nation (TextBox3)
- Age (TextBox4)
- GK Stats (TextBox5)
- DF Stats (TextBox6)
- MF Stats (TextBox7)
- ST Stats (TextBox8)
How do I create a text file which will show the following stats into the respective boxes..
Player1, GK, England, 25, 20, 1, 1, 1
Player2, DF, Spain, 24, 1, 20, 5, 5
Player3, MF, France, 27, 1, 10, 20, 10
Player4, ST, Italy, 31, 1, 1, 10, 20
If anyone could show me how to write out the text file and how to connect it to the text boxes I will be very grateful, thanks!
Continue reading...
I'm trying to make a page which displays a list of players for a football team with their respective stats..
So far I've created the following Labels with a blank Text Box beside it..
- Player Name: (TextBox1)
- Position (TextBox2)
- Nation (TextBox3)
- Age (TextBox4)
- GK Stats (TextBox5)
- DF Stats (TextBox6)
- MF Stats (TextBox7)
- ST Stats (TextBox8)
How do I create a text file which will show the following stats into the respective boxes..
Player1, GK, England, 25, 20, 1, 1, 1
Player2, DF, Spain, 24, 1, 20, 5, 5
Player3, MF, France, 27, 1, 10, 20, 10
Player4, ST, Italy, 31, 1, 1, 10, 20
If anyone could show me how to write out the text file and how to connect it to the text boxes I will be very grateful, thanks!
Continue reading...