C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Clearing the datagrid....


Posted Date: 26 Jun 2007      Total Responses: 2

Posted By: inbaraj       Member Level: Silver     Points: 2



Hi...

I want to clear the datagrid value when ever i click the button....

Can any one help me with sample code...

with reg
inbaraj......





Responses

Author: Shivshanker Cheral    26 Jun 2007Member Level: DiamondRating:     Points: 2

just rebind the datagrid without any rows


Author: Padma    26 Jun 2007Member Level: DiamondRating:     Points: 2

try this
dgd.datasource=nothing
dgd.databind()
orelse
dgd.items.clear()



Post Reply
You must Sign In to post a response.
Next : DiffGram
Previous : how to ignore backslash charecter in textbox in windows application
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use