<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SnapJag Creative Designs &#187; Programming</title>
	<atom:link href="http://www.snapjag.com/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.snapjag.com</link>
	<description>Specialists in busines consulting, database administration, programming, hosting, photography, and creative system designs.</description>
	<lastBuildDate>Fri, 25 Nov 2011 00:59:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>C# Missing References</title>
		<link>http://www.snapjag.com/2009/07/c-missing-reference/</link>
		<comments>http://www.snapjag.com/2009/07/c-missing-reference/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 23:08:18 +0000</pubDate>
		<dc:creator>snapjag</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Assemblies]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Libraries]]></category>
		<category><![CDATA[References]]></category>

		<guid isPermaLink="false">http://www.snapjag.com/?p=635</guid>
		<description><![CDATA[If you are getting an error like &#8220;The type or namespace name does not exist in the namespace&#8221; you may have found yourself tweaking the references or the using statements in your C# code. The using statement and the referencing statement differ in that the using statement is a logical link and reference to the [...]]]></description>
			<content:encoded><![CDATA[<p>If you are getting an error like &#8220;The type or namespace name does not exist in the namespace&#8221; you may have found yourself tweaking the references or the using statements in your C# code.</p>
<p>The using statement and the referencing statement differ in that the using statement is a logical link and reference to the namespace library, this makes it so you can shorten your qualifications to objects. Instead of typeing System.Windows.Forms.Textbox. You place a using statement &#8220;using System.Windows.Forms&#8221; at the top of your page and you only have to now use the word Textbox to reference the object. These are also usually statements to libraries within your current namespace.</p>
<p>The References are registrations to libraries and dlls that are to be used outside your namespace.</p>
<p>Recently in a project, there were a number of projects that had change adding some ENUM references that were prominently used in the application. These errors made it immpossible to build the solution. In order to rid yourself of this error, you must resolve a conflict, or supply a reference or using statement.</p>
<p>First, check the statement where the error occurs. Make sure the namespace/library that the object refers to is available in the project. If you find the source cs file, look to see if the Namespace is different than where the object is being used. If they are different, then either fully qualify the namespace in front of the object, or add the &#8220;using &lt;full namespace&gt;;&#8221; statement at the top.</p>
<p>Try and compile the application, if you still have the error, then look in the current project (where the error occurs) References list and see if the assembly/library is there. It&#8217;s it isn&#8217;t, then add the new Reference by either locating the .NET object, COM object, project, or file.</p>
<p>When this has been added, try compiling again. If you still get the error, then you&#8217;ll have write some comments here and provide your code for me to be able to help you further.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.snapjag.com/2009/07/c-missing-reference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<price></price>	</item>
		<item>
		<title>.NET and MySQL</title>
		<link>http://www.snapjag.com/2008/09/net-and-mysql/</link>
		<comments>http://www.snapjag.com/2008/09/net-and-mysql/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 02:15:15 +0000</pubDate>
		<dc:creator>snapjag</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.snapjag.com/?p=427</guid>
		<description><![CDATA[Searching for a document that helps to connect a .NET web application with MySQL is hard to find. So, I thought I would provide instructions I put together while developing my own applications. The .NET infrastructure is very flexible and is easier to use than people think. Here are the steps that I went through [...]]]></description>
			<content:encoded><![CDATA[<p>Searching for a document that helps to connect a .NET web application with MySQL is hard to find. So, I thought I would provide instructions I put together while developing my own applications.</p>
<p>The .NET infrastructure is very flexible and is easier to use than people think. Here are the steps that I went through to get everything working and connected. Because I program in C# this tutorial is presented in that language. This is an outline of the process and steps to accomplish this tutorial. It helps to keep the ideas in check and that there are no missing subjects.</p>
<ol>
<li>Install <a href="http://dev.mysql.com/downloads/mysql/5.0.html#downloads" target="_blank">MySQL v5.0</a></li>
<li>Install Visual Studio (use the <a href="http://www.microsoft.com/express/download/" target="_blank">express editions</a> if you don&#8217;t have full versions)</li>
<li>Install the <a href="http://dev.mysql.com/downloads/connector/net/5.2.html" target="_blank">MySQL 5.0 .NET Data Connector v5.2</a> (for example mysql-connector-net-5.2.1.zip) or <a href="http://dev.mysql.com/downloads/connector/" target="_blank">other connector</a> of your programming choice.</li>
<li>Start building a database
<ol>
<li>A nice application to use is <a href="http://www.modelright.com/downloads.aspx" target="_blank">ModelRight 3 community edition</a></li>
<li>Create two tables and add some fields and join one of the tables to the other in a parent-child relationship</li>
<li>Generate (engineer) the database to MySQL</li>
</ol>
</li>
<li>Open Visual Studio</li>
<li>Go to the Server Explorer, right-click on Data Connections</li>
<li>Click Add Connection</li>
<li>Change the datasource to MySQL Database and make sure the Data provider is <em>.NET Framerwork Data Provider for MySQL</em> and click OK</li>
<li>Login to the server with the following:
<ol>
<li>Server name: localhost</li>
<li>User name: root</li>
<li>Password: the initial password you gave when setting up MySQL</li>
<li>Database name: This is the name of the database you will attach to. It&#8217;s possible you haven&#8217;t set one up yet, see the Building a MySQL Database below.</li>
</ol>
</li>
<li>Create a website application using Visual Studio (File | New | Website)</li>
<li>Pick ASP.NET Web Site (or ASP.NET AJAX-Enabled Web Site) if you have the <a href="http://go.microsoft.com/?linkid=7684736" target="_blank">.NET AJAX Toolkit</a> installed.</li>
<li>Add the connection string to Web.Config</li>
<li>Update App_Code data layer classes to use the schema of the database</li>
<li>Add an Object Data Connection to the web page with the following settings</li>
<li>Put a DataGridView on the screen and connect it to the Object Data Connection object with these settings</li>
<li>Run the application</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.snapjag.com/2008/09/net-and-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<price></price>	</item>
	</channel>
</rss>

