tag:blogger.com,1999:blog-6104185749662767834.post861194928933391682..comments2023-07-25T11:38:09.791+05:30Comments on dotNETspidor: A dot net programming blog: List all files in a folder in an asp.net gridviewAnonymoushttp://www.blogger.com/profile/05731715262527259113noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-6104185749662767834.post-78174533821038246672013-02-13T18:23:18.990+05:302013-02-13T18:23:18.990+05:30What needs to be done if there are many files and ...What needs to be done if there are many files and paging is added to the page?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6104185749662767834.post-12165200776128160982012-08-28T17:20:17.485+05:302012-08-28T17:20:17.485+05:30-->In .aspx
...-->In .aspx<br /><br /><br /> <br /> <br /> <br /> <br /> <br /><br />-->In .aspx.cs<br /><br />using System.IO;<br /><br /><br />protected void Page_Load(object sender, EventArgs e)<br /> {<br /><br /> BuildTree();<br /><br /> }<br /><br /> private void BuildTree()<br /> {<br /> //get root directory<br /> DirectoryInfo Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6104185749662767834.post-41454827798419778242012-06-15T01:49:02.386+05:302012-06-15T01:49:02.386+05:30Great article, What if you want to click on the li...Great article, What if you want to click on the link? I'm gettin an error trying to open the file. Is there something additional that needs to be set in IIS to actually open &| download the file?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6104185749662767834.post-55718305808326834992012-05-29T18:41:15.071+05:302012-05-29T18:41:15.071+05:30good article. Thanksgood article. ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6104185749662767834.post-26294506754140518702012-03-01T12:43:06.797+05:302012-03-01T12:43:06.797+05:30How can a hyperlinked image be added to this gridv...How can a hyperlinked image be added to this gridview? <br /><br />The image (.jpg) is located in the same folder.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6104185749662767834.post-79833127684646843052012-02-28T12:46:20.200+05:302012-02-28T12:46:20.200+05:30Thankyou... :)Thankyou... :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6104185749662767834.post-45204432735084103162011-11-30T05:31:53.251+05:302011-11-30T05:31:53.251+05:30Thank you very much !! It was very very helpful. ...Thank you very much !! It was very very helpful. :-)Pratik Patelhttps://www.blogger.com/profile/15133619191496108397noreply@blogger.comtag:blogger.com,1999:blog-6104185749662767834.post-67075578211295346312011-10-03T09:54:34.128+05:302011-10-03T09:54:34.128+05:30very useful blog.very useful blog.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6104185749662767834.post-42010756235851034722011-08-17T18:01:44.287+05:302011-08-17T18:01:44.287+05:30Thank you.Thank you.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6104185749662767834.post-73730955373703586302010-05-12T12:59:25.070+05:302010-05-12T12:59:25.070+05:30very usefull BLOG..If I want to exclude some colum...very usefull BLOG..If I want to exclude some columns and add hyperlink to name of the file and onclick of it...that particular doc should open. How to achieve this?Adhvik Shouryahttps://www.blogger.com/profile/08091585489100380471noreply@blogger.comtag:blogger.com,1999:blog-6104185749662767834.post-75192191513303585182010-03-10T12:00:30.859+05:302010-03-10T12:00:30.859+05:30Good documentation, it really gives nice tips for ...Good documentation, it really gives nice tips for retrive foldersPrakashhttps://www.blogger.com/profile/08161752063879591125noreply@blogger.comtag:blogger.com,1999:blog-6104185749662767834.post-1721289756183682032009-06-03T18:34:55.217+05:302009-06-03T18:34:55.217+05:30That post is really nice! Saved me a lot of time.
...That post is really nice! Saved me a lot of time.<br />I modified it according to my purpose.<br />Thanks A Lot<br />http://freshwebdeveloper.blogspot.comAmithttps://www.blogger.com/profile/15843747048608274819noreply@blogger.com