how do i remove listbox...
Messages   Related Types
This message was discovered on microsoft.public.dotnet.general.

Post a new message to this list...

Supra
in vb6
listbox1.remove item 5
how will i do in vb.net?
regards

Reply to this message...
 
    
Shiva
ListBox.Items.RemoveAt (5)

"Supra" <Click here to reveal e-mail address> wrote in message
news:Q1%%c.1610$Click here to reveal e-mail address...
in vb6
listbox1.remove item 5
how will i do in vb.net?
regards

Reply to this message...
 
    
Supra
how do i put same rows if i changed new items.
for example if u remove 5 and new item in same psoition in 5 how do i do
that?
regards

Shiva wrote:

[Original message clipped]

Reply to this message...
 
    
Shiva
You mean inserting an item at index 5? If yes, ListBox.Items.Insert (5,
"Item 5")

"Supra" <Click here to reveal e-mail address> wrote in message
news:Cq%%c.285567$Click here to reveal e-mail address...
how do i put same rows if i changed new items.
for example if u remove 5 and new item in same psoition in 5 how do i do
that?
regards

Shiva wrote:

[Original message clipped]

Reply to this message...
 
    
Supra
thank u, shiva

Shiva wrote:

[Original message clipped]

Reply to this message...
 
 
System.Windows.Forms.ListBox




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com