Forum: VB.NET Oct 5th, 2008 |
| Replies: 2 Views: 394 T is to accept any data type that we pass as the argument. that is the main advantage of generics in .net. the following code works fine, but doesnot allow the + opertor.
Private Sub add(Of... |
Forum: VB.NET Oct 4th, 2008 |
| Replies: 2 Views: 394 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim x As Int16, y As Int16
x = CInt(TextBox1.Text)
y =... |
Forum: IT Professionals' Lounge May 19th, 2008 |
| Replies: 3 Views: 4,184 hi,
try creating a different key for each node u create.i think that will work.key should be unique in treeview nodes.
Me.TreeView1.Nodes.Add(Me.ComboBox1.Text & i) |