[RESOLVED] how to clear out a data repeater
Hi there,
I have a simple question. I am using a data repeater on a page I created, work fine except I have several search different search options - if the user searches once then searches again I need to clear everything out from the original search. rather than just adding to the list. Any Idea how to do this? I am sure it is simple I am just missing it.
Thanks
Re: how to clear out a data repeater
Can we see some code?
Also can't you just set the variable or object = Nothing?
Re: how to clear out a data repeater
Give,
Code:
Datarepeater1.datasource = nothing
datarepeater1.databind()
The above code will clear the data. Replace datarepeater1 to ur object name
Re: [RESOLVED] how to clear out a data repeater