From: AAaron123 on
Thanks


dotNetDave wrote:
> I'm pretty sure you can just do this:
>
> DataGrid1.DataSource = Nothing
> DataGrid1.DataBind()
>
> David
>
> ======================================
> David McCarter [Microsoft MVP]
> www.dotNetTips.com
> David McCarter''''s .NET Coding Standards available at:
> http://codingstandards.notlong.com
>
>
> "AAaron123" wrote:
>
>> I first do:
>>
>> DataGrid1.DataSource = ds2.Tables(0).DefaultView
>>
>> DataGrid1.DataBind()
>>
>>
>>
>> At some later time I want to set the DataGrid1 back to its original
>> state.
>>
>> That is I want to "unbind" it.
>>
>>
>>
>> How can I do that?
>>
>>
>>
>> Thanks