Just call

Grid1.DataSource=Nothing
Grid1.DataBind()

2009/3/31 Jeena Ajiesh <[email protected]>

>  Hi all,
> I had currently some rows in datagrid,,wen i click deleteall button all the
> records displayed in grid should be deleted..
> How can i do this?
> I tried to take the count of rows and delete it using delete function
> Eg: Grid1.DeleteRow(i) --- this is in While loop.
>
> But it failed. i think i had wrongly coded.
> Can anyone help me out this situation?
>
> --
> ****************
> Regards,
> ♪♥♫♥Ĵєєήǎ ♫♥♪♥
> Email: [email protected]
>          [email protected]
>          [email protected]
>
>


-- 
Regards
*******************
*C.Arun Kumar *
*******************

Reply via email to