<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: jqgrid multiselect: unique rowid string</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-multiselect-unique-rowid-string</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/jqgrid-multiselect-unique-rowid-string/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jimmyvithalani on jqgrid multiselect: unique rowid string</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-multiselect-unique-rowid-string#p25421</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-multiselect-unique-rowid-string#p25421</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I am facing a similar issue, after I upgraded from 3.7 to 4.2.</p>
<p>I have 2 rows selected in the grid, and both checkboxes are also shown checked.</p>
</p>
<p>But when I uncheck one checkbox to deselect it, other checkbox also gets unchecked, althouth the other item shows selected(highlighted &#8211; css).</p>
<p>This is really wierd and I am not able to crack it.</p>
</p>
<p>Anyone has any idea?</p>
</p>
<p>Jimmy.</p>
]]></description>
        	        	<pubDate>Thu, 15 Dec 2011 12:06:13 +0200</pubDate>
        </item>
        <item>
        	<title>miki on jqgrid multiselect: unique rowid string</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-multiselect-unique-rowid-string#p23255</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-multiselect-unique-rowid-string#p23255</guid>
        	        	<description><![CDATA[<p>Please help. Thanks for your time</p>
<p>I am using JqGrid with MVC using Json format. I am able to display data in jqgrid successfully. sorting, paging, filtering etc works fine too.</p>
<p>Issue: While selecting a row, the selection is not working properly, if I make the&#160;unique row id in the Json format as "String". if I select one row, some other row is getting selected. Also if I select the check box in the top ("selectAll/Multi select checkbox), rows are getting highlighted but check boxes for individual rows are not getting selected.</p>
</p>
<p>Question: do we need to make the unique row id in the JsonFormat as Integer like 1,2,3 etc??? Is it mandaory???</p>
</p>
<p>If I make the unique row id in the Json format as "Integer", this selection works fine.</p>
</p>
<p>Here is my code. controller, view, repository with hard coded data.</p>
</p>
<p>-------------------------------------------------------------------------------------------------------------<br />My Controller action:</p>
<p>&#160;public virtual JsonResult GetJQGridJsonData(int page, int rows, string search, string sidx, string sord)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; List&#60;Product&#62; jqData = new List&#60;Product&#62;();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jqData = Repository.GetProducts();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; int pageSize = rows;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; int totalRecords = jqData.Count();</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; int totalPages;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (totalRecords &#62; 0)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; totalPages = (int)Math.Ceiling((float)totalRecords / (float)pageSize);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; else<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; totalPages = 0;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var jsonData = new JqGridJsonData<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; total = totalPages,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; page = page,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; records = totalRecords,</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rows = jqData.Select(vm =&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; new JQGridRowJson<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; id = vm.ProductId.ToString(),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cell = new[]{</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; vm.ProductId.ToString(),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; vm.ProductNumber,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; vm.Size,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; vm.ReleaseDate.ToShortDateString(),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; vm.Amount.ToString(),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; vm.Description<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }).ToArray()</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; };<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return Json(jsonData, JsonRequestBehavior.AllowGet);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />--------------------------------------------------------------------------------------------------------------<br />&#160;</p>
<p>-------------------------------------------------------------------------------------------------------------<br />My View:</p>
<p>&#160;<br />&#60;link href="../../css/redmond/jquery-ui-1.8.13.custom.css" rel="stylesheet" type="text/css" /&#62;<br />&#60;link href="../../css/ui.jqgrid.css" rel="stylesheet" type="text/css" /&#62;</p>
<p>&#60;script src="../../js/jquery-1.5.2.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="../../js/i18n/grid.locale-en.js" type="text/javascript"&#62;&#60;/script&#62;<br />@*&#60;script src="../../js/jquery.jqGrid.min.js" type="text/javascript"&#62;&#60;/script&#62;*@<br />&#60;script src="../../js/jquery.jqGrid.src.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#160;&#60;table id="list2"&#62;&#60;/table&#62;<br />&#60;div id="pager2"&#62;&#60;/div&#62;<br />&#60;a href="#" id="a1"&#62;Get data from selected row&#60;/a&#62;</p>
<p>&#60;script type="text/javascript"&#62;</p>
<p>&#160;&#160;&#160; jQuery("#list2").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;/JsonProducts/GetJQGridJsonData/&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: "json",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;ProductId&#39;, &#39;ProductNumber&#39;, &#39;Size&#39;, &#39;ReleaseDate&#39;, &#39;Amount&#39;, &#39;Description&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160; &#160;&#160;{ name: &#39;ProductId&#39;, index: &#39;ProductId&#39;, width: 100, sortable: true, sorttype: "text" },<br />&#160;&#160; &#160;&#160;{ name: &#39;ProductNumber&#39;, index: &#39;ProductNumber&#39;, width: 100, sortable: true, sorttype: "text" },<br />&#160;&#160; &#160;&#160;{ name: &#39;Size&#39;, index: &#39;Size&#39;, width: 100, sortable: true, sorttype: "text" },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ReleaseDate&#39;, index: &#39;ReleaseDate&#39;, width: 100, datefmt: "mm/dd/yyyy", sorttype: "date", sortable: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Amount&#39;, index: &#39;Amount&#39;, width: 100, sortable: true, sorttype: "float" },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name: &#39;Description&#39;, hidden: true, index: &#39;Description&#39;, width: 100, sortable: false, editable: true, editrules: { edithidden: true} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ViewDetails&#39;, index: &#39;ViewDetails&#39;, width: 100, sortable: false },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name: &#39;fileAttached&#39;, index: &#39;fileAttached&#39;, align: "center", width: 40 }<br />&#160;&#160; &#160;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 20,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [10, 20, 30],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#39;#pager2&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;ProductId&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: "Enforcement Actions",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; multiselect: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 800,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: 600,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; toppager: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadonce: true, // to enable sorting on client side<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortable: true //to enable sorting <br />&#160;&#160;&#160; });<br />&#160;&#160;&#160; jQuery("#list2").jqGrid(&#39;navGrid&#39;, &#39;#pager2&#39;, { edit: false, add: false, del: false, view: true });<br />&#160;&#160;&#160; jQuery("#list2").jqGrid(&#39;filterToolbar&#39;, { stringResult: true, searchOnEnter: false });</p>
<p>&#60;/script&#62;</p>
<p>--------------------------------------------------------------------------------------------------------------</p>
<p>My Prodcuts List:</p>
<p>using System;<br />using System.Collections.Generic;<br />using System.Linq;<br />using System.Web;</p>
<p>namespace Models.Repository<br />{<br />&#160;&#160;&#160; public class Repository<br />&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; public static List&#60;Product&#62; GetProducts()<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; List&#60;Product&#62; products = new List&#60;Product&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; new Product("Prod 1", "Coke", "Abc100","Red","s","Fasion", Convert.ToDateTime("01/01/2012"),</p>
<p>Convert.ToDecimal("200.00"), "This is a long description to show in view record dialog. test test test test test"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; new Product("Prod 2", "Pepsi", "Abc200","blue","xl","B", Convert.ToDateTime("01/02/2012"),</p>
<p>Convert.ToDecimal("300.00"), "This is a long description to show in view record dialog. test test test test test"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; new Product("Prod 3", "L&#38;P", "Abc300","green","l","D", Convert.ToDateTime("01/10/2012"),</p>
<p>Convert.ToDecimal("200.00"), "This is a long description to show in view record dialog. test test test test test"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; new Product("Prod 4", "A&#38;B", "Abc400","purple","xxl","D", Convert.ToDateTime("02/01/2012"),</p>
<p>Convert.ToDecimal("400.00"), "This is a long description to show in view record dialog. test test test test test"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; new Product("Prod 5", "All Star", "Abc500","black","s","H", Convert.ToDateTime("03/01/2012"),</p>
<p>Convert.ToDecimal("500.00"), "This is a long description to show in view record dialog. test test test test test"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; new Product("Prod 6", "Wai", "Abc600","yellow","s","G", Convert.ToDateTime("04/01/2012"),</p>
<p>Convert.ToDecimal("2000.00"), "This is a long description to show in view record dialog. test test test test test"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; new Product("Prod 7", "cd", "Abc700","pink","s","C", Convert.ToDateTime("05/21/2012"),</p>
<p>Convert.ToDecimal("1200.00"), "This is a long description to show in view record dialog. test test test test test"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; new Product("Prod 8", "LV", "Abc800","blue","s","G", Convert.ToDateTime("09/01/2012"),</p>
<p>Convert.ToDecimal("200.00"), "This is a long description to show in view record dialog. test test test test test"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; new Product("Prod 9", "DD", "Abc900","grey","s","D", Convert.ToDateTime("09/20/2012"),</p>
<p>Convert.ToDecimal("200.00"), "This is a long description to show in view record dialog. test test test test test")</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; };<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return products;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; }<br />}<br />&#160;</p>
<p>--------------------------------------------------------------------------------------------------------------<br />My Product class:</p>
<p>using System;<br />using System.Collections.Generic;<br />using System.Linq;<br />using System.Web;</p>
<p>namespace Models.Repository<br />{<br />&#160;&#160;&#160; public class Product<br />&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; public Product()<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; private string productId;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; private string name;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; private string productNumber;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; private string color;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; private string size;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; private string style;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; private DateTime releaseDate;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; private Decimal amount;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; private string description;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; public virtual string ProductId<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; get { return productId; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set { productId = value; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; public virtual string Name<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; get { return name; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set { name = value; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; public virtual string ProductNumber<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; get { return productNumber; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set { productNumber = value; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; public virtual string Color<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; get { return color; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set { color = value; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; public virtual string Size<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; get { return size; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set { size = value; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; public virtual string Style<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; get { return style; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set { style = value; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; public virtual DateTime ReleaseDate<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; get { return releaseDate; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set { releaseDate = value; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; public virtual Decimal Amount<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; get { return amount; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set { amount = value; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; public virtual string Description<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; get { return description; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set { description = value; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; public Product(string productId, string name, string productNumber, string color, string size, string style, DateTime releaseDate, Decimal amount,</p>
<p>string description)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.productId = productId;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.name = name;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.productNumber = productNumber;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.color = color;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.size = size;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.style = style;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.ReleaseDate = releaseDate;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.Amount = amount;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.Description = description;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; }<br />}</p>
<p>-------------------------------------------------------------------------------------------------------------------------</p>
]]></description>
        	        	<pubDate>Fri, 20 May 2011 04:55:52 +0300</pubDate>
        </item>
</channel>
</rss>