Repeater Control

H

Hector Sanchez

I am a novice programmer. I want to use a repeater to display a button
for every item in the cache.
Each button should have the key of the cache object as its Text property
and
it should remove that particular object from the cache.
So if I have two objects in the cache with keys key1, key2,
respectively,
the buttons should be labeled and named so. On click of the button key1,
the
following should occur:

Cache.Remove(key1);

Can anyone help me with some code?

Hector
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top