<?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>Search results matching tag '.net'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=.net&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag '.net'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>error in reading ↂ character in xml</title><link>http://forums.asp.net/thread/3591228.aspx</link><pubDate>Thu, 31 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3591228</guid><dc:creator>GuptaSaujanya</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi All,&lt;br /&gt;I have a &amp;nbsp;XML having special characters
in that.I am using &amp;quot;XMLTextReader&amp;quot; object for reading this XML.My
problem is that XMLTextReader is reading all the XML but it is not
recognizing some of the special characters and providing a square block
instead of these character. Can any one suggest why this is happening
and how can we get those characters.Encoding of this document is UTF-8.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;these are not &amp;nbsp;the illegal characters as IE is readily opening this XML
in UTF8 encoding but while reading XML through XMLTextReader &amp;nbsp;only
these special characters(ↂ ) are not recognized.&lt;/p&gt;</description></item><item><title>SqlDataAdapter.fill sometimes slow</title><link>http://forums.asp.net/thread/3591548.aspx</link><pubDate>Thu, 31 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3591548</guid><dc:creator>quincarroll</dc:creator><description>&lt;p&gt;I have a function that basically returns a dataset based on a sql query...&lt;/p&gt;&lt;p&gt;public static DataSet ReturnDataSet(SqlCommand lvSQLCommand)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataSet dsTemp = new DataSet(&amp;quot;dsTemp&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SqlDataAdapter daTemp = new SqlDataAdapter(lvSQLCommand);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; daTemp.Fill(dsTemp);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception ex)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw ex;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return dsTemp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;The query could be a simple as Select * from Table1 Where Field 1 = &amp;#39;Surname&amp;#39;&lt;/p&gt;&lt;p&gt;The number of records to be returned could be a few as 10 or as many as 10000.&lt;/p&gt;&lt;p&gt;Once in a while, I will be running my app in the IDE, and the app will seem like it has hung. I hit pause, and the app jumps to &amp;quot;daTemp.Fill(dsTemp);&amp;quot;. There is no problem with the query, as I can copy and paste it to my SQL Server Management Studio query window, and it will run in a second or two and return the expected rows.&lt;/p&gt;&lt;p&gt;This problem occurs in both vs2005 (win forms and asp.net) and vdw2008 express. The vs2005 win forms app was written by someone other than myself, in vb, and doesn&amp;#39;t use my function to return datasets, but still has the occasional slow down.&lt;/p&gt;&lt;p&gt;This makes me think that the problem may be on the sql server side, but I can&amp;#39;t figure out where or how. If I watch the cpu usage in Task Manager, I see that SQL server only spikes its usage just before the .fill action is completed, and the app continues to run, but it waits for something like 60 seconds before the spike.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If I re-start my pc, everything will be ok for a while, and then the &amp;quot;slow&amp;quot; .fill will strike again, and won&amp;#39;t end until I re-start.&lt;/p&gt;&lt;p&gt;Anyone know how to resolve this?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Cannot get jQuery intellisense working - Ive tried everything</title><link>http://forums.asp.net/thread/3589014.aspx</link><pubDate>Wed, 30 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3589014</guid><dc:creator>microgen</dc:creator><description>&lt;p&gt;i found a solution here&amp;nbsp;&amp;nbsp;&lt;a href="http://www.developersource.net/DevPage.aspx?ID=2"&gt;http://www.developersource.net/DevPage.aspx?ID=2&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Restful services</title><link>http://forums.asp.net/thread/3585332.aspx</link><pubDate>Mon, 28 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3585332</guid><dc:creator>visitmohanraj</dc:creator><description>&lt;p&gt;Hi all&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; I have written a simple rest based service (for eg :Addition of two nos) with two parameters. my requirement is now when i type in the rest url (ex:&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&lt;a href="http://localhost:17848/Service1.svc/Add"&gt;http://localhost:17848/Service1.svc/Add&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;) in my browser and click go i should get the parameters required for the method and i want to display these parameters in my web app in a textbox&amp;nbsp;Add&amp;nbsp;how can i do this??&lt;/p&gt;</description></item><item><title>ListBox selected index changed</title><link>http://forums.asp.net/thread/3586068.aspx</link><pubDate>Mon, 28 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3586068</guid><dc:creator>BrianFan</dc:creator><description>&lt;p&gt;I&amp;nbsp;am using 2 Html ListBoxes&amp;nbsp;in one of my&amp;nbsp;Views, mainly becuse there doesn&amp;#39;t seem to be support for a freakin&amp;#39; Radio button List, but anyways, I need to&amp;nbsp;display a textbox if one of the items in&amp;nbsp;one of the ListBoxes is selected.&amp;nbsp; How do I do that?&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s my code:&lt;/p&gt;
&lt;p&gt;View:&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt;&amp;lt;% using (Html.BeginForm())
    {%&amp;gt;
    &amp;lt;fieldset&amp;gt;
    &amp;lt;legend&amp;gt;Compare the following...&amp;lt;/legend&amp;gt;
    &amp;lt;%= Html.ListBox(&amp;quot;lstCompare&amp;quot;, (SelectList) ViewData[&amp;quot;CompareOptions&amp;quot;], new { style = &amp;quot;width: 300px;&amp;quot; })%&amp;gt;
    &amp;lt;/fieldset&amp;gt;
    &amp;lt;fieldset&amp;gt;
    &amp;lt;legend&amp;gt;Against the following...&amp;lt;/legend&amp;gt;
    &amp;lt;%= Html.ListBox(&amp;quot;lstAgainst&amp;quot;, (SelectList)ViewData[&amp;quot;AgainstOptions&amp;quot;], new { style = &amp;quot;width: 300px;&amp;quot; })%&amp;gt;
    &amp;lt;/fieldset&amp;gt;
    &amp;lt;%} %&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;Controller:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt;public ActionResult DataComparison()
        {
            ViewData[&amp;quot;CompareOptions&amp;quot;] = new SelectList(new[] { &amp;quot;List of NIIN&amp;#39;s&amp;quot;, &amp;quot;List of Part Numbers&amp;quot;, &amp;quot;DDRT On Hand Assets&amp;quot;, &amp;quot;AKZ On Hand Assets&amp;quot; });
            ViewData[&amp;quot;AgainstOptions&amp;quot;] = new SelectList(new[] { &amp;quot;DDRT On Hand Assets&amp;quot;, &amp;quot;AKZ On Hand Assets&amp;quot;, &amp;quot;MRAP University Requirements&amp;quot;, &amp;quot;Scorpion Cascade Requirements&amp;quot; });
            return View();
        }&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;So, what I need to do, is that if in the &amp;quot;Compare&amp;quot; ListBox, &amp;quot;List of NIIN&amp;#39;s&amp;quot; is selected, I need to display a TextBox, if any thing other than that is selected I need to hide the TextBox.&lt;/p&gt;
&lt;p&gt;Any help would be appreciated it.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;</description></item><item><title>Re: Authentication Error,</title><link>http://forums.asp.net/thread/3586630.aspx</link><pubDate>Mon, 28 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3586630</guid><dc:creator>askmaan</dc:creator><description>&lt;p&gt;Thank you very much for yor help&lt;/p&gt;
&lt;p&gt;If I have copied the application &amp;#39;Store&amp;#39; into the local host which is&amp;nbsp;C:\Inetpub\wwwroot, how can i convert the folder to webapplication if I have Windows 7.0 and IIS 7.0?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you one&amp;nbsp;more time for your&amp;nbsp;support&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Maan Kheirbeik&amp;nbsp;&lt;/p&gt;</description></item><item><title>Retrieve classes in assembly programatically??</title><link>http://forums.asp.net/thread/3579844.aspx</link><pubDate>Wed, 23 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3579844</guid><dc:creator>visitmohanraj</dc:creator><description>&lt;p&gt;HI all&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i have a dll with 5 classes in it .i need to reference the&amp;nbsp;dll progrmatically without hard coding dll and class name .and i have to retrieve all the classes in the dll without hard code how do i do this???&amp;nbsp;&lt;/p&gt;</description></item><item><title>Setting default date in textbox control that uses JQuery datepicker()</title><link>http://forums.asp.net/thread/3581150.aspx</link><pubDate>Wed, 23 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3581150</guid><dc:creator>CBunn</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to set the default date today&amp;#39;s date when a page loads.&amp;nbsp; I&amp;#39;m using the jquery&amp;nbsp;datepicker() widget.&amp;nbsp; The documentation says to do the following which is not working for me:&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;pre class="c-sharp" name="code"&gt;$(&amp;#39;#txtDateReceived&amp;#39;).datepicker({showOn: &amp;#39;button&amp;#39;, buttonImage: &amp;#39;Images/Calendar.PNG&amp;#39;, buttonImageOnly: true, &lt;strong&gt;currentText: &amp;#39;Now&amp;#39;&lt;/strong&gt;})

$(&amp;#39;#txtDateReceived&amp;#39;).datepicker(&amp;#39;option&amp;#39;, &lt;strong&gt;&amp;#39;currentText&amp;#39;, &amp;#39;Now&amp;#39;&lt;/strong&gt;);&lt;/pre&gt;
&lt;p&gt;My understanding is that&amp;nbsp;the &lt;em&gt;currentText&lt;/em&gt; is supposed to do this.&amp;nbsp; I also tried &amp;#39;Today&amp;#39; instead of &amp;#39;Now&amp;#39; which is the default, to no avail.&amp;nbsp; Does anyone know a solution to this?&amp;nbsp; Any help is appreciated.&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Retrieve classes in a assembly programatically</title><link>http://forums.asp.net/thread/3578668.aspx</link><pubDate>Tue, 22 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3578668</guid><dc:creator>visitmohanraj</dc:creator><description>&lt;p&gt;Hi all&lt;/p&gt;
&lt;p&gt;i have a&amp;nbsp; assembly with 5 classes written in it .i have a windows app which contains a button so on click of this i should get all the classes in the assembly programatically how do i do this???&amp;nbsp;&lt;/p&gt;</description></item><item><title>Bing API</title><link>http://forums.asp.net/thread/3570716.aspx</link><pubDate>Thu, 17 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3570716</guid><dc:creator>chchinmaya</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; i am new to this functionality could any one give me guidence how to work on bing api......&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>