Latest developer linksBookmark and Share
 
HomeThis WeekTop MonthTop AlltimeSearchRegisterFAQ
  
 
Submit Your Link
Please login to submit your Link
 

How to Delete Files/Folders using Datagrid

Posted: Feb/15/2010   By: pankaj   Points:15   Category: .NET  - .NET Framework    Views:128   Vote Up (0)   Vote Down (0)    
Hi, i am developing an app in which i am retrieving files and directories paths, showing them in a datagrid.From gridview i select the file or directory path and then delete them. The problem i am facing is that after the deletion, datagrid still displaying the previous records, not the updated records.when i again call the function to retrieve the files, it shows previous data, whereas the files have been deleted successful. Please guide me how to get rid of this situation.

View Complete Post


Comments:
Be the first to comment this post.
 
Post Comment
Please login to post your comment
More Related Resources

Toolbox: Easy File Backup, Exploring Files And Folders Inside Visual Studio, Multiple Monitor Softwa

  
If the responsibility for creating, managing, and executing routine backups is yours, these tools will make it easier. Also see how you can browse folders and files from inside Visual Studio.Scott MitchellMSDN Magazine May 2009

Advanced Basics: Office 2007 Files and LINQ

  
LINQ to XML and the Microsoft SDK for Open XML Formats simplify access to the parts of a 2007 Office system Open XML document when retrieving or modifying data, resulting in shorter, less complex code.Ken GetzMSDN Magazine March 2008

Office Space: Building Office Open XML Files

  
This new column explores how you can extend and customize Microsoft Office System applications and file formats.Ted PattisonMSDN Magazine February 2007

Toolbox: Save Coding Time, Manage Compressed Files, and More

  
Save Coding Time, Manage Compressed Files, and MoreScott MitchellMSDN Magazine January 2007

Toolbox: Synchronize Files, Rich Textboxes, and More

  
Compare files and folders, create demo and support videos, add rich textboxes in your web apps, and more.Scott MitchellMSDN Magazine November 2006

C++ at Work: Counting MDI Children, Browsing for Folders

  
Paul DiLasciaMSDN Magazine June 2005

Cutting Edge: Moving DataGrid Rows Up and Down

  
Imagine opening your Inbox one morning and finding a message that reads "Dear Mr. DataGrid, I urgently need an ASP.NET DataGrid that lets my users move rows on the client. You're my last hope. Will you please help me?"Dino EspositoMSDN Magazine March 2005

Web Q&A: ActiveX Privileges, Making Icon Files, Sticky Sessions, and More

  
Edited by Nancy MichellMSDN Magazine February 2005

The ASP Column: What's in ASP.NET Config Files?

  
Even though you've been using ASP. NET for a while, how much do you really know about ASP. NET configuration files? While you've probably touched the Web. config file from time to time, there are some nuances involved in configuring ASP. George ShepherdMSDN Magazine September 2004

GridView: Move Over DataGrid, There's a New Grid in Town!

  
When incorporating the ASP.NET DataGrid control into your Web apps, common operations such as paging, sorting, editing, and deleting data require more effort than you might like to expend. But all that is about to change. The GridView control--the successor to the DataGrid-- extends the DataGrid's functionality it in a number of ways. First, it fully supports data source components and can automatically handle data operations, such as paging, sorting, and editing, as long as its bound data source object supports these capabilities. In addition, the GridView control offers some functional improvements over the DataGrid. Here DataGrid expert Dino Esposito introduces the GridView and explains all its long-awaited features.Dino EspositoMSDN Magazine August 2004
 
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
 
 
 
 
 Forgot password
 Contact Us   Terms Of use   Share your knowledge