<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>code for asp.net &#187; Controls</title>
	<atom:link href="http://www.codeforasp.net/category/asp-net-mvc/controls-asp-net-mvc/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codeforasp.net</link>
	<description>More about asp.net ajax silverlight MVC</description>
	<lastBuildDate>Tue, 02 Mar 2010 10:17:59 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Multiple Dropdownlist in Asp.net MVC</title>
		<link>http://www.codeforasp.net/multiple-dropdownlist-in-asp-net-mvc.html</link>
		<comments>http://www.codeforasp.net/multiple-dropdownlist-in-asp-net-mvc.html#comments</comments>
		<pubDate>Sat, 31 Oct 2009 04:33:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asp.net MVC]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[dropdownlist]]></category>
		<category><![CDATA[Html.DropDownList]]></category>
		<category><![CDATA[jsonResult]]></category>
		<category><![CDATA[MVC dropdown autopostback]]></category>

		<guid isPermaLink="false">http://www.codeforasp.net/?p=452</guid>
		<description><![CDATA[Create Database Purchase then create two tables in Purchase Database
Category table and Subcategory table
Goto Category and SubCategory tables
Steps to Create Multiple DropDownlist controls in Asp.net MVC
Start -&#62; Programs -&#62; choose VS2008 or 2005 -&#62; File-&#62; Project -&#62; choose web (project type Visual C#) -&#62;choose Asp.Net MVC Web Application -&#62; Application name is myFirstMVCapp -&#62; Go [...]]]></description>
		<wfw:commentRss>http://www.codeforasp.net/multiple-dropdownlist-in-asp-net-mvc.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Upload Files in Asp.net MVC</title>
		<link>http://www.codeforasp.net/how-to-upload-files-in-asp-net-mvc.html</link>
		<comments>http://www.codeforasp.net/how-to-upload-files-in-asp-net-mvc.html#comments</comments>
		<pubDate>Fri, 30 Oct 2009 04:38:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asp.net MVC]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[ActionResult]]></category>
		<category><![CDATA[Html.BeginForm]]></category>
		<category><![CDATA[HttpPostedFileBase]]></category>
		<category><![CDATA[mvc file]]></category>
		<category><![CDATA[mvc File upload control]]></category>

		<guid isPermaLink="false">http://www.codeforasp.net/?p=445</guid>
		<description><![CDATA[FileUpload Control
Model folder contains:  Purchase.dbml, IMediaRepository.cs Interface and MediaRepository.cs class file
Controller: Create New controller MediaController
View: Create New Folder name is Media
if controller name MediaController
view folder name is Media (see the below figure round controller and view folder name )
Note: Create Folder in Project SolutionExplorer name is Uploads

 
 
IMediaRepository.cs
 
public interface IMediaRepository
{
void Add(Media media);
void Save();
} [...]]]></description>
		<wfw:commentRss>http://www.codeforasp.net/how-to-upload-files-in-asp-net-mvc.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieve data from database using asp.net mvc and dropdownlist</title>
		<link>http://www.codeforasp.net/retrieve-data-from-database-using-asp-net-mvc-and-dropdownlist.html</link>
		<comments>http://www.codeforasp.net/retrieve-data-from-database-using-asp-net-mvc-and-dropdownlist.html#comments</comments>
		<pubDate>Thu, 29 Oct 2009 05:47:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asp.net MVC]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[asp.net mvc database]]></category>
		<category><![CDATA[Html.DropDownList]]></category>
		<category><![CDATA[mvc dropdownlist]]></category>
		<category><![CDATA[ViewData["CustomerID"]]]></category>

		<guid isPermaLink="false">http://www.codeforasp.net/?p=430</guid>
		<description><![CDATA[Step a: Using Model (Purchase.dbml) class are ICustomerRepository and
Customer Repository.
Part1: How to create Linq to sql classess   (Purchase.dbml)

Part2: How to create Repository Pattern in Model (ICustomerRepository and CustomerRepository)

Step b: Creating controller in Controller folder name is DropdownController
 
 PurchaseDataContext db = new PurchaseDataContext();
public ActionResult Index()
{
ViewData["CustomerID"] = new SelectList
(
db.tblCustomers,
&#8220;CustomerID&#8221;,
&#8220;Name&#8221;
);
return View();
}
Step c: Go to View Folder in [...]]]></description>
		<wfw:commentRss>http://www.codeforasp.net/retrieve-data-from-database-using-asp-net-mvc-and-dropdownlist.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
