Monday, August 16, 2010

How to clear DataGrid in asp.net?

I have inserted data in datagrid using


DataGrid1.DataSource = ds.Tables(0).DefaultView


DataGrid1.DataBind()


now i want to clear the containts of datagrid plz tell me the property or method for clearing datagrid in asp.netHow to clear DataGrid in asp.net?
okay looks like you are usingvb.





DataGrid2.DataSource=nothing


DataGrid1.DataBind()How to clear DataGrid in asp.net?
Hai *,





try this link








http://www.dotnetspider.com/Question1497鈥?/a>





ok
  • love myspace
  • myspace girl
  • No comments:

    Post a Comment