PC Review


Reply
Thread Tools Rate Thread

Datagrid Reset

 
 
ppn
Guest
Posts: n/a
 
      15th Feb 2005
BlankHi,
I have two datagrids on the form. When I click on the row in the first DataGrids, I want to reset the second datagrid before binding the dataset with new sql statement. I tried with dataset.clear(). It doesn't work. The columns are getting added to the existing columns for the second datagrid.

Any help is appreciated.
Thanks


 
Reply With Quote
 
 
 
 
Ollie Riches
Guest
Posts: n/a
 
      16th Feb 2005
Blankhave you re-bound the dataset after calling dataset.clear() by calling DataGrid.DataBind()


--
HTH

Ollie Riches
http://www.phoneanalyser.net

Disclaimer: Opinions expressed in this forum are my own, and not representative of my employer.
I do not answer questions on behalf of my employer. I'm just a programmer helping programmers.
"ppn" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
Hi,
I have two datagrids on the form. When I click on the row in the first DataGrids, I want to reset the second datagrid before binding the dataset with new sql statement. I tried with dataset.clear(). It doesn't work. The columns are getting added to the existing columns for the second datagrid.

Any help is appreciated.
Thanks


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on DataTable.Reset() and DataGrid Simone Microsoft Dot NET Compact Framework 6 24th Mar 2005 06:31 PM
VB.Net Datagrid Reset =?Utf-8?B?U2NobGF1YmVyZ2Vy?= Microsoft Dot NET 1 17th Mar 2005 08:39 PM
Reset datagrid Lee Price Microsoft ASP .NET 1 27th Jul 2004 01:08 PM
Clear or Reset a DataGrid =?Utf-8?B?QmlsbCBTLg==?= Microsoft Dot NET 1 4th Feb 2004 05:01 PM
Reset Focus in DataGrid Dave Bailey Microsoft C# .NET 0 2nd Dec 2003 05:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:06 AM.