<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>p2p.wrox.com Forums - BOOK:  Professional ASP.NET 3.5 SP1 Edition: In C# and VB</title>
		<link>http://p2p.wrox.com</link>
		<description>This is the forum to discuss the Wrox book Professional ASP.NET 3.5 SP1 Edition: In C# and VB by Bill Evjen, Scott Hanselman, and Devin Rader; ISBN: 9780470478264 Read more about Professional ASP.NET 3.5 SP1 Edition: In C# and VB  or buy the book from your favorite retailerDownload the code for Professional ASP.NET 3.5 SP1 Edition: In C# and VB Buy chapters from this book in PDF</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 23:14:46 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://p2p.wrox.com/images/misc/rss.jpg</url>
			<title>p2p.wrox.com Forums - BOOK:  Professional ASP.NET 3.5 SP1 Edition: In C# and VB</title>
			<link>http://p2p.wrox.com</link>
		</image>
		<item>
			<title>Application is crashing while assigning to DataRow</title>
			<link>http://p2p.wrox.com/book-professional-asp-net-3-5-sp1-edition-c-vb/77026-application-crashing-while-assigning-datarow.html</link>
			<pubDate>Fri, 13 Nov 2009 20:32:59 GMT</pubDate>
			<description><![CDATA[Please look at the following code:

Vals contains 2 fields and non empty

DataRow[] dr = m_dsOptions.Tables["TABLE"].Select("ID = '" + vals[0] +...]]></description>
			<content:encoded><![CDATA[<div>Please look at the following code:<br />
<br />
Vals contains 2 fields and non empty<br />
<br />
DataRow[] dr = m_dsOptions.Tables[&quot;TABLE&quot;].Select(&quot;ID = '&quot; + vals[0] + &quot;'&quot;);<br />
                    if (dr.Length &lt;= 0)	// name is not in list<br />
                    {<br />
                        DataRow newRow = m_dsOptions.Tables[&quot;TABLE_OPTIONS&quot;].NewRow();<br />
                        newRow[0] = vals[0];<br />
                        newRow[1] = vals[1];<br />
                        m_dsOptions.Tables[&quot;TABLE_OPTIONS&quot;].Rows.Add(newRow);<br />
                    }<br />
                    else if (1 == dr.Length) //&amp;&amp; dr[0][0] == vals[0])<br />
                    {<br />
                        dr[0][1] = vals[1];<br />
<font color="Red">SG:----------^ while assign the new data to the table I am getting exception. Please let me know if I am writing the code correctly</font><br />
                    }</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-professional-asp-net-3-5-sp1-edition-c-vb-497/">BOOK:  Professional ASP.NET 3.5 SP1 Edition: In C# and VB</category>
			<dc:creator>sandeepgupta26</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-professional-asp-net-3-5-sp1-edition-c-vb/77026-application-crashing-while-assigning-datarow.html</guid>
		</item>
	</channel>
</rss>
