<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[KillerSites.com Web Design Forums - asp.net homework help]]></title>
		<link>http://www.killersites.com/forums/topic/1132/aspnet-homework-help/</link>
		<description><![CDATA[The most recent posts in asp.net homework help.]]></description>
		<lastBuildDate>Thu, 09 Jul 2009 05:18:36 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: asp.net homework help]]></title>
			<link>http://www.killersites.com/forums/post/9093/#p9093</link>
			<description><![CDATA[<p>I just came across a site named tutorsonnet.com, which provides online homework help for all the major subjects. I just wanted to share this information. Hope this will help you.</p><p><a href="http://www.tutorsonnet.com/assignmenthelp.htm" rel="nofollow">homework help</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Danielmartin222)]]></author>
			<pubDate>Thu, 09 Jul 2009 05:18:36 +0000</pubDate>
			<guid>http://www.killersites.com/forums/post/9093/#p9093</guid>
		</item>
		<item>
			<title><![CDATA[Re: asp.net homework help]]></title>
			<link>http://www.killersites.com/forums/post/6075/#p6075</link>
			<description><![CDATA[<p>Well done on getting that working. Looks like you&#039;re nearly there!</p><p>Err, to repeat, my asp.net is very rusty, but I think selecting Image as the field type and then entering the URL of the image should work. Have you double and triple checked your image paths?</p><p>I would suggest troubleshooting by entering the URL of an image you know is correct, and is online somewhere. For example:<br /><a href="http://newsimg.bbc.co.uk/media/images/45643000/jpg/_45643441_maliki_ap226.jpg" rel="nofollow">http://newsimg.bbc.co.uk/media/images/4 &#133; _ap226.jpg</a></p><p>If the image appears properly, then it&#039;s probably a problem with your paths. </p><p>Sorry I can&#039;t help further - perhaps someone else can help out?</p>]]></description>
			<author><![CDATA[dummy@example.com (monkeysaurus)]]></author>
			<pubDate>Tue, 07 Apr 2009 22:19:47 +0000</pubDate>
			<guid>http://www.killersites.com/forums/post/6075/#p6075</guid>
		</item>
		<item>
			<title><![CDATA[Re: asp.net homework help]]></title>
			<link>http://www.killersites.com/forums/post/6072/#p6072</link>
			<description><![CDATA[<p>THANK YOU SO MUCH!&nbsp; It worked!&nbsp; I completely forgot about that syntax.&nbsp; This way easier for me than using a database.</p><p>I managed to make it work with a database after about 3 hours of frustration.&nbsp; The only thing I was unable to do in using a database was getting an image to appear in a Detail View Grid.&nbsp; </p><p>I tried using varchar(MAX) and used &lt;img&gt;, but it just displays the code in the grid output:</p><p><span class="postimg"><img src="http://i247.photobucket.com/albums/gg135/krazigoddezz/zodiacTable.jpg" alt="http://i247.photobucket.com/albums/gg135/krazigoddezz/zodiacTable.jpg" /></span></p><p>At first, I tried using &quot;Image&quot; for the type, but it wouldn&#039;t work when I used the url path or using &lt;img&gt;.&nbsp; What am I doing wrong?</p><p>Once again, thanks monkeysaurus and thank you in advance to anyone who can answer this question.</p>]]></description>
			<author><![CDATA[dummy@example.com (krazigoddezz)]]></author>
			<pubDate>Tue, 07 Apr 2009 21:56:37 +0000</pubDate>
			<guid>http://www.killersites.com/forums/post/6072/#p6072</guid>
		</item>
		<item>
			<title><![CDATA[Re: asp.net homework help]]></title>
			<link>http://www.killersites.com/forums/post/6021/#p6021</link>
			<description><![CDATA[<p>It&#039;s been a looong time since I did any .net, but if I recall correctly, the correct syntax is:</p><p>(c#)<br /></p><div class="codebox"><pre><code>if(ddlZodiac.SelectedItem.Value == &quot;Capricorn&quot;)</code></pre></div><p>(vb)<br /></p><div class="codebox"><pre><code>if(ddlZodiac.SelectedItem.Value = &quot;Capricorn&quot;)</code></pre></div><p>Let me know if that works / doesn&#039;t work. <img src="http://www.killersites.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (monkeysaurus)]]></author>
			<pubDate>Mon, 06 Apr 2009 11:14:10 +0000</pubDate>
			<guid>http://www.killersites.com/forums/post/6021/#p6021</guid>
		</item>
		<item>
			<title><![CDATA[asp.net homework help]]></title>
			<link>http://www.killersites.com/forums/post/6013/#p6013</link>
			<description><![CDATA[<p>I&#039;m working on a homework assignment for one of my classes and having a problem getting my drop down list working they way I need it to.</p><p>So what I need to do is choose one thing on a list and when the user clicks submit, a panel will appear with the corresponding text and images.&nbsp; </p><p>I made it work with radio buttons, but when I went back to check the assignment requirements, the instructor was a drop down list <img src="http://www.killersites.com/forums/img/smilies/sad.png" width="15" height="15" alt="sad" />.</p><p>This is the code for the radio button:</p><div class="codebox"><pre><code>if (rdoCapricorn.Checked)
 {
            pnlRead.Visible = true;
            pnlHoroscopes.Visible = true;

            lblSign.Text = &quot;Capricorn&quot;;
            imgHoroscope.ImageUrl = &quot;~/signs/capricorn.png&quot;;
            lblHoroscope.Text = &quot;blah blah blah&quot;;
}</code></pre></div><p>So the problem I am having is doing the same thing with a drop down list.</p><p>I tried using the following lines for the if statement: </p><div class="codebox"><pre><code>if (ddlZodiac.SelectedItem = &quot;Capricorn&quot;)</code></pre></div><div class="codebox"><pre><code>if (ddlZodiac.SelectedIndex = 0)</code></pre></div><div class="codebox"><pre><code>if (ddlZodiac.DataValueField = &quot;Capricorn&quot;)</code></pre></div><div class="codebox"><pre><code>if (ddlZodiac.DataTextFormatString = &quot;Capricorn&quot;)</code></pre></div><p>and I getting an error &quot;cannot implicitly convert type string (or int) to bool&quot;.&nbsp; &nbsp;I even tried the .ToString at the end of SelectedItem but I get another error which says, &quot;cannot assign to ToString because it is a &#039;method group&#039;&quot;.&nbsp; I don&#039;t fully understand the errors which I think is why I&#039;m having a problem.</p><p>There has to be simple solution to this that I am completely missing.&nbsp; I don&#039;t think our instructor covered.&nbsp; I&#039;m not sure if this makes a difference, but the drop down list has an SqlDataSource called &quot;theZodiac&quot;.</p><br /><p>below is the code to display the drop down list and code for the database:</p><div class="codebox"><pre><code>            &lt;asp:DropDownList ID=&quot;ddlZodiac&quot; runat=&quot;server&quot; 
                DataSourceID=&quot;theZodiac&quot; 
                DataTextField=&quot;Sign&quot; DataValueField=&quot;Sign&quot;&gt;
            &lt;/asp:DropDownList&gt;


            &lt;asp:SqlDataSource ID=&quot;theZodiac&quot; runat=&quot;server&quot; 
                ConnectionString=&quot;&lt;%$ ConnectionStrings:ConnectionString %&gt;&quot; 
                SelectCommand=&quot;SELECT [Sign] FROM [zodiacSign]&quot;&gt;
            &lt;/asp:SqlDataSource&gt;</code></pre></div><p>I&#039;m sorry if this seems like a lot.&nbsp; I&#039;m very new to ASP.Net, so I want to know how to make it work and why the methods I was trying above did not so I know for future reference.</p><p>Thanks in advance to anyone who replies! <img src="http://www.killersites.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (krazigoddezz)]]></author>
			<pubDate>Mon, 06 Apr 2009 06:17:43 +0000</pubDate>
			<guid>http://www.killersites.com/forums/post/6013/#p6013</guid>
		</item>
	</channel>
</rss>
