RAP Series - Dynamically adding FileUpload controls using ASP.NET

Uploading files to an application is a fairly common scenario these days.  Since more and more people spend a more time on social networking sites the more files that need to get uploaded.  If you want to upload a bunch of files at once  for an email application or a photo sharing application you may need to know to handle that.  If you not familiar with the FileUpload control in ASP.NET you should first read How to Upload Files using and ASP.NET FileUpload control which walk... [More]

Posted by: adamwright
Posted on: 8/14/2009 at 3:16 PM
Categories: ASP.NET | RAP
Actions: Bookmark and Share
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

RAP Series - How to upload files using an ASP.NET FileUpload control

Not every application that you create needs to upload files, but since the dawn of social networking a lot more photos, videos and other types of files need to be uploaded.   Recently someone asked me how to dynamically add FileUpload controls to a page.  Although knowing how to dynamically add FileUpload controls to a page is of no use if you don?t know how to use a single FileUpload control.  So in this post you will learn how to save uploaded files to a file system, restri... [More]

Posted by: adamwright
Posted on: 8/14/2009 at 12:03 PM
Tags:
Categories: ASP.NET
Actions: Bookmark and Share
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

How to accept XML data from an http Post using ASP.NET

The solution presented in this article uses some of my favorite parts of .NET including the System.Net.WebClient, Linq to XML, and Generics.  Recently I was asked to provide a Url address that a vendor?s service could post XML to in order to transmit transaction data to my database.  This was a new problem to me as I normally had access to a web service that I could call when ever I wanted to do this.  In this example you will be posting an xml document containing employee data to... [More]

Posted by: adamwright
Posted on: 8/12/2009 at 4:55 PM
Categories: XML | ASP.NET
Actions: Bookmark and Share
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

RAP Series - Add Style to ASP.NET DropDownList Items

I was recently asked how to make some items in a drop down list bold. Not only is it possible to make items bold, but you can also add background images, change the color of the text and  change the background color.   Keep reading to find out how to add some style to your next DropDownList. Whether you are dynamically binding a list of items from a database to a DropDownList, or just adding a few distinct items by hand, you can manipulate any of the html style properties of each... [More]

Posted by: adamwright
Posted on: 8/8/2009 at 2:03 PM
Tags: ,
Categories: RAP | ASP.NET
Actions: Bookmark and Share
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

RAP Series - Highlighting a Row in an ASP.Net GridView

Introducing the RAP Series I frequently get asked questions about basic ASP.Net scenarios by rookie programmers,  so I am taking the opportunity to post the answers to their questions to help out other rookie programmers.  All of these posts will be in my RAP (Rookie ASP.NET Programmer) series. The most recent scenario I was asked about was  highlighting a row in a GridView based on a status of an object.  The solution is quite simple but not immediately obvious. ... [More]

Posted by: adamwright
Posted on: 8/4/2009 at 6:06 PM
Tags: , ,
Categories: RAP
Actions: Bookmark and Share
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed