Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Repeater Control Visibility

Status
Not open for further replies.

Auguy

Programmer
May 1, 2004
1,206
US

VS 2008 VB.Net
Trying to loop thru data repeater, but getting error in designer.
Also trying to avoid a project update.
Program runs just fine without this code.
I want to loop thru the items and make somecontrols invisible.

Type 'RepeterItem' is not defined.
'Items' is not a member of data repeater.
i have imported
Code:
Imports Microsoft.VisualBasic.PowerPacks
Imports Microsoft.VisualBasic.PowerPacks.DataRepeater
Code:
For Each item As RepeaterItem In drpStop.Items
[indent]' Make a control visible / invisible[/indent]
Next
Am I missing an import or something else?


Auguy
Sylvania/Toledo Ohio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top