Search Results

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: markd220 ; Forum: VB.NET and child forums
Forum: VB.NET Dec 1st, 2008
Replies: 2
Views: 322
Posted By markd220
You want to make both texts one string and write that to the file.

swrStreamWriter.WriteLine(Me.textStudent.Text + " " + Me.textGrade.Text)

Also research the VB.Net String Functions for further...
Forum: VB.NET Dec 1st, 2008
Replies: 9
Views: 3,154
Posted By markd220
If you are going to use the datasource approach, you'll have to modify the datasource variable and reset the datasource of the list.




Private path As String = "c:\"
Dim...
Forum: VB.NET Nov 30th, 2008
Replies: 9
Views: 3,154
Posted By markd220
The reason the code doesn't work is because adding an item to a listbox using the .items.add is different than setting the datasource. They don't work together.

If you want to continue to use the...
Forum: VB.NET Nov 25th, 2008
Replies: 9
Views: 3,154
Posted By markd220
Not really sure what you're trying to do, but to add a string from the textbox to the list it's as simple as:

lstdisplay.Items.Add(txtinput.Text)


Are you trying to add the contents of the...
Forum: VB.NET Nov 25th, 2008
Replies: 6
Views: 1,611
Posted By markd220
while dr.Read()
idcombo.Items.Add(dr(0))
end while
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC