The only thing his implementation missing in the article is placing CheckBox in the header of the GridView, and using it to toggle rows CheckBoxes. I made a small modification to the existing code to add this feature:
ProtectedSubPage_Load(ByValsenderAsObject,ByValeAsSystem.EventArgs)HandlesMe.LoadIfNotPage.IsPostBackThenDimdirInfoAsNewDirectoryInfo(Request.PhysicalApplicationPath)FileList.DataSource=dirInfo.GetFiles()FileList.DataBind()EndIf'On every page visit we need to build up the CheckBoxIDs array
ForEachgvrAsGridViewRowInFileList.Rows'Get a programmatic reference to the CheckBox control
NAnt is a powerful scripting tool designed for developers, software process engineers, and build specialists to create an automated, repeatable process for building their developed application. NAnt provides powerful XML-based scripting and some really cool features, as Jean-Paul Boodhoo explains in his series of post “Automating Your Builds With NAnt”, which can streamline your development and unit testing effort dramatically.