<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Basic .NET</title><link>http://forums.asp.net/36.aspx</link><description>Discussions/Questions about the Visual Basic .NET language. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=14&amp;c=23" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: 'ReDim' cannot change the number of dimensions of an array</title><link>http://forums.asp.net/thread/3266737.aspx</link><pubDate>Tue, 30 Jun 2009 14:12:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3266737</guid><dc:creator>David Anton</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3266737.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3266737</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Just let the compiler know that you&amp;#39;re dealing with a 2-dimensional array up front:&lt;/p&gt;
&lt;p&gt;Dim &lt;font size="2"&gt;XAxis_Value(,)&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: 'ReDim' cannot change the number of dimensions of an array</title><link>http://forums.asp.net/thread/3266267.aspx</link><pubDate>Tue, 30 Jun 2009 10:57:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3266267</guid><dc:creator>stevew1975</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3266267.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3266267</wfw:commentRss><description>&lt;p&gt;see this link. &lt;/p&gt;&lt;p&gt;http://msdn.microsoft.com/en-us/library/ttyw2sec.aspx&lt;/p&gt;&lt;p&gt;You are now unable to do this.&amp;nbsp; &lt;/p&gt;&lt;p&gt;You can do&lt;/p&gt;&lt;p&gt;Dim arr(1,1)&lt;/p&gt;&lt;p&gt;Redim arr(2,2)&lt;/p&gt;&lt;p&gt;but not&lt;/p&gt;&lt;p&gt;dim arr(1)&lt;/p&gt;&lt;p&gt;redim arr(2,2)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>'ReDim' cannot change the number of dimensions of an array</title><link>http://forums.asp.net/thread/3266094.aspx</link><pubDate>Tue, 30 Jun 2009 09:21:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3266094</guid><dc:creator>ryanlcs</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3266094.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3266094</wfw:commentRss><description>&lt;p&gt;Hi...&lt;/p&gt;
&lt;p&gt;I have an array declared:&lt;/p&gt;
&lt;p&gt;Dim &lt;font size="2"&gt;XAxis_Value()&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;and a ReDim statement.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;ReDim &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;XAxis_Value(nCharts, countRec)&lt;/font&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;This statement works fine in ASP, but when I switch to ASP.Net, it give errors &amp;#39;ReDim&amp;#39; cannot change the number of dimensions of an array.&lt;/p&gt;
&lt;p&gt;Any Idea?&lt;/p&gt;</description></item></channel></rss>