<?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>Getting Started</title><link>http://forums.asp.net/15.aspx</link><description>The perfect forum for ASP.NET novices. No question too simple! &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=21&amp;amp;c=17" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>var for db data</title><link>http://forums.asp.net/thread/3525406.aspx</link><pubDate>Sat, 21 Nov 2009 10:24:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525406</guid><dc:creator>PProgrammer</dc:creator><author>PProgrammer</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/3525406.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525406</wfw:commentRss><description>&lt;p&gt;.NET 3.5, C#, web-application&lt;/p&gt;
&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I need a variable to store the data&amp;nbsp;which was generated by a sql &amp;quot;select . . .&amp;quot; statement.&lt;br /&gt;Currently I think, that an ArrayList-variable does this job correctly.&lt;br /&gt;Since the data from the database is retrieved in a class.cs file, I need to pass this ArrayList as a parameter.&lt;br /&gt;How do I pass an ArrayList as a parameter, in a way, that the ArrayList holds all items after return?&lt;/p&gt;
&lt;p&gt;The second approach I am thining about, is to define a global ArrayList like&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public static&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;ArrayList&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; DataArray = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;ArrayList&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;();&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Here I am not sure, if this global variable would hold &amp;quot;wrong&amp;quot; data, as soon as different sessions are started concurrently.&lt;/p&gt;
&lt;p&gt;Thanks for your advice.&lt;/p&gt;
&lt;p&gt;Patrick&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;/p&gt;</description></item><item><title>get the radiobutton for corresponding datalisty item</title><link>http://forums.asp.net/thread/3520225.aspx</link><pubDate>Wed, 18 Nov 2009 17:39:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3520225</guid><dc:creator>sumitravi</dc:creator><author>sumitravi</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3520225.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3520225</wfw:commentRss><description>&lt;p&gt;i want to convert this code to javascript code,,plz help &lt;/p&gt;&lt;pre&gt;&lt;code&gt;&lt;span&gt;rdb1 &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;RadioButton&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;DataList1&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;Items&lt;/span&gt;&lt;span&gt;[&lt;/span&gt;&lt;span&gt;i&lt;/span&gt;&lt;span&gt;].&lt;/span&gt;&lt;span&gt;FindControl&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;rdb1&amp;quot;&lt;/span&gt;&lt;span&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;if (rdb1 != null)&lt;br /&gt;                    {&lt;br /&gt;                        if (rdb1.Checked)&lt;br /&gt;                        {&lt;br /&gt;                            HiddenField hf = (HiddenField)DataList1.Items[i].FindControl(&amp;quot;HiddenField1&amp;quot;);&lt;br /&gt;                            value = hf.Value.ToString();&lt;br /&gt;                        }&lt;br /&gt;                    }     &lt;br /&gt;&lt;/span&gt;&lt;/code&gt; &lt;/pre&gt;</description></item><item><title>Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.</title><link>http://forums.asp.net/thread/3524645.aspx</link><pubDate>Fri, 20 Nov 2009 19:22:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3524645</guid><dc:creator>Peter Smith</dc:creator><author>Peter Smith</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3524645.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3524645</wfw:commentRss><description>&lt;p&gt;I get this error NOT on default.aspx, but I do on login.aspx. why would one page act different than the other?!?!&lt;br /&gt;I&amp;#39;ve installed ms AJAX: http://go.microsoft.com/fwlink/?LinkID=77296 already&lt;br /&gt;&lt;br /&gt;page default.aspx is shown:&lt;/p&gt;&lt;p&gt;&amp;lt;%@ Page Language=&amp;quot;VB&amp;quot; MasterPageFile=&amp;quot;~/MasterPage.master&amp;quot; AutoEventWireup=&amp;quot;false&amp;quot; CodeFile=&amp;quot;Default.aspx.vb&amp;quot; Inherits=&amp;quot;_Default&amp;quot; title=&amp;quot;Untitled Page&amp;quot; %&amp;gt;&lt;br /&gt;&amp;lt;asp:Content ID=&amp;quot;Content1&amp;quot; ContentPlaceHolderID=&amp;quot;cphTOP&amp;quot; Runat=&amp;quot;Server&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;br /&gt;&amp;lt;asp:Content ID=&amp;quot;Content2&amp;quot; ContentPlaceHolderID=&amp;quot;cphLEFT&amp;quot; Runat=&amp;quot;Server&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Button ID=&amp;quot;Button1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Button&amp;quot; /&amp;gt;&lt;br /&gt;label1&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Label ID=&amp;quot;Label1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Label&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&lt;br /&gt;&amp;lt;br /&amp;gt;&lt;br /&gt;label2&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Label ID=&amp;quot;Label2&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Label&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;br /&gt;&amp;lt;asp:Content ID=&amp;quot;Content3&amp;quot; ContentPlaceHolderID=&amp;quot;cphRIGHT&amp;quot; Runat=&amp;quot;Server&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;br /&gt;&lt;br /&gt;page login.aspx throws the error:&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;i&gt;&lt;i&gt;Could not load file or assembly &amp;#39;System.Web.Extensions,
Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;#39;
or one of its dependencies. The system cannot find the file specified.&lt;/i&gt;&lt;/i&gt;&lt;/h2&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;%@ Page Language=&amp;quot;VB&amp;quot; MasterPageFile=&amp;quot;~/MasterPage.master&amp;quot; AutoEventWireup=&amp;quot;false&amp;quot; CodeFile=&amp;quot;login.aspx.vb&amp;quot; Inherits=&amp;quot;login&amp;quot; title=&amp;quot;Ecomobil.nl &amp;gt; Inloggen&amp;quot; %&amp;gt;&lt;br /&gt;&amp;lt;asp:Content ID=&amp;quot;Content1&amp;quot; ContentPlaceHolderID=&amp;quot;cphTOP&amp;quot; Runat=&amp;quot;Server&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;br /&gt;&amp;lt;asp:Content ID=&amp;quot;Content2&amp;quot; ContentPlaceHolderID=&amp;quot;cphLEFT&amp;quot; Runat=&amp;quot;Server&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;br /&gt;&amp;lt;asp:Content ID=&amp;quot;Content3&amp;quot; ContentPlaceHolderID=&amp;quot;cphRIGHT&amp;quot; Runat=&amp;quot;Server&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Label ID=&amp;quot;lblStatus&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&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; &amp;lt;asp:Login PasswordRecoveryText=&amp;quot;wachtwoord vergeten?&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreateUserText=&amp;quot;onthoud mij&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Width=&amp;quot;100%&amp;quot; ID=&amp;quot;myLogin&amp;quot; runat=&amp;quot;server&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MembershipProvider=&amp;quot;myProvider&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FailureAction=&amp;quot;Refresh&amp;quot; VisibleWhenLoggedIn=&amp;quot;false&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PasswordLabelText=&amp;quot;wachtwoord&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FailureText=&amp;quot;Onjuist emailadres/wachtwoord&amp;quot; TextLayout=&amp;quot;TextOnTop&amp;quot; Orientation=&amp;quot;Horizontal&amp;quot;&amp;gt;&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; &amp;lt;CheckBoxStyle Wrap=&amp;quot;False&amp;quot; VerticalAlign=&amp;quot;Bottom&amp;quot; /&amp;gt;&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; &amp;lt;TextBoxStyle CssClass=&amp;quot;TextBox&amp;quot; Width=&amp;quot;120px&amp;quot; /&amp;gt;&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; &amp;lt;LayoutTemplate&amp;gt;&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;&lt;br /&gt;&lt;br /&gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Panel runat=&amp;quot;server&amp;quot; ID=&amp;quot;pnlLogin&amp;quot; DefaultButton=&amp;quot;LoginButton&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;table width=&amp;quot;400px&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b&amp;gt;&amp;lt;asp:Label ID=&amp;quot;UserNameLabel&amp;quot; runat=&amp;quot;server&amp;quot; AssociatedControlID=&amp;quot;UserName&amp;quot;&amp;gt;&amp;lt;asp:Literal ID=&amp;quot;Literal4&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Email&amp;quot; /&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:TextBox cssclass=&amp;quot;textbox&amp;quot; ID=&amp;quot;UserName&amp;quot; runat=&amp;quot;server&amp;quot; Width=&amp;quot;120px&amp;quot;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:RequiredFieldValidator SetFocusOnError=&amp;quot;True&amp;quot; ID=&amp;quot;UserNameRequired&amp;quot; runat=&amp;quot;server&amp;quot; ControlToValidate=&amp;quot;UserName&amp;quot; ErrorMessage=&amp;quot;*&amp;quot; ValidationGroup=&amp;quot;ctl00$ctl05$Login&amp;quot;&amp;gt;&amp;lt;/asp:RequiredFieldValidator&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b&amp;gt;&amp;lt;asp:Label ID=&amp;quot;PasswordLabel&amp;quot; runat=&amp;quot;server&amp;quot; AssociatedControlID=&amp;quot;Password&amp;quot;&amp;gt;&amp;lt;asp:Literal ID=&amp;quot;Literal16&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Wachtwoord&amp;quot; /&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:TextBox cssclass=&amp;quot;textbox&amp;quot; ID=&amp;quot;Password&amp;quot; runat=&amp;quot;server&amp;quot; TextMode=&amp;quot;Password&amp;quot; Width=&amp;quot;120px&amp;quot;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:RequiredFieldValidator SetFocusOnError=&amp;quot;True&amp;quot; ID=&amp;quot;PasswordRequired&amp;quot; runat=&amp;quot;server&amp;quot; ControlToValidate=&amp;quot;Password&amp;quot; ErrorMessage=&amp;quot;*&amp;quot; ValidationGroup=&amp;quot;ctl00$ctl05$Login&amp;quot;&amp;gt;&amp;lt;/asp:RequiredFieldValidator&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td colspan=&amp;quot;3&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:CheckBox CssClass=&amp;quot;normaltext&amp;quot; Font-Bold=&amp;quot;false&amp;quot; ID=&amp;quot;RememberMe&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;onthoud mij&amp;quot; /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Literal ID=&amp;quot;FailureText&amp;quot; runat=&amp;quot;server&amp;quot; EnableViewState=&amp;quot;False&amp;quot;&amp;gt;&amp;lt;/asp:Literal&amp;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;lt;/td&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td colspan=&amp;quot;3&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:LinkButton CausesValidation=&amp;quot;true&amp;quot; ID=&amp;quot;LoginButton&amp;quot; Text=&amp;quot;Login&amp;quot; cssclass=&amp;quot;FormImageTextButton&amp;quot; CommandName=&amp;quot;Login&amp;quot; ValidationGroup=&amp;quot;ctl00$ctl05$Login&amp;quot; style=&amp;quot;background-image: url(/Images/lock.png)&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/asp:LinkButton&amp;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;lt;/td&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;lt;/tr&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;lt;/table&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/asp:Panel&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a href=&amp;quot;newcustomer.aspx&amp;quot;&amp;gt;Nieuwe klant&amp;lt;/a&amp;gt;&amp;amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a href=&amp;quot;forgotpassword.aspx&amp;quot;&amp;gt;Wachtwoord vergeten&amp;lt;/a&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&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; &amp;lt;/LayoutTemplate&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/asp:Login&amp;gt; &amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/i&gt;&lt;/i&gt;&lt;/p&gt;</description></item><item><title>HTML Encoding</title><link>http://forums.asp.net/thread/3525925.aspx</link><pubDate>Sat, 21 Nov 2009 21:31:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525925</guid><dc:creator>istakoza</dc:creator><author>istakoza</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3525925.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525925</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;How do I HTMLEncode this:&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;lt;%&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;#&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;Left(Eval(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Description&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).ToString(), 250) &amp;amp; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot; ...&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;%&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;</description></item><item><title>changing DIV style from C#</title><link>http://forums.asp.net/thread/3525826.aspx</link><pubDate>Sat, 21 Nov 2009 19:35:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525826</guid><dc:creator>golsen1</dc:creator><author>golsen1</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/3525826.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525826</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a master page containing a DIV. On some of my pages I want that&amp;nbsp;DIV&amp;#39;s&amp;nbsp;width to be different than on other pages. &lt;/p&gt;
&lt;p&gt;What is the best way to accomplish this? I was thinking about just setting the width using C# in the code behind page_load method, but have found that this is not as easy as it sounds.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Help anyone?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Geir&amp;nbsp;&lt;/p&gt;</description></item><item><title>Help fix this code</title><link>http://forums.asp.net/thread/3524909.aspx</link><pubDate>Fri, 20 Nov 2009 22:12:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3524909</guid><dc:creator>saburius</dc:creator><author>saburius</author><slash:comments>9</slash:comments><comments>http://forums.asp.net/thread/3524909.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3524909</wfw:commentRss><description>&lt;p&gt;Hi, I have the following syntax which does not work on the line commented below. Can some one tell me how to fix it?&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="c-sharp"&gt;    protected override void Render(HtmlTextWriter writer)
    {
        string controlpath = &amp;quot;~/pages/controls/page.ascx&amp;quot;;
        Control controltoload = LoadControl(controlpath);

        //string builder for page output
        StringBuilder sb = new StringBuilder();
        StringWriter sw = new StringWriter(sb);
        HtmlTextWriter hw = new HtmlTextWriter(sw);
        base.Render(hw);

        sb.Replace(&amp;quot;[$uc:mycontrol$]&amp;quot;, RenderControl(controltoload)); //has invalid arguments - syntax incorrect here

        //Output replacements
        writer.Write(sb.ToString());
    }&lt;/pre&gt;&lt;br /&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>"global" variables and sessions</title><link>http://forums.asp.net/thread/3525560.aspx</link><pubDate>Sat, 21 Nov 2009 13:25:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525560</guid><dc:creator>PProgrammer</dc:creator><author>PProgrammer</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/3525560.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525560</wfw:commentRss><description>&lt;p&gt;.NET 3.5, C#, webapplication&lt;/p&gt;
&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;As I was just told in a earlier post,&amp;nbsp;the variable&amp;nbsp;&amp;quot;ExampleString&amp;quot;, which is declared at the top of&amp;nbsp;a class won&amp;#39;t be shared across sessions.&lt;/p&gt;
&lt;p&gt;Why do we need to define Session-variables in some cases?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;public class ExampleClass&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp;public static string ExampleString = &amp;quot;Text&amp;quot;;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Patrick&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Connection String - Local MS SQL 2005 (express)</title><link>http://forums.asp.net/thread/3525789.aspx</link><pubDate>Sat, 21 Nov 2009 18:57:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525789</guid><dc:creator>RichardLaw</dc:creator><author>RichardLaw</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3525789.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525789</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I&amp;#39;m running Windows XP, and MS SQL Express&amp;nbsp;2005.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve made a simple&amp;nbsp;.Net 2.0 website and it runs fine; but I&amp;#39;d like to get it running using IIS&amp;nbsp;outside of&amp;nbsp;Visual Studio.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve setup IIS and that&amp;#39;s fine, but what do I need to use for the connection string? Do I create a ODBC connection?&lt;/p&gt;
&lt;p&gt;Can&amp;nbsp;someone please help with examples?&lt;/p&gt;
&lt;p&gt;Many thanks&lt;br /&gt;Richard&amp;nbsp;&lt;/p&gt;</description></item><item><title>Extracting data from dynamic array in c# &amp; .net</title><link>http://forums.asp.net/thread/3520297.aspx</link><pubDate>Wed, 18 Nov 2009 18:28:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3520297</guid><dc:creator>arif10101</dc:creator><author>arif10101</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3520297.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3520297</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am having a little difficulty taking the values from a dynamic array into&amp;nbsp;fixed variables.&amp;nbsp;What&amp;nbsp;I am doing is this:&lt;/p&gt;
&lt;p&gt;text is pasted into a textbox on a web form, we don&amp;#39;t know how many lines this text will consist of so&amp;nbsp;a dynamic array is used to collect the data. I would like to take the array data and set them to fixed variables within the script but i would like&amp;nbsp;the array loop to create the variables dependant on how many lines the textbox conatins. eg text1, text2, text3&amp;nbsp;and so on. Is there a way to create a loop that will create unique variables and set them to the&amp;nbsp;position value of the array until it reaches the end of the array collection for use further on in the script?&lt;/p&gt;
&lt;p&gt;All help welcome.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Arif&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>UrlRewriter.Net 1.8 - How to transform all given URL to lower case</title><link>http://forums.asp.net/thread/3525827.aspx</link><pubDate>Sat, 21 Nov 2009 19:36:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525827</guid><dc:creator>elbasha</dc:creator><author>elbasha</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3525827.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525827</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I have configured UrlRewriterNet 1.8 to work with my site for URL Rewrite, my only concern is that I want all the links to always be lower case, I couldn&amp;#39;t find anywhere that had examples of how to do it.&amp;nbsp; I have all the links listed on my site&amp;#39;s web.config as&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;rewriter&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;rewrite url=&amp;quot;~/About&amp;quot; to=&amp;quot;~/About.aspx&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/rewriter&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;How to add the rule (always lower case)?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Another issues, if I want it when the user goes to www.site.com, I want it to just be www.site.com/ with no name after that, when I go to www.site.com it loads up fine and only goes to www.site.com/, but if I type site.com, it would load up and go to site.com/default.aspx.&amp;nbsp; The whole issue from this comes up because I have the following code, if i remove it the default.aspx doesn&amp;#39;t show up:&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="vb.net"&gt;            &amp;#39;* Set it to always have www. in the domain name
            If HttpContext.Current.Request.Url.ToString().ToLower().Contains(&amp;quot;http://site.com&amp;quot;) Then

                HttpContext.Current.Response.Status = &amp;quot;301 Moved Permanently&amp;quot;

                HttpContext.Current.Response.AddHeader(&amp;quot;Location&amp;quot;, Request.Url.ToString().ToLower().Replace(&amp;quot;http://site.com&amp;quot;, &amp;quot;http://www.site.com&amp;quot;))

            End If


&lt;/pre&gt;&lt;br /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>I have so many questions on this!</title><link>http://forums.asp.net/thread/3525670.aspx</link><pubDate>Sat, 21 Nov 2009 16:03:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525670</guid><dc:creator>Collegekid090</dc:creator><author>Collegekid090</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3525670.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525670</wfw:commentRss><description>&lt;p&gt;I am studying ASP.Net at uni using Visual studio 2005 platform.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;First of all on my home pc I have C# express Visual Studio 05, but not the web devlpmt part. I have looked to see if I have the dot net framework &amp;nbsp;which I do have. Is it possible to upgrade it to the full whack Visual Studio 05 or is this definitely an uninstall and install Visual studio 05 issue?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Secondly I have tried to get a clear cut answer to this but all I get is whaffle both from lecturers and other students. What exactly is the purpose of the MasterPage? Can it be seen on the overall site is it like an ordinary &amp;quot;Home page&amp;quot; on an html site?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any help on this would be most welcome!&lt;/p&gt;&lt;p&gt;Cheers&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>difference between Response.Redirect and Server.Transfer</title><link>http://forums.asp.net/thread/3525736.aspx</link><pubDate>Sat, 21 Nov 2009 18:00:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525736</guid><dc:creator>varunpals</dc:creator><author>varunpals</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3525736.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525736</wfw:commentRss><description>&lt;p&gt;hi to all&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Can anyone expalin me the difference between Response.Redirect and Server.Transfer..&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Varun Anand&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Layout</title><link>http://forums.asp.net/thread/3525692.aspx</link><pubDate>Sat, 21 Nov 2009 16:46:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525692</guid><dc:creator>brekehan</dc:creator><author>brekehan</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3525692.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525692</wfw:commentRss><description>&lt;p&gt;What are my options for layout in ASP.NET 3.5?&lt;/p&gt;
&lt;p&gt;I bought a book and cranked up the visual designer. I noticed there wasn&amp;#39;t much poin using it, because I can&amp;#39;t drag controls into position like I can for applications. I did read that I can turn on absolut positioning and then drag, which worked. But absolut positioning of everything isn&amp;#39;t the best either.&lt;/p&gt;
&lt;p&gt;What are the options?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve found:&lt;/p&gt;
&lt;p&gt;1) html tables&lt;/p&gt;
&lt;p&gt;2) div sections with absolut positioning in css&lt;/p&gt;
&lt;p&gt;3) floating controls&amp;nbsp; (never got this to work for me)&lt;/p&gt;
&lt;p&gt;Anything else?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was hoping to desing different &amp;quot;groups of controls&amp;quot;, absolutly positioned on panels of some sort, and then float those panels around, almost as if I made a custom control in an application and could put it in any app following.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Popup window problem</title><link>http://forums.asp.net/thread/3525684.aspx</link><pubDate>Sat, 21 Nov 2009 16:25:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525684</guid><dc:creator>suzan.nali</dc:creator><author>suzan.nali</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3525684.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525684</wfw:commentRss><description>&lt;p&gt;I m facing a very tough time with popup window. I have 4 hyperlink in my ASP.NET form. When I click any one link the popup window show the correct data but when I close the popup window and click the other hyperlink, the popup window show the same data which it display in 1st time. I close the application &amp;amp; again start but the same happening as&amp;nbsp;popup window&amp;nbsp;always show the same data which it show when I first time click it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please help me urgently.&lt;/p&gt;</description></item><item><title>Err: variable "  xxx  " is assigned but its value is never used</title><link>http://forums.asp.net/thread/3524574.aspx</link><pubDate>Fri, 20 Nov 2009 18:37:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3524574</guid><dc:creator>mahichandu</dc:creator><author>mahichandu</author><slash:comments>6</slash:comments><comments>http://forums.asp.net/thread/3524574.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3524574</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi ,&lt;/p&gt;
&lt;p&gt;I have some condition onmy page to search the data. To set the conditions I set the Boolean variables for 8 conditions. My page works fine without errors. I am using that variable in my page.But, I will get this warning messages like assigned Never used. I am declaring &amp;amp; using everything in same method. &lt;/p&gt;
&lt;p&gt;I tried by decalring those variables by Gloabally also. Even though I am getting this warning message. Why ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In the same method I declared local variables. Everything works fine. For one variable same warning message coming . Why ? How to get rid of this messages. ?? please respond to my post.&lt;/p&gt;
&lt;p&gt;&amp;#39;The variable &amp;#39;bCondition1Met&amp;#39; is assigned but its value is never used &lt;/p&gt;
&lt;p&gt;The variable &amp;#39;bCondition2Met&amp;#39; is assigned but its value is never used &lt;/p&gt;
&lt;p&gt;The variable &amp;#39;bCondition3Met&amp;#39; is assigned but its value is never used&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The variable &amp;#39;bCondition4Met&amp;#39; is assigned but its value is never used &lt;/p&gt;
&lt;p&gt;The variable &amp;#39;bCondition5Met&amp;#39; is assigned but its value is never used &lt;/p&gt;
&lt;p&gt;The variable &amp;#39;bCondition6Met&amp;#39; is assigned but its value is never used &lt;/p&gt;
&lt;p&gt;The variable &amp;#39;bCondition7Met&amp;#39; is assigned but its value is never used &lt;/p&gt;
&lt;p&gt;The variable &amp;#39;bCondition8Met&amp;#39; is assigned but its value is never used &lt;/p&gt;
&lt;p&gt;The variable &amp;#39;bMiddleInitialFound&amp;#39; is assigned but its value is never used.&lt;/p&gt;
&lt;p&gt;See my Method For above warning messages.&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt; public void GetSearchConditions()
    {
    
       try
       {
           #region declaring condition &amp;amp; boolean varibles
           Boolean bCondition1Met = false;           
           Boolean bCondition2Met = false;
           Boolean bCondition3Met = false;
           Boolean bCondition4Met = false;
           Boolean bCondition5Met = false;
           Boolean bCondition6Met = false;
           Boolean bCondition7Met = false;
           Boolean bCondition8Met = false;  
 
           Boolean bSSNFound = false;
           Boolean bLastNameFound = false;
           Boolean bFirstNameFound = false;
           Boolean bFirstInitialFound = false;
           Boolean bMiddleInitialFound = false;
           Boolean bDayofBirthFound = false;
           Boolean bMonthofBirthFound = false;
           Boolean bYearofBirthFound = false;
           Boolean bFathersSurnameFound = false;          
           Boolean bYearofdeathFrom = false;
           Boolean bYearofdeathTo = false;

           string bSexFound = string.Empty;
           #endregion

           #region /**declaring local variable for all the values**/

           string _ssntxt = String.Empty;
           if (ssntxt.Text.Trim().Length &amp;gt; 0)
           {
               _ssntxt = ssntxt.Text.Trim();
               bSSNFound = true;
           }

           string _lname = String.Empty;
           if (lname.Text.Trim().Length &amp;gt; 0)
           {
               _lname = lname.Text.Trim();
               bLastNameFound = true;
           }

           string _fname = String.Empty;
           string _finame = String.Empty;
           if (fname.Text.Trim().Length &amp;gt; 0)
           {
               _fname = fname.Text.Trim();
               bFirstNameFound = true;

               if (_fname.Length == 1)
               {
                   _finame = _fname;
                   _fname = String.Empty;
                   bFirstInitialFound = true;
                   bFirstNameFound = false;
               }

           }

           string _mi = string.Empty;
           if (mi.Text.Trim().Length &amp;gt; 0)
           {
               _mi = mi.Text.Trim();
               bMiddleInitialFound = true;
           }

           string _dobddl = string.Empty;
           if (dobddl.SelectedValue != &amp;quot;&amp;quot;)
           {
               _dobddl = dobddl.SelectedValue.Trim();
               bDayofBirthFound = true;
           }

           string _mobddl = string.Empty;
           if (mobddl.SelectedIndex &amp;gt; 0)
           {
               _mobddl = mobddl.SelectedValue.Trim();
               bMonthofBirthFound = true;
           }

           string _yobddl = string.Empty;
           if (yobddl.SelectedIndex &amp;gt; 0)
           {
               _yobddl = yobddl.SelectedValue.Trim();
               bYearofBirthFound = true;
           }
                string _fstxt = string.Empty;
           if (fstxt.Text.Trim().Length &amp;gt; 0)
           {
               _fstxt = fstxt.Text.Trim();
               bFathersSurnameFound = true;
           }


           string _sex = string.Empty;
           if (sextxt.SelectedIndex &amp;gt; 0)
           {
               _sex = sextxt.SelectedValue.Trim();
               bSexFound = string.Empty;

           }
           string _yodfromddl = string.Empty;
           if (yodfromddl.SelectedIndex &amp;gt; 0)
           {
               _yodfromddl = yodfromddl.SelectedValue.Trim();
               bYearofdeathFrom = true;

           }
           string _yodtoddl = string.Empty;
           if (yodtoddl.SelectedIndex &amp;gt; 0)
           {
               _yodtoddl = yodtoddl.SelectedValue.Trim();
               bYearofdeathTo = true;

           }
           #endregion

          
          &lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>SQL Server, Button_Click, C#</title><link>http://forums.asp.net/thread/3523005.aspx</link><pubDate>Fri, 20 Nov 2009 02:28:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3523005</guid><dc:creator>Yoseph</dc:creator><author>Yoseph</author><slash:comments>7</slash:comments><comments>http://forums.asp.net/thread/3523005.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3523005</wfw:commentRss><description>&lt;p&gt;Help!&amp;nbsp; I am new to&amp;nbsp;ASP and C#.&amp;nbsp;&amp;nbsp;At click of button1 I want to execute a sql server Select query&amp;nbsp;that will query the&amp;nbsp;text entered by user in&amp;nbsp;textbox1 and I want the result of the query to&amp;nbsp;pop up&amp;nbsp;in a message box.&amp;nbsp; Below is what I have so far in my aspx.cs.&amp;nbsp; Can some show me the rest?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;/p&gt;
&lt;p&gt;public partial class _Default : System.Web.UI.Page &lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Button1_Click(object sender, EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>"System.BadImageFormatException: Field token out of range." error.</title><link>http://forums.asp.net/thread/3524923.aspx</link><pubDate>Fri, 20 Nov 2009 22:19:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3524923</guid><dc:creator>newbie2C#</dc:creator><author>newbie2C#</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3524923.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3524923</wfw:commentRss><description>&lt;p&gt;I just ran a project and got the following error: System.BadImageFormatException: Field token out of range. &amp;nbsp;I did a little reading online. &amp;nbsp;One article &amp;nbsp;in the msdn library said &amp;quot;A&amp;nbsp;&lt;span&gt;&lt;a style="text-decoration:none;color:#0033cc;" href="http://msdn.microsoft.com/en-us/library/system.badimageformatexception.aspx" id="ctl00_MTCS_main_ctl01"&gt;BadImageFormatException&lt;/a&gt;&lt;/span&gt;&amp;nbsp;exception is thrown when the file image of a DLL or executable program is not valid.&amp;quot; &amp;nbsp;&lt;/p&gt;&lt;p&gt;This project ran fine a couple days ago. &amp;nbsp;I don&amp;#39;t recall doing anything that would cause this type of error. &amp;nbsp;I don&amp;#39;t know what would be causing this error or how to fix it. &amp;nbsp;Does anyone have any ideas? &amp;nbsp;Thanks.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This is from the stack trace of the error page:&lt;/p&gt;&lt;pre style="font-family:&amp;#39;Lucida Console&amp;#39;;font-size:0.9em;"&gt;[BadImageFormatException: Field token out of range.]
   Microsoft.VisualStudio.WebHost.Host.GetProcessToken() +0
   Microsoft.VisualStudio.WebHost.Request.GetUserToken() +35
   Microsoft.VisualStudio.WebHost.Request.GetServerVariable(String name) +202
   System.Web.Security.WindowsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs) +117
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +75&lt;/pre&gt;</description></item><item><title>Data Grid View</title><link>http://forums.asp.net/thread/3525364.aspx</link><pubDate>Sat, 21 Nov 2009 10:01:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525364</guid><dc:creator>balajiarun88</dc:creator><author>balajiarun88</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3525364.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525364</wfw:commentRss><description>&lt;p&gt;Hi Friends,&lt;/p&gt;&lt;p&gt;I am going to import a data to datagrid view from SQL server 2008 with edit , update option .&lt;/p&gt;&lt;p&gt;If i compile i get a data from sqlserver , but if i edit a row the following error i get&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;b&gt;&amp;quot;The datatypes ntext and nvarchar are incompatible in the equalto operator&amp;quot;&lt;/b&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;and also&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>If 2 people are working on the same ASP.NET C# site, each one must download all .cs files and recompile the whole site everytime a small change is done?</title><link>http://forums.asp.net/thread/3525105.aspx</link><pubDate>Sat, 21 Nov 2009 04:45:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525105</guid><dc:creator>ibarreto</dc:creator><author>ibarreto</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3525105.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525105</wfw:commentRss><description>&lt;p&gt;I am moving from classic ASP to ASP.NET&lt;/p&gt;&lt;p&gt;Me and my partner are working on the same site. Do we need to recompile everything, everytime we make a change to a .cs file? is there a way to work like classic ASP, just changing the code in the file that needs it?&lt;/p&gt;&lt;p&gt;thanks&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title> passing database values to javascript function</title><link>http://forums.asp.net/thread/3523364.aspx</link><pubDate>Fri, 20 Nov 2009 07:09:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3523364</guid><dc:creator>ganaparthi</dc:creator><author>ganaparthi</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/3523364.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3523364</wfw:commentRss><description>&lt;p&gt;hi to all,&lt;br /&gt;&amp;nbsp;i have javascript file named as sample.js,&lt;br /&gt;&lt;br /&gt;in my js file i have some methods like &lt;br /&gt;&amp;nbsp;function loadEarth(mapdiv) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (GBrowserIsCompatible()) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(!mapdiv)return true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var map=new GMap2(document.getElementById(&amp;quot;map&amp;quot;));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.setCenter(new google.maps.LatLng(12.925348,74.828138),14);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addControl(new GOverviewMapControl());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.enableDoubleClickZoom();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.enableScrollWheelZoom();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addControl(new GMapTypeControl());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addControl(new GSmallMapControl());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.setMapType(G_SATELLITE_MAP);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;in above method i have taken lat long values statically,but i need take from server(sql)&lt;br /&gt;&lt;br /&gt;function loadEarth(mapdiv,lat,long) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (GBrowserIsCompatible()) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(!mapdiv)return true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var map=new GMap2(document.getElementById(&amp;quot;map&amp;quot;));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.setCenter(new google.maps.LatLng(lat,long),14);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addControl(new GOverviewMapControl());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.enableDoubleClickZoom();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.enableScrollWheelZoom();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addControl(new GMapTypeControl());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addControl(new GSmallMapControl());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.setMapType(G_SATELLITE_MAP);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;above i need to pass lat long values from server methods,means from .CS file.&lt;br /&gt;&lt;br /&gt;how do i do this stuff.&lt;br /&gt;&lt;br /&gt;pelase help me&lt;br /&gt;&lt;br /&gt;regards &lt;br /&gt;ganaparthi&lt;/p&gt;</description></item><item><title>Windows Server 2008 Event log problem: SuccessAudit and FailureAudit not recognized</title><link>http://forums.asp.net/thread/3519738.aspx</link><pubDate>Wed, 18 Nov 2009 13:16:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3519738</guid><dc:creator>VirtualSurfer</dc:creator><author>VirtualSurfer</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3519738.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3519738</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;after testing my web application on Windows Server 2008 I noticed that not all&amp;nbsp;EventLogEntryTypes are recognized by the Event Viewer in Windows Server 2008. Only icons for Error, Warning and Information are displayed. In case of SuccessAudit and FailureAudit&amp;nbsp;the log entries are written but&amp;nbsp;only&amp;nbsp;the Information icon is displayed for these entries. On XP all icons are recognized correctly in the Event Viewer. So what might be the reason for this problem? Possible .Net framework bug in Windows Server 2008?&lt;/p&gt;
&lt;p&gt;I am writing to&amp;nbsp;custom&amp;nbsp;logs with the following kind of&amp;nbsp;code (which should be ok):&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt;STLogPermission.WriteEntry(&amp;quot;This is an Error message.&amp;quot;, EventLogEntryType.Error, 1);
                STLogPermission.WriteEntry(&amp;quot;This is a FailureAudit message.&amp;quot;, EventLogEntryType.FailureAudit, 2);
                STLogPermission.WriteEntry(&amp;quot;This is an Information message.&amp;quot;, EventLogEntryType.Information, 3);
                STLogPermission.WriteEntry(&amp;quot;This is a SuccessAudit message.&amp;quot;, EventLogEntryType.SuccessAudit, 4);
                STLogPermission.WriteEntry(&amp;quot;This is a Warning message.&amp;quot;, EventLogEntryType.Warning, 5);&lt;/pre&gt;&lt;pre class="c-sharp" name="code"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="c-sharp" name="code"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;</description></item><item><title>ASP.NET Database driven dynamic hyperlinks</title><link>http://forums.asp.net/thread/3524482.aspx</link><pubDate>Fri, 20 Nov 2009 17:42:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3524482</guid><dc:creator>tous0024</dc:creator><author>tous0024</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3524482.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3524482</wfw:commentRss><description>&lt;p&gt;Group,&lt;/p&gt;
&lt;p&gt;Not 100% sure how to explain what I am trying to do, but here it goes.&amp;nbsp; I have a sql table that contains an ID, LinkDetail and LinkURL columns.&amp;nbsp; I have a page that has a drop down list and from that dropdown list the can select items that would match the ID field in my table.&amp;nbsp; I then want to bring them to another page that will display the LinkDetail that match the ID that was selected on the previous page.&amp;nbsp; Also I want the value in the LinkDetail field to be displayed, but I need it to be hyperlinked and the hyperlink value appears in the LinkURL column.&lt;/p&gt;
&lt;p&gt;So a short example if someone select 200 from the dropdown list they would then be taken to a page that has 3 links&amp;nbsp; LinkDetail1, LinkDetail2, LinkDetail3 and their values would be LinkURL1, LinkURL2, LinkURL3&lt;/p&gt;
&lt;p&gt;So dynamic hyperlinks.&amp;nbsp; I guess before worying about passing the ID my main question is how do I create a hyperlink that is dynamic from a SQL table instead of hard coded?&lt;/p&gt;
&lt;p&gt;I am working in c#&lt;/p&gt;</description></item><item><title>Menu control like ebay using multiple datatables??</title><link>http://forums.asp.net/thread/3523956.aspx</link><pubDate>Fri, 20 Nov 2009 13:14:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3523956</guid><dc:creator>Spider8990</dc:creator><author>Spider8990</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3523956.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3523956</wfw:commentRss><description>&lt;p&gt;Hey I would like to know if someone can please help me&lt;/p&gt;&lt;p&gt;I would like to use a menu control like the one in &lt;a title="ebay" href="http://computers.shop.ebay.com/"&gt;ebay&lt;/a&gt;....&lt;/p&gt;&lt;p&gt;What I need to know is how do I use seperate datatables and bind it to a navigation control like a menu control&lt;/p&gt;&lt;p&gt;my 4 datatables would be something like....&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1) parent level datatable,&amp;nbsp; 2)child level datatable,&amp;nbsp;&amp;nbsp;&amp;nbsp; 3)child sub level datatable,&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; 4)&amp;nbsp; child sub sub level datatable&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Does anyone know how I can achieve this with datatables....????&lt;/p&gt;&lt;p&gt;I would appreciate any help you can give me &lt;/p&gt;&lt;p&gt;Thank you&lt;/p&gt;&lt;p&gt;Jake&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Windows 7 Home Premium</title><link>http://forums.asp.net/thread/3524652.aspx</link><pubDate>Fri, 20 Nov 2009 19:26:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3524652</guid><dc:creator>thuhue</dc:creator><author>thuhue</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3524652.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3524652</wfw:commentRss><description>&lt;p&gt;Is&amp;nbsp;Windows 7 Home Premium&amp;nbsp;really causing problems with ASP.NET development on a localhost box? I need to know&amp;nbsp;before&amp;nbsp;getting it for a new dev box. Any help is greatly appreciated.&lt;/p&gt;</description></item><item><title>ampersands in an imagebutton and querystring</title><link>http://forums.asp.net/thread/3523456.aspx</link><pubDate>Fri, 20 Nov 2009 08:10:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3523456</guid><dc:creator>elbasha</dc:creator><author>elbasha</author><slash:comments>10</slash:comments><comments>http://forums.asp.net/thread/3523456.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3523456</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I have the item &amp;quot;AT&amp;amp;T&amp;quot; in a repeater with the text listed and an imagebutton which has the imgurl of images/AT&amp;amp;T.jpg.&amp;nbsp; My AT&amp;amp;T and the image directory images/AT&amp;amp;T.jpg are stored in the database.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Issue #1 - The image AT&amp;amp;T does not come up on my repeater, all other items without an ampersand have their picture working.&lt;/p&gt;&lt;p&gt;Issue #2 - When I click on the imagebutton or on the text (linkbutton), I get directed to a page and it says &amp;quot;bad request&amp;quot;, the url it goes to is site.com/Name.aspx?Name=AT&amp;amp;T&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>