<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8430722694662138653</id><updated>2024-11-01T03:39:02.694-07:00</updated><category term="General C#"/><category term="Basic"/><category term="SQL Server"/><category term="New features"/><category term=".NET Mobile"/><category term="Microsoft DreamSpark Offers Free Download"/><title type='text'>C# Dot Net Questions and Free Solutions</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-8441821093979467885</id><published>2012-02-14T07:35:00.000-08:00</published><updated>2012-02-14T07:39:21.214-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="General C#"/><title type='text'>How to Convert Time in Different Time Zones C#</title><content type='html'>&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfyN3IpwfUINte9_Su-rVkFXH8FBXNbzCxgjkJ9pKOikpcgOBpOL2EB6jTjt5qtvGtpVXcmsLUrYSImz32dA44ZrZs6wKE2loWPomt8KcKsQZigLRpk6gkT2CwWOna0PlvruHTag8SgPMJ/s1600/images.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;136&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfyN3IpwfUINte9_Su-rVkFXH8FBXNbzCxgjkJ9pKOikpcgOBpOL2EB6jTjt5qtvGtpVXcmsLUrYSImz32dA44ZrZs6wKE2loWPomt8KcKsQZigLRpk6gkT2CwWOna0PlvruHTag8SgPMJ/s320/images.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Time Zone&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
In this article, we will discuss about how to convert time according to time zone. I am using TuneZoneInfo class to retrieve information about the current time zone and you can convert it to UTC (Coordinated Universal Time) or vice versa. And also you can use this class to retrieve information on any time zone defined on the local system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;#region&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; TimeZoneConverter Source&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt;
frmTimeZoneConverter_Load(&lt;span style=&quot;color: blue;&quot;&gt;object&lt;/span&gt; sender, &lt;span style=&quot;color: #2b91af;&quot;&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;// get and set current date and time &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
lblLocalTimeIndicator.Text = &lt;span style=&quot;color: #2b91af;&quot;&gt;DateTime&lt;/span&gt;.Now.ToString();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;// Get system (local) time zone information in to
readonlycollection list&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;ReadOnlyCollection&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;TimeZoneInfo&lt;/span&gt;&amp;gt;
TimeZoneColl = &lt;span style=&quot;color: #2b91af;&quot;&gt;TimeZoneInfo&lt;/span&gt;.GetSystemTimeZones();
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
cmbTimeZones.DataSource = TimeZoneColl;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
cmbTimeZones.DisplayMember = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;DisplayName&quot;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmbTimeZones.ValueMember
= &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Id&quot;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt;
cmdTimeConvert_Click(&lt;span style=&quot;color: blue;&quot;&gt;object&lt;/span&gt; sender, &lt;span style=&quot;color: #2b91af;&quot;&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (cmbTimeZones.SelectedIndex &amp;gt; 0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;DateTime&lt;/span&gt; dt = &lt;span style=&quot;color: #2b91af;&quot;&gt;DateTime&lt;/span&gt;.Now;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;// Convert current time in to selected time zone.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
lblConvertedTime.Text = &lt;span style=&quot;color: #2b91af;&quot;&gt;TimeZoneInfo&lt;/span&gt;.ConvertTimeBySystemTimeZoneId(dt,
&lt;span style=&quot;color: #2b91af;&quot;&gt;TimeZoneInfo&lt;/span&gt;.Local.Id,
cmbTimeZones.SelectedValue.ToString()).ToString();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
#endregion&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;
TimeZoneConverter&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
#region&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;
Information&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt;
GenaralInformation()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;TimeZoneInfo&lt;/span&gt; tzi = &lt;span style=&quot;color: #2b91af;&quot;&gt;TimeZoneInfo&lt;/span&gt;.Local;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;// Gets and sets standared time zone name.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
lblCurrentTimeZoneStd.Text = tzi.StandardName;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;// Gets and sets the daylight saving time zone name.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
lblCurrentTimeZoneDlt.Text = tzi.DaylightName;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;//set current time and date&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
lblCurrTime.Text = &lt;span style=&quot;color: #2b91af;&quot;&gt;DateTime&lt;/span&gt;.Now.ToString();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;// check whether daylight serving is available&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
lblDaylightSavingYes.Text = tzi.IsDaylightSavingTime(&lt;span style=&quot;color: #2b91af;&quot;&gt;DateTime&lt;/span&gt;.Now).ToString();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;// set universal time&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
lblUniTime.Text = &lt;span style=&quot;color: #2b91af;&quot;&gt;DateTime&lt;/span&gt;.Now.ToUniversalTime().ToString();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;// get and set time different between local and universal
time(UTC).&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
lblOffset.Text = tzi.BaseUtcOffset.ToString();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt;
tabControl1_SelectedIndexChanged(&lt;span style=&quot;color: blue;&quot;&gt;object&lt;/span&gt; sender,
&lt;span style=&quot;color: #2b91af;&quot;&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
GenaralInformation();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
#endregion&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;This will Support this .Net frameworks&lt;/b&gt;&lt;br /&gt;
.net framework 4.0&lt;br /&gt;
.net framework 3.5&lt;br /&gt;
.net framework 3.0&lt;br /&gt;
.net framework 2.0&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;.NET Framework Client Profiles&lt;/b&gt;&lt;br /&gt;
Supported in: 4, 3.5 SP1&lt;br /&gt;
&lt;br /&gt;
The entire source code of this article can be downloaded over here.&lt;br /&gt;
&lt;br /&gt;
If you have any question regarding this article please be kind enough to mention it on comment area.&lt;br /&gt;
Thank you for viewing this article.&lt;br /&gt;
Give me a +1 if you think it was a good article&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/8441821093979467885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/how-to-convert-time-in-different-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/8441821093979467885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/8441821093979467885'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/how-to-convert-time-in-different-time.html' title='How to Convert Time in Different Time Zones C#'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfyN3IpwfUINte9_Su-rVkFXH8FBXNbzCxgjkJ9pKOikpcgOBpOL2EB6jTjt5qtvGtpVXcmsLUrYSImz32dA44ZrZs6wKE2loWPomt8KcKsQZigLRpk6gkT2CwWOna0PlvruHTag8SgPMJ/s72-c/images.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-6236721490415526834</id><published>2012-02-10T08:24:00.001-08:00</published><updated>2012-02-14T07:40:05.643-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="New features"/><title type='text'>Windows 8 NEW FEATURES APP Development</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2Kg8DDqUj8V9Mbw2PpxtVEYDH1u1uqE8_pVql_4A0nv6P3fGz6D7VqPMsxRhJx8djzQFiHiWKkmW-CDpadzuW0zIdudlCc7R1Xpw283iofPbyKlvnW9Cau3yly1t8wmfF3LhEeVDUD2AG/s1600/windows_8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;204&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2Kg8DDqUj8V9Mbw2PpxtVEYDH1u1uqE8_pVql_4A0nv6P3fGz6D7VqPMsxRhJx8djzQFiHiWKkmW-CDpadzuW0zIdudlCc7R1Xpw283iofPbyKlvnW9Cau3yly1t8wmfF3LhEeVDUD2AG/s320/windows_8.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Windows 8&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Windows 8 has a new developer platform according to Microsoft Vice President Julie Larson-Green. The primary purpose of this article is to discuss the new features coming up in Windows 8. Especially I ll consider from the development side.&lt;br /&gt;
&lt;br /&gt;
Here is the list of new features coming up in Windows 8 which I found based on various sources in internet.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Windows 8 Application Development features&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;A New developing environment for software developers&lt;/li&gt;
&lt;li&gt;Windows Runtime
(WinRT)&amp;nbsp;&amp;nbsp;and app model&lt;/li&gt;
&lt;li&gt;Adding Metro style to apps&lt;/li&gt;
&lt;li&gt;It provides broad range of app programming languages&lt;/li&gt;
&lt;li&gt;Compatibility with existing frameworks&lt;/li&gt;
&lt;li&gt;Able to build component libraries with extensible frameworks&lt;/li&gt;
&lt;li&gt;Able to create immersive user interfaces with adaptive layout&lt;/li&gt;
&lt;li&gt;Massive media support for apps&lt;/li&gt;
&lt;li&gt;Developing support for Internet Explorer 10&lt;/li&gt;
&lt;li&gt;Support for frameworks&lt;/li&gt;
&lt;li&gt;Maximize your earnings through Windows apps Store&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Developing for Windows 8&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
In windows 8, Microsoft has provided number of excellent new feathers to the developers. It gives platform and tools to create rich app experiences where customers focus on tasks that are important.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
With this new environment&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Web developers can use their HTML5, CSS3, and JavaScript skills to build native applications for Windows.&lt;/li&gt;
&lt;li&gt;.NET Developers can use XAML, C#, and Visual Basic to build beautiful Metro style apps.&lt;/li&gt;
&lt;li&gt;Game developers can use the power of DirectX 11.1 to build amazing, immersive gaming experiences.&lt;/li&gt;
&lt;li&gt;Driver developers can use the new, integrated Microsoft Visual Studio development environment to increase productivity.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Windows Runtime and app model&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
The Windows Runtime (WinRT) is providing set of APIs used to build Metro style apps for the developers. You can use &amp;nbsp;WinRT API to in multiple languages such as JavaScript, C++, C#, and Visual Basic. As well as HTML5 and CSS3 APIs that are accessible to Metro style app developers.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Adding Metro style to apps&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Metro style UI controls are designed for both touch devices and for mouse and keyboard. There are the three kinds of controls that you can use.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Standard controls &lt;/b&gt;– these controls includes tools to display, enter, and manipulate data and content. Such as view, text, pattern, overlay, media (audio and video), content, collection, and basic.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Collection controls&lt;/b&gt; – these controls give developers to create rich content experiences in consistent, touch-friendly ways. Such as simple list, grid view, grouped grid view, flip view, and semantic zoom.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Intrinsic controls&lt;/b&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
It provides broad range of app programming languages&lt;/div&gt;
&lt;div&gt;
If you develop windows Metro style apps using JavaScript leverage, then you can use combination of HTML5 and CSS3 to build the user interface and JavaScript for app logic. If you use C++, C#, or Visual Basic to build apps, you have to use XAML markup for the user interface, with C++, C#, or Visual Basic for app logic. Game developers are able to build Metro style type games using C++ and DirectX 11.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Compatibility with existing frameworks&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
WinRT APIs are able to access other Microsoft programming frameworks, like the .NET Framework or Windows C Runtime Library.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Able to build component libraries with extensible frameworks&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
By using windows 8 app models feature, you can build reusable component libraries. You can build your own custom components with C++, C#, or Visual Basic and then, you can use JavaScript or any other supported language to call these components from your apps.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Able to create immersive user interfaces with adaptive layout&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
By using Metro style apps, you can build attractive user interfaces using css3. It provides to your customers a fluid, natural-feeling experience. Smooth Animations, 3-D transformations, Flexible box layouts, Grid layouts, Multi-column layout are available.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Massive media support for apps&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
You can integrate audio and video content with your application using declarative APIs with support for many popular codecs.&lt;/div&gt;
&lt;div&gt;
Metro style apps also have access to the Windows.Media namespaces. By using this you can enable capturing, transcoding media, Play stream audio, video, or images to networked devices. With camera capture support, you can create capture controls, use a preview window, and specify resolution and codecs for media capture.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Developing for Internet Explorer 10&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Internet Explorer 10 support for modern standards like HTML5, CSS3, and SVG, as well as hardware-accelerated graphics and compiled JavaScript. This type of technology provides you to build the next generation of web experiences.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Support for frameworks&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
The Windows 8 SDK includes free versions of Microsoft Visual Studio 2011 Express and Microsoft Expression Blend, as well as the latest tools, APIs, compilers, debuggers, sample apps, documentation, templates, tutorials, and guidance from the experts. Visual Studio 2011, Express, and Expression Blend work perfectly with Windows 8&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Windows Dev Center provides developers to a dashboard which includes many ways to improve developing apps by monitoring their success. Such as View reports on downloads, revenue, usage, in-app transactions, customer ratings, market trends, and crash and hang data.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Maximize your earnings through Windows Store&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Windows Store will meet your application with millions of customers to anywhere in the world. This environment will provide you to distribute, update, and get paid for the apps that you develop. Windows store has an ability to revenue-sharing approach so you can earn more. When you submit an app to Windows Store, you can specify whether the app is free, a trial version or full. With in-app purchases, you can set up your app to let a customer ot buy content or new functionality, such as unlocking the next level of a game etc... and also you can select countries or regions to sell your app.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/6236721490415526834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/windows-8-new-features-app-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/6236721490415526834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/6236721490415526834'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/windows-8-new-features-app-development.html' title='Windows 8 NEW FEATURES APP Development'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2Kg8DDqUj8V9Mbw2PpxtVEYDH1u1uqE8_pVql_4A0nv6P3fGz6D7VqPMsxRhJx8djzQFiHiWKkmW-CDpadzuW0zIdudlCc7R1Xpw283iofPbyKlvnW9Cau3yly1t8wmfF3LhEeVDUD2AG/s72-c/windows_8.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-5025800372299143191</id><published>2012-02-10T08:24:00.000-08:00</published><updated>2012-02-14T07:40:25.479-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="New features"/><title type='text'>Windows 8 NEW General FEATURES</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc-O-ULugcmGDUPlzGYI9Yrr-gUBV3c2yJ1z7xPmTOWHjWZCg_ICHRLqKe-whn2OKZ6J3cxilJgiOPzvyQ1SZozI-gnuQFY82KCjSiH5Iko_4T-Hq0k_EEtsMRoYeBCTyCBkqgiXaVFXLY/s1600/title_screen.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc-O-ULugcmGDUPlzGYI9Yrr-gUBV3c2yJ1z7xPmTOWHjWZCg_ICHRLqKe-whn2OKZ6J3cxilJgiOPzvyQ1SZozI-gnuQFY82KCjSiH5Iko_4T-Hq0k_EEtsMRoYeBCTyCBkqgiXaVFXLY/s320/title_screen.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Here is the list of new features coming up in Windows 8 which I found based on various sources in internet.
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;General Features&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;New Tile based start screen&lt;/li&gt;
&lt;li&gt;Touch keyboard&lt;/li&gt;
&lt;li&gt;Windows 8 App Store feature&lt;/li&gt;
&lt;li&gt;Apps can work together&lt;/li&gt;
&lt;li&gt;Metro style&lt;/li&gt;
&lt;li&gt;Picture password&lt;/li&gt;
&lt;li&gt;New Task Manager&lt;/li&gt;
&lt;li&gt;New easy restore&lt;/li&gt;
&lt;li&gt;USB 3.0&lt;/li&gt;
&lt;li&gt;Support for fewer Restarts&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;New Tile based start screen&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
A Tile is a program shortcut which displayed in home screen of Windows 8. And it is a small, rectangular program interface similar to the Icons. Tile is &quot;Live&quot; and &quot;Interactive&quot;. Especially programs are able to display information on the Tile like notifications; current status etc. by using this you can get details and notifications from a program even when it is closed (not running). Users can click on the tile and perform some operations without opening the application.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
As an example Tile for your mail account can show the number of new emails. A stock ticker Tile can display the current trading value of few stocks.&lt;/div&gt;
&lt;div&gt;
Microsoft is bringing significant changes to icon concept with tile. The classic start menu is being replaced with a Tile based start screen.&lt;/div&gt;
&lt;div&gt;
Have used Windows Phone 7 will be familiar with the Tiles. Windows 8 borrows tile from the Windows 7 Phone UI. And Tile is touching friendly.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYwmkv0FQQG5Rf7CvS4me-XYqprAnA7g1cMIm9DwQdesg64BVcGL2CHQO6sLjKv0xPgghoLD_sOXhwjHBicbx9PYTnJlYXW7llC1L4RKa5XkKTmvL4-WNXcPTQFOcrZvSiXuRRktQz10lG/s1600/keyboard.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYwmkv0FQQG5Rf7CvS4me-XYqprAnA7g1cMIm9DwQdesg64BVcGL2CHQO6sLjKv0xPgghoLD_sOXhwjHBicbx9PYTnJlYXW7llC1L4RKa5XkKTmvL4-WNXcPTQFOcrZvSiXuRRktQz10lG/s1600/keyboard.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Touch keyboard&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Windows 8 provides two touch keyboards for users for mobility and flexibility which is full size touch, Because of this it easy to use your computer on the go. It’s more comfortable and natural to type using your thumbs when the keyboard is split Whether you’re walking around or sitting down.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Windows 8 App Store feature&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Microsoft introduction a Windows Store on Windows 8, like Ubuntu Software Center, and Mac App Store, that allows developers to publish their Metro-style applications on Windows 8 devices.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
If you signing up with windows Store, which means you can sell your app through Windows Store and you can tap into the broad customer reach of Windows around the world.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Apps can work together&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
If you want to send some pictures in email, in different places like facebook, flicker you can easily pick and send the ones you want. Likewise apps can communicate with each other in windows 8.&lt;/div&gt;
&lt;div&gt;
Metro style&lt;/div&gt;
&lt;div&gt;
Microsoft has extensively redesigned &quot;Metro-style&quot; user interface, optimized for touchscreens as well as mice and keyboards for Windows 8.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Picture password&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Instead of typing a password in login for the screen, a new authentication method allows users to use a set of gestures in the selected picture to login.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;New Task Manager&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
A new Task Manager replaces with new Windows Task Manager (though the old version is also included).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;New easy restore&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Windows 8 comes with two new recovery functions. Which are named as Refresh and Reset, and both make a complete restore easier than a re-installation.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;USB 3.0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
New USB 3.0 ports operate at speeds up to ten times faster than USB 2.0. To better support these speeds and longer battery life. Microsoft is outfitting Windows 8 with native USB 3.0 drivers.( windows 8 will have built-in support)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Support for Multiple Monitors&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Windows 8 will include support for multiple monitors; The Developers Preview of the new OS includes first-time capabilities for extending the taskbar across two PCs, without any need for third-party apps. And it is easy to switch between multiple monitors.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Support for fewer Restarts&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
In Windows 7 it gave users for number of options to update notifications and installation. Users could elect to have updates installed automatically or option for notification when an update was available and users have to choose to be notified only before the installation.&lt;/div&gt;
&lt;div&gt;
But in Windows 8, Most of those options will remain. Users will only be asked to restart their PCs so that an update can take effect once per month-on patch Tuesday. That&#39;s usually the second Tuesday of each month. There&#39;s one exception--critical security patches will trigger an update request immediately.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/5025800372299143191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/windows-8-new-general-features.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/5025800372299143191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/5025800372299143191'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/windows-8-new-general-features.html' title='Windows 8 NEW General FEATURES'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc-O-ULugcmGDUPlzGYI9Yrr-gUBV3c2yJ1z7xPmTOWHjWZCg_ICHRLqKe-whn2OKZ6J3cxilJgiOPzvyQ1SZozI-gnuQFY82KCjSiH5Iko_4T-Hq0k_EEtsMRoYeBCTyCBkqgiXaVFXLY/s72-c/title_screen.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-1773604347922867435</id><published>2012-02-10T02:26:00.000-08:00</published><updated>2012-02-14T07:40:49.811-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><title type='text'>What is c# / What is C sharp</title><content type='html'>&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj38dWbprD2jtOCx7ZBvntVNLvklLDxU_8MLVUSPhqNQ6TYJjwtuPxW5Lp2VMPzdNGEncB1JGxtAQPLVB1JB_xuqyZXSLu59zMcIGJqY_OnnRSKb09KKE_XfKbarZDvbk5F6I5I9fJB5zn4/s1600/images.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj38dWbprD2jtOCx7ZBvntVNLvklLDxU_8MLVUSPhqNQ6TYJjwtuPxW5Lp2VMPzdNGEncB1JGxtAQPLVB1JB_xuqyZXSLu59zMcIGJqY_OnnRSKb09KKE_XfKbarZDvbk5F6I5I9fJB5zn4/s1600/images.jpg&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;C sharp&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
C# is a software design and programming language which enables object oriented concepts. It is invented around 1999 or 2000 by Anders Hejlsberg at Microsoft.&lt;br /&gt;
&lt;br /&gt;
C# is designed to work with Microsoft&#39;s .Net platform.&lt;br /&gt;
&lt;br /&gt;
It is very similar to java. But C# does not support multiple inheritance. It provides interfaces. Interfaces implemented by a class specify certain functions that the class is guaranteed to implement.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Interfaces avoid the multiple inheritance while maintaining the ability to let several classes implement the same set of methods.&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh2_-0kt_sVM411B8V34Yl_uBPuLIFNK8dnxHmA6VthXK6VuXixUmboh1_Ovi45uqglWrtv0BDNoRLbTgT385IPXk7PSp1BpkBchJ64vsaGnnB9JK-ybVVogxw-iCX1PGr8Bx9mWPG-k0w/s1600/72612-microsoft-net-framework.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;286&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh2_-0kt_sVM411B8V34Yl_uBPuLIFNK8dnxHmA6VthXK6VuXixUmboh1_Ovi45uqglWrtv0BDNoRLbTgT385IPXk7PSp1BpkBchJ64vsaGnnB9JK-ybVVogxw-iCX1PGr8Bx9mWPG-k0w/s320/72612-microsoft-net-framework.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Microsoft .NET Framework 4&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Another useful feature of C# is garbage collection. Therefore, it is unnecessary to add a destructor for each class unless a class handles unmanaged resources. &amp;nbsp;If so, it&#39;s necessary to release control those resources from within the class.&lt;br /&gt;
&lt;br /&gt;
C# also provides direct access to memory through C++ style pointers, but these pointers are not garbage collected until specifically released by the programmer.&lt;br /&gt;
&lt;br /&gt;
In C#, .NET framework, programmer’s code is compiled in to MSIL (Microsoft Intermediate Language) which is similar to the java bitecode.&lt;br /&gt;
&lt;br /&gt;
MSIL allows C# to be platform independent and runs using just in time compiling.&lt;br /&gt;
&lt;br /&gt;
The MSIL is what allows C# to be platform independent like bytecode.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/1773604347922867435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/what-is-c-what-is-c-sharp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/1773604347922867435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/1773604347922867435'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/what-is-c-what-is-c-sharp.html' title='What is c# / What is C sharp'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj38dWbprD2jtOCx7ZBvntVNLvklLDxU_8MLVUSPhqNQ6TYJjwtuPxW5Lp2VMPzdNGEncB1JGxtAQPLVB1JB_xuqyZXSLu59zMcIGJqY_OnnRSKb09KKE_XfKbarZDvbk5F6I5I9fJB5zn4/s72-c/images.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-3219741178285843151</id><published>2012-02-10T02:11:00.000-08:00</published><updated>2012-02-14T07:41:12.332-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><title type='text'>What are the Variables and Variable Types in C sharp</title><content type='html'>&lt;br /&gt;
&quot;Variables&quot; are simply storage locations for data in program. Programmer is able to place data into variable and retrieve their contents. The interpretation of the data in a variable is controlled through &quot;Types&quot;.&lt;br /&gt;
&lt;br /&gt;
The C# simple types consist of the Boolean, Integrals, Floating Point, Decimal and String. In integrals types includes sbyte, byte, short, int, uint, long, and char.&lt;br /&gt;
&lt;br /&gt;
In “Floating Point&quot; refers to the float and double types&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The Boolean Type&lt;/b&gt;&lt;br /&gt;
Boolean types are declared using the keyword, bool. They have two values: true or false.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;background-color: white; color: blue; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;bool&lt;/span&gt;
state = &lt;span style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;bool&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt; noState = &lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;false&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Integral Types&lt;/b&gt;&lt;br /&gt;
They are whole numbers, either signed or unsigned. Integral types are well suited for those operations involving whole number calculations.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The Size and Range of C# Integral Types&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-bottom-style: none; border-collapse: collapse; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; text-align: justify;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #E8EEF4; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; padding: 4.5pt 3.75pt 4.5pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;Type &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E8EEF4; border-left: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; padding: 4.5pt 3.75pt 4.5pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;Size (in bits) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E8EEF4; border-left: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; padding: 4.5pt 3.75pt 4.5pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;Range &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;sbyte &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;8
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;-128 to 127 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;byte &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;8
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;0 to 255 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;short &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;16
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;-32768 to 32767 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;ushort &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;16
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;0 to 65535 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;int &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;32
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;-2147483648 to 2147483647 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;uint &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;32
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;0 to 4294967295 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;long &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;64
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;-9223372036854775808 to 9223372036854775807 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;ulong &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;64
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;0 to 18446744073709551615 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border: none; mso-border-bottom-alt: solid #E8EEF4 .75pt; padding: .75pt .75pt .75pt .75pt;&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-bottom-alt: solid #E8EEF4 .75pt; mso-border-right-alt: solid #E8EEF4 .75pt; padding: .75pt .75pt .75pt .75pt;&quot;&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Floating Point and Decimal Types&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
In C# floating point type is either a float or double. Floating point types are used when you need to perform operations requiring fractional representations.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The Floating Point and Decimal Types with Size, precision, and Range&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid #E8EEF4 .75pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #E8EEF4; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; padding: 4.5pt 3.75pt 4.5pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;Type &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E8EEF4; border-left: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; padding: 4.5pt 3.75pt 4.5pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;Size (in bits) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E8EEF4; border-left: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; padding: 4.5pt 3.75pt 4.5pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;precision &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E8EEF4; border-left: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; padding: 4.5pt 3.75pt 4.5pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;Range &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;float &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;32
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;7
  digits &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;1.5 x 10&lt;sup&gt;-45&lt;/sup&gt; to 3.4 x 10&lt;sup&gt;38&lt;/sup&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;double &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;64
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;15-16
  digits &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;5.0 x 10&lt;sup&gt;-324&lt;/sup&gt; to 1.7 x 10&lt;sup&gt;308&lt;/sup&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #E8EEF4 1.0pt; mso-border-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;decimal &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;128
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;28-29
  decimal places &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #E8EEF4 1.0pt; border-left: none; border-right: solid #E8EEF4 1.0pt; border-top: none; mso-border-alt: solid #E8EEF4 .75pt; mso-border-left-alt: solid #E8EEF4 .75pt; mso-border-top-alt: solid #E8EEF4 .75pt; padding: 3.75pt 3.75pt 3.75pt 3.75pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt; line-height: 115%;&quot;&gt;1.0 x 10&lt;sup&gt;-28&lt;/sup&gt; to 7.9 x 10&lt;sup&gt;28&lt;/sup&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;b&gt;The string Type&lt;/b&gt;&lt;br /&gt;
A string is a collection of characters. This type allows us to manipulate character data through methods and properties. It provides methods to concatenate, append, replace, search and split.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
String has the following characteristics&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;It is a reference type – string is not a value type. It is a reference type.&lt;/li&gt;
&lt;li&gt;It&#39;s immutable - You can never change the contents of a string. If you try to do, it just sets the value of string to a new string, which is a copy of the old string.&lt;/li&gt;
&lt;li&gt;It can contain nulls - In .NET, strings can contain null characters with no problems at all as far as the string methods themselves are concerned&lt;/li&gt;
&lt;li&gt;It overloads by the == operator - When the == operator is used to compare two strings, the Equals method is called&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/3219741178285843151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/what-are-variables-and-variable-types.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/3219741178285843151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/3219741178285843151'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/what-are-variables-and-variable-types.html' title='What are the Variables and Variable Types in C sharp'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-4197027125315066646</id><published>2012-02-08T09:10:00.000-08:00</published><updated>2012-02-14T07:41:35.210-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><title type='text'>What is Enumeration or Enums</title><content type='html'>&lt;br /&gt;
In this c sharp question, we will discuss about Enumerations.&lt;br /&gt;
&lt;br /&gt;
Enumeration or Enums store special values. They make programs simpler by providing an efficient way to define a set of constants which they may be assigned to a variable. If you use constants directly to do this, your C# program rapidly becomes complex and hard to change. Enumeration will provide you to keep these magic constants in a distinct type. This improves code clarity and alleviates maintenance issues.&lt;br /&gt;
&lt;br /&gt;
As an example if you define a variable which will represent a day of week then there are only seven meaningful values. To define those values, you can use an enumeration type, which is declared by using the enum keyword.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;enum&lt;/span&gt; Days { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday };&lt;br /&gt;
&lt;br /&gt;
By default type of each element in the enum is int. if you need to specify another type then you need to implement it by using a colon, as shown in the bellow example&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;enum &lt;/span&gt;Days : byte { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday };&lt;br /&gt;
&lt;br /&gt;
If you do not specify values for the each element in the list the values are automatically incremented by one. Like&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
Days.Sunday has a value of &amp;nbsp; &amp;nbsp; 0&lt;/div&gt;
&lt;div&gt;
Days.Monday has a value of &amp;nbsp; &amp;nbsp;1&lt;/div&gt;
&lt;div&gt;
And so on.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Program&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;enum&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Days&lt;/span&gt; {
Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday };&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; Main(&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt;[] args)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;// These values are enum Days types.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;Days&lt;/span&gt; weekend_ = &lt;span style=&quot;color: #2b91af;&quot;&gt;Days&lt;/span&gt;.Saturday;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (weekend_ == &lt;span style=&quot;color: #2b91af;&quot;&gt;Days&lt;/span&gt;.Saturday)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&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;
&lt;span style=&quot;color: green;&quot;&gt;// Will be printed.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&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;
&lt;span style=&quot;color: #2b91af;&quot;&gt;Console&lt;/span&gt;.WriteLine(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Today is Weekend&quot;&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (weekend_ == &lt;span style=&quot;color: #2b91af;&quot;&gt;Days&lt;/span&gt;.Sunday)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&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;
&lt;span style=&quot;color: green;&quot;&gt;// Will not be printed.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&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;
&lt;span style=&quot;color: #2b91af;&quot;&gt;Console&lt;/span&gt;.WriteLine(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Today is Weekend&quot;&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
And also you can assign any values to the elements in the enumerator list of an enumeration type, and you can also use computed values at the program.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; word-break: break-all;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 10pt;&quot;&gt;enum&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt; MyDayPlan&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; word-break: break-all;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; word-break: break-all;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Getup = 5,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; word-break: break-all;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Schooling = 8,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; word-break: break-all;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Swimming = 5,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; word-break: break-all;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Eating = Swimming + 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; word-break: break-all;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/4197027125315066646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/what-is-enumeration-or-enums.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/4197027125315066646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/4197027125315066646'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/what-is-enumeration-or-enums.html' title='What is Enumeration or Enums'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-8898941790973695133</id><published>2012-02-08T09:05:00.001-08:00</published><updated>2012-02-08T09:05:49.454-08:00</updated><title type='text'>Microsoft DreamSpark Offers Free Download Visual Studio 2008, Server 2003, SQL Server 2005</title><content type='html'>&lt;br /&gt;
Microsoft DreamSpark Offers Free Download Visual Studio 2008, Server 2003, SQL Server 2005 and more to student&lt;br /&gt;
&lt;br /&gt;
What is DreamSpark.&lt;br /&gt;
&lt;br /&gt;
Microsoft DreamSpark is a world wide program that provides no-cost access to Microsoft designer and development tools for students, In order to support and advance their learning and skills through technical design, technology, maths, science and engineering activities.&lt;br /&gt;
Every free Microsoft developer tools download will be verified through an Online Student Status Verification process which linked to schools and organizations around the world that can confirm student status.&lt;br /&gt;
&lt;br /&gt;
Free Offers,&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL1u1rqQqGqpGZqBVPQ56bXzQgYsOZ8oxt0LFs9WSEhfqKaLxpY-wbu4h1yVip5mw0siH3f1GJjSWP45PR0qTU-8E1w7JTkuxDekorcFV49RvSXKWd4UBjzljQL1IhlkXf4fr2xcHTLXDJ/s1600-h/dreamspark.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5317352765680597522&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL1u1rqQqGqpGZqBVPQ56bXzQgYsOZ8oxt0LFs9WSEhfqKaLxpY-wbu4h1yVip5mw0siH3f1GJjSWP45PR0qTU-8E1w7JTkuxDekorcFV49RvSXKWd4UBjzljQL1IhlkXf4fr2xcHTLXDJ/s400/dreamspark.jpg&quot; style=&quot;cursor: pointer; display: block; height: 177px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/8898941790973695133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/microsoft-dreamspark-offers-free.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/8898941790973695133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/8898941790973695133'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2012/02/microsoft-dreamspark-offers-free.html' title='Microsoft DreamSpark Offers Free Download Visual Studio 2008, Server 2003, SQL Server 2005'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL1u1rqQqGqpGZqBVPQ56bXzQgYsOZ8oxt0LFs9WSEhfqKaLxpY-wbu4h1yVip5mw0siH3f1GJjSWP45PR0qTU-8E1w7JTkuxDekorcFV49RvSXKWd4UBjzljQL1IhlkXf4fr2xcHTLXDJ/s72-c/dreamspark.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-6258885635570037892</id><published>2012-02-08T09:05:00.000-08:00</published><updated>2012-02-08T09:05:30.681-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET Mobile"/><title type='text'>.NET Mobile</title><content type='html'>&lt;strong&gt;.NET Mobile&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Mobile technology&lt;/strong&gt;&lt;br /&gt;
1. Today, Cell phones(mobile phones) have becoming part of our life style.&lt;br /&gt;
&lt;br /&gt;
2. Now Mobile devices can connect to the Internet, and execute web applications contents.&lt;br /&gt;
&lt;br /&gt;
3. Different mobile devices support different programming languages. Some support WAP and WML, some support HTML or a limited version of HTML, and some support both or a different language.&lt;br /&gt;
&lt;br /&gt;
To support all types of mobile devices, developers must create one different application for each language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NET Mobile, Microsoft has introduced a new platform for developing mobile applications.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt;Introduction&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
Before moving further, I want to give you a brief introduction.&lt;br /&gt;
.NET is a developmental platform introduced by Microsoft at their 2000 Professional Developers Conference (PDC). The following figure shows a simple architecture of the .NET framework application development.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Requirements for development&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
To develop mobile applications with .NET, you must download and install the following components. IE and the .NET SDK can be downloaded from the Microsoft MSDN site for free.&lt;br /&gt;
&lt;br /&gt;
Windows 2000 Professional/Server/Advanced Server OS&lt;br /&gt;
Internet Explorer 5.5&lt;br /&gt;
.NET framework Beta 1&lt;br /&gt;
.NET Mobile Web SDK Beta 1&lt;br /&gt;
Your favorite WAP simulator.&lt;br /&gt;
&lt;br /&gt;
The mobile controls provided by ASP .NET target, as the name suggests, mobile devices (cell phones, Palms, etc.). This article will give you an idea of how to develop mobile web applications using ASP .NET and the Microsoft Visual Studio .NET environment. It will describe some of the most important mobile specific controls but won&#39;t go deep into the subject. At the end we&#39;ll also take a look at the Pocket PC Emulator 2002 which is included in Visual Studio .NET.&lt;br /&gt;
&lt;br /&gt;
The ways mobile pages are organized differ from the classic web pages that you see on your computer. One mobile page is represented by a Form and a typical file ( MobileWebForm1.aspx ) can contain multiple forms, therefore multiple pages. This way when you open a page with the WAP browser actually multiple pages will be loaded (represented by forms) and when you click a link to one of the other forms there will be no loading time because they are in the same page. There is a good reason for this. Some WAP browsers disconnect after they retrieve the webpage to save the battery of the mobile phone and the money if the connection is charged per minute. This way they won&#39;t have to reconnect every time a new form is loaded, if it is located in the same file.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/www.w3schools.com/dotnetmobile/default.asp&quot;&gt;More Information &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/6258885635570037892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2009/11/net-mobile.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/6258885635570037892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/6258885635570037892'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2009/11/net-mobile.html' title='.NET Mobile'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-8819264369139072783</id><published>2009-06-30T02:45:00.000-07:00</published><updated>2012-02-14T07:42:08.547-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>SQL Server security model</title><content type='html'>&lt;span style=&quot;font-size: 130%; font-weight: bold;&quot;&gt;SQL Server security model&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
In order to access data from a database, a user must pass through two stages of authentication. first one at the SQL Server level and the other at the database level. These two stages are implemented using Logins names and User accounts respectively.&lt;br /&gt;
&lt;br /&gt;
A valid login is required to connect to SQL Server and a valid user account is required to access a database.&lt;br /&gt;
How to Login: A valid login name is required to connect to an SQL Server. A login could be:&lt;br /&gt;
&lt;br /&gt;
•    A Windows NT/2000 login that has been granted access to SQL Server&lt;br /&gt;
•    An SQL Server login, that is maintained within SQL Server&lt;br /&gt;
These login names are maintained within the master database. So, it is needed to backup the master database after adding new logins to SQL Server to the machine.&lt;br /&gt;
&lt;br /&gt;
User: A valid user account within a database is required to access that database. User accounts are specific to a database. All permissions and ownership of objects in the database are controlled by the user account. SQL Server logins are associated with these user accounts. A login can have associated users in different databases, but only one user per database.&lt;br /&gt;
During a new connection request, SQL Server verifies the login name supplied, to make sure, that login is authorized to access SQL Server. This verification is called Authentication. SQL Server supports two authentication modes:&lt;br /&gt;
&lt;br /&gt;
•    Windows authentication mode: With Windows authentication, you do not have to specify a login name and password, to connect to SQL Server. Instead, your access to SQL Server is controlled by your Windows NT/2000 account (or the group to which your account belongs to), that you used to login to the Windows operating system on the client computer/workstation. A DBA must first specify to SQL Server, all the Microsoft Windows NT/2000 accounts or groups that can connect to SQL Server&lt;br /&gt;
&lt;br /&gt;
•    Mixed mode: Mixed mode allows users to connect using Windows authentication or SQL Server authentication. Your DBA must first create valid SQL Server login accounts and passwords. These are not related to your Microsoft Windows NT/2000 accounts. With this authentication mode, you must supply the SQL Server login and password when you connect to SQL Server. If you do not specify SQL Server login name and password, or request Windows Authentication, you will be authenticated using Windows Authentication.&lt;br /&gt;
Point to note is that, whatever mode you configure your SQL Server to use, you can always login using Windows authentication.&lt;br /&gt;
&lt;br /&gt;
Windows authentication is the recommended security mode, as it is more secure and you don&#39;t have to send login names and passwords over the network. You should avoid mixed mode, unless you have a non-Windows NT/2000 environment or when your SQL Server is installed on Windows 95/98 or for backward compatibility with your existing applications.</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/8819264369139072783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2009/06/sql-server-security-model.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/8819264369139072783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/8819264369139072783'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2009/06/sql-server-security-model.html' title='SQL Server security model'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-2242773610690467304</id><published>2009-04-01T23:58:00.000-07:00</published><updated>2012-02-14T07:43:46.060-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>Sql Server Hosting , web hosting</title><content type='html'>&lt;h1 style=&quot;font-size: 15px;&quot;&gt;
&lt;u&gt;Key &lt;b&gt;SQL Server Hosting&lt;/b&gt; Features (2008)&lt;/u&gt;&lt;/h1&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;SQL Server 2008 64-bit&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Language Integrated Query (LINQ) in &lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt; &lt;b&gt;sql server hosting&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Developers can use queries against data, with using a managed programming language, instead of SQL statements. Developers are enabled to use strongly typed, set-oriented queries to run against ADO.NET (LINQ to SQL), ADO.NET DataSets, the ADO.NET Entity Framework, and to the Entity Data Service Mapping provider. A new LINQ to SQL provider enables developers to use LINQ directly on SQL Server 2008 tables and columns.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;New Data Types in&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt; &lt;b&gt;sql server hosting&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
SQL Server 2008 introduces new date and time data types: DATE, TIME, DATETIMEOFFSET, DATETIME2. The new data types enable applications to have separate data and time types.&lt;br /&gt;
&lt;br /&gt;
Spatial Data Types help build spatial capabilities into applications by using the support for spatial data. Customers can implement Round Earth solutions with the geography data type, using latitude and longitude coordinates to define areas on the Earth&#39;s surface. Customers can also implement Flat Earth solutions with the geometry data type, storing polygons, points, and lines that are associated with projected planar surfaces and naturally planar data, such as interior spaces.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Integrated Full Text Search in&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt; &lt;b&gt;sql server hosting&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Integrated Full Text Search makes the transition between Text Search and relational data seamless.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Sparse Columns in&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt; &lt;b&gt;sql server hosting&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
NULL data consumes no physical space, providing an efficient way of managing empty data without experiencing large space costs.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Large User-Defined Types in&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt; &lt;b&gt;sql server hosting&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
SQL Server 2008 eliminates the 8-KB limit for User-Defined Types (UDTs), allowing users to expand heir UDT size.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Remote SQL 2008 Management in&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt; &lt;b&gt;sql server hosting&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Customers can manage their SQL 2008 databases remotely with any sql client like SQL Management Studio or SQL Management Studio Express.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Web-based SQL Manager in&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt; &lt;b&gt;sql server hosting&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Customers can manage their SQL 2008 databases with a web-based SQL manager powered by myLittleAdmin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Other SQL server Hosting 2008 &amp;amp; Control Panel Features&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1. DBO Rights in  the &lt;b&gt; &lt;/b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;SQL Server Hosting&lt;/span&gt;&lt;br /&gt;
2. Stored procedure support for sql serce in the &lt;b&gt;&lt;strong&gt;SQL Server Hosting&lt;/strong&gt;&lt;/b&gt;&lt;br /&gt;
3. Full text search in the &lt;b&gt;&lt;strong&gt;SQL Server Hosting&lt;/strong&gt;&lt;/b&gt;&lt;br /&gt;
4. ASP.NET SQL Session in the &lt;b&gt;&lt;strong&gt;SQL Server Hosting&lt;/strong&gt;&lt;/b&gt;&lt;br /&gt;
5. Order Multiple SQL 2008 Database Addons in the &lt;b&gt;&lt;strong&gt;SQL Server Hosting&lt;/strong&gt;&lt;/b&gt;&lt;br /&gt;
6. SQL Disk Space Meter in the &lt;b&gt;&lt;strong&gt;SQL Server Hosting&lt;/strong&gt;&lt;/b&gt;&lt;br /&gt;
7. SQL Login Password Reset Tool in the &lt;b&gt;&lt;strong&gt;SQL Server Hosting&lt;/strong&gt;&lt;/b&gt;&lt;br /&gt;
8. Additional SQL 2008 Login Manager in the &lt;b&gt;&lt;strong&gt;SQL Server Hosting&lt;/strong&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;The goal of the&lt;span style=&quot;font-size: 130%;&quot;&gt; SQL Server Hosting&lt;/span&gt; Toolkit is to enable a great experience around SQL Server in shared hosting environments.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The toolkit will eventually consist of a suite of tools and services that holsters can deploy for use by their customers. It will also serve as an incubation vehicle for tools that hosting customers can download and use directly, regardless of whether their holster has deployed the toolkit. See the Project Roadmap for details on where we&#39;re going.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;How to Order a SQL Server Database Hosting Plan &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
If you wish to add a SQL Server database option to your hosting account, simply add the option when you order your hosting account. If you need a SQL Server database without a website, you can do it easily.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;SQL Backup Service&lt;/span&gt;&lt;br /&gt;
SQL Backup Service is optional additional backup service that lets you determine how often you want accessible backup files created of your valuable information. See how you can go beyond emergency backups and be in control of your data protection.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;SQL Server Hosting Technical Information&lt;/span&gt;&lt;br /&gt;
For information on using SQL Server Enterprise Manager, SQL Server Query Analyzer, DTS, ODBC/OLEDB database connections, SQL Server Management Studio and more,&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;SQL Server 2005 Information and Resources &lt;/span&gt;&lt;br /&gt;
SQL Server 2005 drives better decision-making with enterprise-grade reporting and data analysis. A highly reliable database platform for critical applications, SQL Server 2005 delivers high levels of availability, performance, and security. For more information and links to SQL Server 2005 resources.</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/2242773610690467304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2009/04/sql-server-hosting-sql-server-hosting.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/2242773610690467304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/2242773610690467304'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2009/04/sql-server-hosting-sql-server-hosting.html' title='Sql Server Hosting , web hosting'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-4192488633650788218</id><published>2009-03-25T21:43:00.001-07:00</published><updated>2009-03-25T22:06:44.900-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft DreamSpark Offers Free Download"/><title type='text'>Microsoft DreamSpark Offers Free Download Visual Studio 2008, Server 2003, SQL Server 2005</title><content type='html'>&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;What is DreamSpark.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Microsoft DreamSpark is a world wide program that provides no-cost access to Microsoft designer and development tools for students, In order to support and advance their learning and skills through technical design, technology, maths, science and engineering activities.&lt;br /&gt;Every free Microsoft developer tools download will be verified through an Online Student Status Verification process which linked to schools and organizations around the world that can confirm student status.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What are the Free Offers,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL1u1rqQqGqpGZqBVPQ56bXzQgYsOZ8oxt0LFs9WSEhfqKaLxpY-wbu4h1yVip5mw0siH3f1GJjSWP45PR0qTU-8E1w7JTkuxDekorcFV49RvSXKWd4UBjzljQL1IhlkXf4fr2xcHTLXDJ/s1600-h/dreamspark.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 434px; height: 232px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL1u1rqQqGqpGZqBVPQ56bXzQgYsOZ8oxt0LFs9WSEhfqKaLxpY-wbu4h1yVip5mw0siH3f1GJjSWP45PR0qTU-8E1w7JTkuxDekorcFV49RvSXKWd4UBjzljQL1IhlkXf4fr2xcHTLXDJ/s400/dreamspark.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5317352765680597522&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Microsoft developer tools:&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 51, 255); font-weight: bold;&quot;&gt;           o    Visual Studio 2005 Professional Edition &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 51, 255); font-weight: bold;&quot;&gt;           o    Visual Studio 2008 Professional Edition &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 51, 255); font-weight: bold;&quot;&gt;           o    XNA Game Studio 2.0 &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 51, 255); font-weight: bold;&quot;&gt;           o    12-month free membership in the XNA Creators Club&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Microsoft designer tools:&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;           o    Expression Web &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;           o    Expression Blend &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;           o    Expression Design &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;           o    Expression Media&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Microsoft platform resources:&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;           o    SQL Server 2005 Developer Edition &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;           o    Windows Server, Standard Edition&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;How do I get it?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-weight: bold;&quot;&gt;1.   &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-weight: bold;&quot;&gt;Go to &lt;/span&gt;&lt;a style=&quot;color: rgb(255, 0, 0); font-weight: bold;&quot; href=&quot;http://www.dreamspark.com/&quot;&gt;www.dreamspark.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-weight: bold;&quot;&gt;2.  &lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-weight: bold;&quot;&gt;Log in with your Windows Live ID (e.g. your Hotmail or Messenger email address)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;3.   &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-weight: bold;&quot;&gt; &lt;span&gt;Select the software you wish to download or get the license key&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;4.    &lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;Down the bottom of the page, select the “Verify” button, to verify that you are a student. You will only have to do this once.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;5.    &lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;After you have selected “Verify”, select your country and university, and then select the “Select and Continue” button&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;6.    &lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;The you will be showed you for a username and password. Enter the same details that you would use for your UTS webmail, ( i.e. your UTS student number and your UTS webmail password. www.dreamspark.com  will connect to UTS (auth-idp.uts.edu.au), UTS will verify your username/password, and send back to www.dreamspark.com whether you are a student or not)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;7.    &lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;Once your student status has been confirmed, go back to the software page, and the download button will now be activated. Also, a section will have appeared at the bottom of the page allowing you to get your license key for the software.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-weight: bold;&quot;&gt;If you have any question Please comment here !&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/4192488633650788218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2009/03/microsoft-dreamspark-offers-free.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/4192488633650788218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/4192488633650788218'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2009/03/microsoft-dreamspark-offers-free.html' title='Microsoft DreamSpark Offers Free Download Visual Studio 2008, Server 2003, SQL Server 2005'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL1u1rqQqGqpGZqBVPQ56bXzQgYsOZ8oxt0LFs9WSEhfqKaLxpY-wbu4h1yVip5mw0siH3f1GJjSWP45PR0qTU-8E1w7JTkuxDekorcFV49RvSXKWd4UBjzljQL1IhlkXf4fr2xcHTLXDJ/s72-c/dreamspark.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-1723688887638843027</id><published>2009-03-24T01:34:00.000-07:00</published><updated>2012-02-14T07:44:27.182-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="General C#"/><title type='text'>Add a row / Multiple rows to the data table c#.net</title><content type='html'>&lt;span style=&quot;font-size: 130%; font-weight: bold;&quot;&gt;I suppose to use a data table as data source in my grid View controller. Can you please explain how I need to do it?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1.    The first step is to create an empty Data Table.&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;DataTable dt = new DataTable();  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2.    Second step is to create a new DataRow object.&lt;br /&gt;
&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;DataRow  newRow  =  dt.NewRow(); &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3.    Now you have created and initialized a DataRow. So then it is needed to add values to rows.&lt;br /&gt;
&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;newRow[&quot;id&quot;] = 1;&lt;/span&gt;  &lt;span style=&quot;color: #ff9966;&quot;&gt; // we have created column call “id” and add it to value 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;newRow[&quot;username&quot;] = &quot;adam&quot; ;&lt;/span&gt;  &lt;span style=&quot;color: #ff9966;&quot;&gt;// we have created column call “username” and add it to value “adam”.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
4.    Next, we want to add this newly created row (with two columns) to the blank Datatable we created in the first step.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt; dt.Rows.Add(newRow); &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
5.    You can now set this created Datatable as a DataSource and then DataBind to the GridView or any other similar C# control.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #6633ff;&quot;&gt;            &lt;/span&gt;&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;gridView1.Datasource  = dt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;               gridView1.Databind();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;All the steps from above are put together in the below:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;DataTable dt = new DataTable();  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;             DataRow newRow = dt.NewRow();  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;             newRow[&quot;id&quot;] = 1;  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;             newRow[&quot;username&quot;] = &quot;adam&quot; ;  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;             dt.Rows.Add(newRow);  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;             gridView1.Datasource  = dt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;             gridView1.Databind();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Let see how to add multiple records in datatable without write multiple time code&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt; DataTable dt =  new DataTable();  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt;       dt.Columns.Add(&quot;Min&quot;, System.Type.GetType(&quot;System.Int32&quot;));  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt;       dt.Columns.Add(&quot;Max&quot;, System.Type.GetType(&quot;System.Int32&quot;));  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt;       dt.Columns.Add(&quot;Avg&quot;, System.Type.GetType(&quot;System.Int32&quot;));  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt;        for (int i = 0; i &amp;lt; i =&quot; i&quot;&amp;gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt;       {  &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt;        DataRow dr = dt.NewRow();  &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt;        row[&quot;Min&quot;] = i;  &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt;        row[&quot;Max&quot;] = i + 9;  &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt;        row[&quot;Avg&quot;] = (i + 9) / 2; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt;        dt.Rows.Add(dr);         &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;      &lt;/span&gt;}  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;You can add values to row using for loop.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;             &lt;/span&gt;&lt;span style=&quot;color: #6633ff; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/1723688887638843027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2009/03/add-row-multiple-rows-to-data-table_24.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/1723688887638843027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/1723688887638843027'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2009/03/add-row-multiple-rows-to-data-table_24.html' title='Add a row / Multiple rows to the data table c#.net'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-384537025791871818</id><published>2009-03-17T02:57:00.000-07:00</published><updated>2012-02-14T07:42:38.400-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>SQL Server 2005 — Enhancements</title><content type='html'>&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What are the  enhancements for Data Base Administrators in SQL Server 2005 ? &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
SQL Server 2005 has  provide single management console that enables data base Administrators monitor, manage and tune all databases and services. &lt;span style=&quot;font-weight: bold;&quot;&gt;SQL Management Object (SMO)&lt;/span&gt; is an efficient management infrastructure to easily program. SMO provides all the management functionalities of the SQL Server and is implemented as a Microsoft .NET Framework assembly.&lt;br /&gt;
The primary purpose of the SMO is to automate administrative tasks such as retrieving configuration settings, creating new databases, applying T-SQL scripts, Creating SQL Server Agent jobs and so on&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 100%; font-weight: bold;&quot;&gt;1. SQL Server Management Studio &lt;/span&gt;:&lt;br /&gt;
It is a one point access to a number of services – the relational database, the Integration services, Analysis services, Reporting services, Notification Services and SQL Mobile.&lt;br /&gt;
Indexing capabilities&lt;br /&gt;
The SQL Server 2005 has been greatly enhanced. Indexes can be created, rebuilt or dropped online without disturbing existing indexes. This online indexing capability allows parallel processing, concurrent modifications to the table in the database or clustered index data or any other associated indexes.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;2. Peer to peer model of replication &lt;/span&gt;&lt;br /&gt;
It is enables synchronization of transactions with an identical peer database. This further improves availability of data.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;3. Table and index partitioning &lt;/span&gt;&lt;br /&gt;
It is concept of large databases by dividing the whole into manageable chunks. The concept is not new to the SQL Server, but the partitioning of tables horizontally across file groups in the database is new.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;4. Snapshot isolation &lt;/span&gt;&lt;br /&gt;
This feature allows users access the last row that was committed by providing a transactional and consistent view of the database.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;5. Replication monitor tool &lt;/span&gt;&lt;br /&gt;
It defines a new standard for managing complex data replication operations. Its interface is intuitive and has a number of data metrics that are useful.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;6. New security model &lt;/span&gt;&lt;br /&gt;
Security model of the database platform now provides more precise and flexible control for ensuring security of store data.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;7. Encryption capabilities &lt;/span&gt;&lt;br /&gt;
Data encryption of the database has been integrated with the management infrastructure for centralization of security assurance and server policy.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;8. Secure computing measures&lt;/span&gt;&lt;br /&gt;
Those things have been put in place to enable deployment of a secure environment.&lt;br /&gt;
SQL Server Express Manager (XM)&lt;br /&gt;
This is a free Query Editor tool that is available for download.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;9. Improved Business Intelligence &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;10. Improved Analysis Services &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;11. Improved Reporting services &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/384537025791871818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2009/03/sql-server-2005-enhancements.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/384537025791871818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/384537025791871818'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2009/03/sql-server-2005-enhancements.html' title='SQL Server 2005 — Enhancements'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-3545012066986822244</id><published>2009-03-12T01:01:00.000-07:00</published><updated>2012-02-14T07:43:24.478-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="General C#"/><title type='text'>How to use savefiledialog box in the c#.net ?</title><content type='html'>&lt;span style=&quot;color: #ff9900;&quot;&gt;// Create a new SaveFileDialog object&lt;/span&gt;&lt;br /&gt;
SaveFileDialog obDialogSave = new SaveFileDialog();&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;// Set Default file extension to dialog&lt;/span&gt;&lt;br /&gt;
obDialogSave.DefaultExt = &quot;txt&quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;// Other Available file extensions to dialog&lt;/span&gt;&lt;br /&gt;
obDialogSave.Filter = &quot;Text file (*.txt)|*.txt|XML file (*.xml)|*.xml|All files (*.*)|*.*&quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;// Adds a extension if the user does not select&lt;/span&gt;&lt;br /&gt;
obDialogSave.AddExtension = true;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;// Restores the selected directory, next time&lt;/span&gt;&lt;br /&gt;
obDialogSave.RestoreDirectory = true;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;// To display Dialog title&lt;/span&gt;&lt;br /&gt;
obDialogSave.Title = &quot;Where do you want to save the file?&quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;// Start directory&lt;/span&gt;&lt;br /&gt;
obDialogSave.InitialDirectory = @&quot;C:/&quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;// Show the dialog and process the result&lt;/span&gt;&lt;br /&gt;
if (obDialogSave.ShowDialog() == DialogResult.OK)&lt;br /&gt;
{&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;// your code go here if user click on “OK” button.&lt;/span&gt;&lt;br /&gt;
MessageBox.Show(&quot;You selected the file: &quot; + DialogSave.FileName);&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;// your code go here if user click on “Cancel” button.    &lt;/span&gt;&lt;br /&gt;
MessageBox.Show(&quot;You click cancel.&quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
obDialogSave.Dispose();&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;// Set object to null.&lt;/span&gt;&lt;br /&gt;
obDialogSave = null;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/3545012066986822244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2009/03/how-to-use-savefiledialog-box-in-cnet.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/3545012066986822244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/3545012066986822244'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2009/03/how-to-use-savefiledialog-box-in-cnet.html' title='How to use savefiledialog box in the c#.net ?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-2072218905458827206</id><published>2009-03-12T00:58:00.000-07:00</published><updated>2012-02-14T07:45:08.810-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="General C#"/><title type='text'>What is .Resx file in Dot Net?</title><content type='html'>&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;span style=&quot;color: #333333; font-weight: bold;&quot;&gt;What is .Resx file in Dot Net? How to access?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Resource files are used in .NET to store culture-specific data all in one place, separate from the code. For example, suppose you are developing a multi-language Web site and you have a form on a page with a label beside a text field and the label in English says &quot;First Name.&quot; Instead of having code like this:&lt;br /&gt;
&lt;br /&gt;
if (language == &quot;English&quot;)&lt;br /&gt;
{&lt;br /&gt;
lblFirstName = &quot;First Name&quot;;&lt;br /&gt;
}&lt;br /&gt;
else if (language == &quot;German&quot;)&lt;br /&gt;
{&lt;br /&gt;
lblFirstName = &quot;Vorname&quot;;&lt;br /&gt;
}&lt;br /&gt;
You can just do this:&lt;br /&gt;
&lt;br /&gt;
ResourceManager resourceManager = new ResourceManager(&quot;nameSpace.resourceFileBaseName&quot;,&lt;br /&gt;
Assembly.GetExecutingAssembly());&lt;br /&gt;
lblFirstName = resourceManager.GetString(&quot;lblFirstName&quot;);&lt;br /&gt;
And that&#39;s it—just two lines. There&#39;s no need to change a million sections of code each time you add or take away a language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Reading from .Resx File:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
You can access the .Resx file using this code:&lt;br /&gt;
&lt;br /&gt;
ResXResourceReader reader = new ResXResourceReader(Server.MapPath(&quot;fileName.resx&quot;));&lt;br /&gt;
IDictionaryEnumerator rsxr = reader.GetEnumerator();&lt;br /&gt;
foreach (DictionaryEntry d in reader)&lt;br /&gt;
{&lt;br /&gt;
Console.WriteLine(d.Key.ToString() + &quot;:\t&quot; + d.Value.ToString());&lt;br /&gt;
}&lt;br /&gt;
//Close the reader.&lt;br /&gt;
reader.Close();&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Writing to .Resx File:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
We can write the binary data of an image to the .Resx file using the following code&lt;br /&gt;
&lt;br /&gt;
Image img = Image.FromFile(&quot;abc.jpg&quot;);&lt;br /&gt;
ResXResourceWriter rsxw = new ResXResourceWriter(&quot;abc.resx&quot;);&lt;br /&gt;
rsxw.AddResource(&quot;urdu.jpg&quot;,img);&lt;br /&gt;
rsxw.Close();&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Use of .Resx File:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
It is very useful while working on Localized project [Multiple Languages], You can make different resource files for different languages and depending upon the user choice you can change the Language of the application.</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/2072218905458827206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2009/03/what-is-resx-file-in-dot-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/2072218905458827206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/2072218905458827206'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2009/03/what-is-resx-file-in-dot-net.html' title='What is .Resx file in Dot Net?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-1965959753554298018</id><published>2009-02-03T12:53:00.001-08:00</published><updated>2012-02-14T07:44:46.101-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="General C#"/><title type='text'>C# reading data from Serial port</title><content type='html'>&lt;span style=&quot;font-size: 130%; font-weight: bold;&quot;&gt;Question - &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-weight: bold;&quot;&gt;
I have a device (a GPS type of device) that constantly pushes communication through a standard serial connection (COM1).&lt;br /&gt;&lt;br /&gt;What I need to be able to do is:&lt;br /&gt;&lt;br /&gt;Programatically:&lt;br /&gt;1) Open the serial port&lt;br /&gt;2) Listen for a given period of time (say 2 seconds) to the data that is being received via the serial port.&lt;br /&gt;3) populate a multi-line text box with the data that was received from the serial port.&lt;br /&gt;4) close teh serial port&lt;br /&gt;&lt;br /&gt;Then I will build additional code surrounding handling the data in the textbox.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer - &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
I set up my serialport like this&lt;br /&gt;&lt;br /&gt;sp.BaudRate = 115200;&lt;br /&gt;sp.PortName = &quot;COM53&quot;;&lt;br /&gt;sp.DataBits = 8;&lt;br /&gt;sp.StopBits = System.IO.Ports.StopBits.One;&lt;br /&gt;sp.Parity = System.IO.Ports.Parity.None;&lt;br /&gt;sp.ReadTimeout = 0;&lt;br /&gt;sp.Open();&lt;br /&gt;sp.DataReceived += new&lt;br /&gt;System.IO.Ports.SerialDataReceivedEventHandler(sp_ DataReceived);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and then I have this&lt;br /&gt;&lt;br /&gt;void sp_DataReceived(object sender,&lt;br /&gt;System.IO.Ports.SerialDataReceivedEventArgs e)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;string Mystring = sp.ReadExisting();&lt;br /&gt;byte testbyte = 254;&lt;br /&gt;// Gather all the bytes until 102 is reached&lt;br /&gt;foreach (byte c in Mystring)&lt;br /&gt;{&lt;br /&gt;if(pixelcount&amp;lt;102) pixelcount =&quot;=&quot;&quot; testbyte =&quot; {0}&quot; oldx =&quot; 0;&quot; pixelcount =&quot; 0;&quot;&amp;gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/1965959753554298018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2009/02/c-reading-data-from-serial-port.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/1965959753554298018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/1965959753554298018'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2009/02/c-reading-data-from-serial-port.html' title='C# reading data from Serial port'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-4154151099376493597</id><published>2009-02-03T12:20:00.000-08:00</published><updated>2012-02-14T07:45:33.770-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>Connect to Microsoft SQL server 2008 (enterprise) database from Visual C# 2008 Express</title><content type='html'>&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question - &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;i&#39;ve created a new database using SQL server managment studio with no problem.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;database via Management Studio there is no problem, the  database appears in the Explorer.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;however, in Visual C# Express, when I try to &#39;Add Connection&#39; as follows&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Data source - MS SQL Server Database File&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Database File Name - browse to appropriate folder and select&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Log in using WIndows Authentification&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;And use the same database I receive the message (after a while):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&quot;A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;and yes i did detach the database / disable windows firewall / shutdown anti-virus sw before i try to connect.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;* also, let me say i manage to connect for OLE DB (Access 2007) with no problems&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;does visual c# express edtion got to do with this problem, i mean if full version of visual studio can solve the problem ?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Looking for a solution if possible for the SQL server 2008.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer - &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Upgrade will definitely solve the problem. The full version of Visual Studio provides support to SQL Server.&lt;br /&gt;
The comment about &quot;Real&quot; SQL Server, means that you can connect to the server itself (rather than just the SQL Server files)&lt;br /&gt;
I have heard of folks who just bypass the connection wizard and code the connection to the SQL Server &quot;by hand&quot;.   Using this technique,  you *can* use C# Express to connect to a SQL Server... but you&#39;ve got to do all the work.</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/4154151099376493597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2009/02/connect-to-microsoft-sql-server-2008.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/4154151099376493597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/4154151099376493597'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2009/02/connect-to-microsoft-sql-server-2008.html' title='Connect to Microsoft SQL server 2008 (enterprise) database from Visual C# 2008 Express'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8430722694662138653.post-3886479249197523747</id><published>2009-02-03T12:10:00.000-08:00</published><updated>2012-02-14T07:45:53.247-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="General C#"/><title type='text'>How to use GridView and DataSets in C#.NET 2.0?</title><content type='html'>&lt;span style=&quot;font-size: 130%;&quot;&gt;Question -&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-weight: bold;&quot;&gt;
I need a  example of how to create a gridview in .cs versus just dragging and dropping the gridview on the aspx page?&lt;br /&gt;&lt;br /&gt;I created a dataset and called a stored procedure using data adapter, but i do not know how to data bind the data set into the grid view I have.&lt;br /&gt;&lt;br /&gt;It seems everywhere I search the gridview examples they have is just dragging and dropping to the page and configuring a datasource.&lt;/div&gt;
&lt;span style=&quot;font-size: 130%;&quot;&gt;Answer - &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
//connect to database via dataset &amp;amp; dataadapte&lt;br /&gt;SqlConnection con = new SqlConnection(&quot;server=localhost;Initial Catalog=databasename;uid=;pwd=;&quot;);&lt;br /&gt;DataSet ds = new DataSet();&lt;br /&gt;SqlDataAdapter da = new SqlDataAdapter(&quot;stored proc name&quot;, con);&lt;br /&gt;da.SelectCommand.CommandType = CommandType.StoredProcedure;&lt;br /&gt;da.Fill(ds);&lt;br /&gt;&lt;br /&gt;//create gridview by code &amp;amp; bind dataset to it&lt;br /&gt;GridView g = new GridView();&lt;br /&gt;Page.Controls.Add(g);&lt;br /&gt;g.DataSource = ds;&lt;br /&gt;Page.DataBind();&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-qs.blogspot.com/feeds/3886479249197523747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-qs.blogspot.com/2009/02/how-to-use-gridview-and-datasets-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/3886479249197523747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8430722694662138653/posts/default/3886479249197523747'/><link rel='alternate' type='text/html' href='http://dotnet-qs.blogspot.com/2009/02/how-to-use-gridview-and-datasets-in.html' title='How to use GridView and DataSets in C#.NET 2.0?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09235602288653293362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>