Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 16th, 2003, 04:18 PM
Registered User
 
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default datagrid clear all item

hi guy!

I want to know how clearing all item in a datagrid , not in my dataset just in the datagrid

 
Old August 19th, 2003, 07:25 AM
Authorized User
 
Join Date: Aug 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Maybe this?
VB
Code:
        DataGrid1.DataSource = Nothing
        DataGrid1.DataBind()
 
Old March 8th, 2005, 12:38 AM
Registered User
 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default


"TimeSheetGrid.xsd as my DataSet"

    Dim tsDS As New TimeSheetGrid.TimeSheetDataTable
    Dim tsRow As TimeSheetGrid.TimeSheetRow

        tsDS.Clear()
        DataGrid1.SetDataBinding(tsDS, ""):)

Cheers





Similar Threads
Thread Thread Starter Forum Replies Last Post
clear dataGrid(C#) kobystud C# 2 July 17th, 2011 06:54 AM
How to clear to datagrid? baties General .NET 1 August 29th, 2007 06:23 AM
display datagrid item shwetarani2002 ASP.NET 1.0 and 1.1 Basics 1 July 16th, 2007 07:47 AM
? DataGrid Item admin@martine.cz ASP.NET 1.0 and 1.1 Professional 0 November 18th, 2003 08:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.