Data Access Tutorials
Microsoft ASP.NET Official Data Access Tutorials – really covers a whole varieties of topics, take the time to read them. By Bryan Xu
Microsoft ASP.NET Official Data Access Tutorials – really covers a whole varieties of topics, take the time to read them. By Bryan Xu
Example code to follow: protected void CleanImageFolder() { string imgFolder = Server.MapPath(“~/lab/maskemail/img/”); string[] imgList = Directory.GetFiles(imgFolder, “*.jpg”); foreach (string img in imgList) { FileInfo imgInfo = new FileInfo(img); if (imgInfo.LastWriteTime < DateTime.Now.AddMinutes(-3)) { imgInfo.Delete(); } } } By Bryan Xu
Couple general readings by Scott Mitchell on his 4GuysFromRolla:
This is the scenario: we have a Data control inside the Modal div, and we don’t want all the data inside this modal popup to be loaded when the main page is loaded. We want them to be loaded when the user decides to bring out the popup the first time. If Visible is set … Continued
Securing your Web Site with Membership and Login Controls (Lesson 9 of the Beginners series) This tutorial demonstrates the uses of all the controls in the Login toolbox. It’s relatively simple and didn’t go into all the specific details of each control. It also shows how to use restrict people with authentication (User.Identity.IsAuthenticated) and specific … Continued