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

<channel>
	<title>Q&amp;A &#8211; Sibeesh Passion</title>
	<atom:link href="https://sibeeshpassion.com/category/qa/feed/" rel="self" type="application/rss+xml" />
	<link>https://sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Mon, 10 Jun 2019 18:04:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>Q&amp;A &#8211; Sibeesh Passion</title>
	<link>https://sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>CellSetGrid Implementation in VS 2012 or later</title>
		<link>https://sibeeshpassion.com/cellsetgrid-implementation-in-vs-2012-or-later/</link>
					<comments>https://sibeeshpassion.com/cellsetgrid-implementation-in-vs-2012-or-later/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Tue, 14 Jul 2015 12:03:22 +0000</pubDate>
				<category><![CDATA[Q&A]]></category>
		<category><![CDATA[ADOMD]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[CellSetGrid]]></category>
		<category><![CDATA[sql server analysis services 2005 or later required]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=7011</guid>

					<description><![CDATA[Hi All, I have downloaded the CellSetGrid source code and tried to implement the grid with my cube details. I am trying to use the same in VS 2013. When I run I am getting error as &#8220;sql server analysis services 2005 or later required &#8221; even if I have already Installed latest version of SSAS. Please help me to resolve this. Thanks in advance. Kindest Regards Sibeesh Venu www.sibeeshpassion.com]]></description>
										<content:encoded><![CDATA[<p>Hi All, </p>
<p>I have downloaded the CellSetGrid source code and tried to implement the grid with my cube details. I am trying to use the same in VS 2013. When I run I am getting error as &#8220;sql server analysis services 2005 or later required &#8221; even if I have already Installed latest version of SSAS. Please help me to resolve this. Thanks in advance.</p>
<p>Kindest Regards<br />
Sibeesh Venu<br />
<a href="http://www.sibeeshpassion.com" target="_blank">www.sibeeshpassion.com</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/cellsetgrid-implementation-in-vs-2012-or-later/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to check my mobile is 3G enabled or not</title>
		<link>https://sibeeshpassion.com/how-to-check-my-mobile-is-3g-enabled-or-not/</link>
					<comments>https://sibeeshpassion.com/how-to-check-my-mobile-is-3g-enabled-or-not/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Fri, 03 Jul 2015 07:55:08 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Q&A]]></category>
		<category><![CDATA[3G]]></category>
		<category><![CDATA[3G compatible]]></category>
		<category><![CDATA[Activate 3G]]></category>
		<category><![CDATA[Activate 3G in Airtel]]></category>
		<category><![CDATA[Airtel]]></category>
		<category><![CDATA[Check 3G]]></category>
		<category><![CDATA[Enable 3G]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=6151</guid>

					<description><![CDATA[Introduction In this post, we will see how we can check whether our phone is 3G compatible or not and how to activate 3G in Airtel. Check whether mobile is 3G compatible To check whether our mobile is 3G compatible or not, you need to type 3GHS (3GHS in capital letters) and send to 121. Activate 3G To activate 3G, you need to type 3G (3G in capital letters) and send to 121. Please be noted that these are applicable to Airtel users. It may be different for other subscribers. Conclusion I hope someone found this useful. Please share me [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>In this post, we will see how we can check whether our phone is 3G compatible or not and how to activate 3G in Airtel. </p>
<p><strong>Check whether mobile is 3G compatible</strong></p>
<p>To check whether our mobile is 3G compatible or not, you need to type 3GHS (3GHS in capital letters) and send to 121.</p>
<p><strong>Activate 3G</strong></p>
<p>To activate 3G, you need to type 3G (3G in capital letters) and send to 121.</p>
<p>Please be noted that these are applicable to Airtel users. It may be different for other subscribers.</p>
<p><strong>Conclusion</strong></p>
<p>I hope someone found this useful. Please share me your valuable thoughts and comments. Your feedback is always welcomed.</p>
<p>Thanks in advance. Happy coding!</p>
<p>Kindest Regards<br />
<a href="https://plus.google.com/+sibeeshkv" target="_blank">Sibeesh Venu</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/how-to-check-my-mobile-is-3g-enabled-or-not/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Filter parameters are always null in server side paging in JQWidget JQX Grid. Why?</title>
		<link>https://sibeeshpassion.com/filter-parameters-are-always-null-in-server-side-paging/</link>
					<comments>https://sibeeshpassion.com/filter-parameters-are-always-null-in-server-side-paging/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Mon, 29 Jun 2015 10:25:20 +0000</pubDate>
				<category><![CDATA[JQWidgets]]></category>
		<category><![CDATA[JQX Grid]]></category>
		<category><![CDATA[Q&A]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[filter parameters]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[jqx data adapter]]></category>
		<category><![CDATA[jqx extend data]]></category>
		<category><![CDATA[jqx source]]></category>
		<category><![CDATA[server side paging]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=5491</guid>

					<description><![CDATA[Hi All, Hi I am working on JQX JQWidget grid. Now I am facing an issue with that. My Filter parameters are always null in server side paging. My call is getting to the controller, but the filter values are not getting. Following is my implementation of source and data adapter object. [js] var source = { datafields: DataFields, datatype: &#34;json&#34;, url: &#8216;../Widget/GetGridData/&#8217;, sort: function () { $(&#34;#advancedgrid&#34;).jqxGrid(&#8216;updatebounddata&#8217;, &#8216;sort&#8217;); }, filter: function () { $(&#34;#advancedgrid&#34;).jqxGrid(&#8216;updatebounddata&#8217;, &#8216;filter&#8217;); }, beforeprocessing: function (data) { source.totalrecords = varDataCount; } }; var dataAdapter = new $.jqx.dataAdapter(source, { loadComplete: function (data) { var length = dataAdapter.records.length; [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Hi All,<br />
Hi I am working on JQX JQWidget grid. Now I am facing an issue with that. My Filter parameters are always null in server side paging. My call is getting to the controller, but the filter values are not getting. Following is my implementation of source and data adapter object.</p>
<p>[js]<br />
var source =<br />
                          {<br />
                              datafields: DataFields,<br />
                              datatype: &quot;json&quot;,<br />
                              url: &#8216;../Widget/GetGridData/&#8217;,<br />
                              sort: function () {<br />
                                  $(&quot;#advancedgrid&quot;).jqxGrid(&#8216;updatebounddata&#8217;, &#8216;sort&#8217;);<br />
                              },<br />
                              filter: function () {<br />
                                  $(&quot;#advancedgrid&quot;).jqxGrid(&#8216;updatebounddata&#8217;, &#8216;filter&#8217;);<br />
                              },<br />
                              beforeprocessing: function (data) {<br />
                                  source.totalrecords = varDataCount;<br />
                              }<br />
                          };<br />
            var dataAdapter = new $.jqx.dataAdapter(source, {<br />
                loadComplete: function (data) {<br />
                    var length = dataAdapter.records.length;<br />
                },<br />
                loadError: function (jqXHR, status, error) {<br />
                    var test = status;<br />
                    console.log(test);<br />
                },<br />
                downloadComplete: function (data, status, xhr) {<br />
                    debugger;<br />
                    return jQuery.parseJSON(data);<br />
                },<br />
                formatData: function (data) {<br />
                    $.extend(data, {<br />
                        selectedColumn: selectedColumn,<br />
                        selectedRow: selectedRow,<br />
                        selectedMeasures: selectedMeasures,<br />
                        serverName: serverName,<br />
                        databaseName: databaseName,<br />
                        cubeName: cubeName,<br />
                        queryTemplate: QueryTemplate,<br />
                        chartMode: ChartMode,<br />
                        chartType: chartType<br />
                    });<br />
                    return data;<br />
                }<br />
            });<br />
[/js]</p>
<p>Please help me. Thanks in advance.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/filter-parameters-are-always-null-in-server-side-paging/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Solution for saving changes not permitted error in SQL</title>
		<link>https://sibeeshpassion.com/solution-for-saving-changes-not-permitted-error-in-sql/</link>
					<comments>https://sibeeshpassion.com/solution-for-saving-changes-not-permitted-error-in-sql/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Mon, 29 Jun 2015 08:07:06 +0000</pubDate>
				<category><![CDATA[Q&A]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Errors]]></category>
		<category><![CDATA[sql table design error]]></category>
		<category><![CDATA[SQL Tips]]></category>
		<category><![CDATA[SQL Tricks]]></category>
		<category><![CDATA[table design]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=5461</guid>

					<description><![CDATA[Introduction Hi All, How are you today? In this article we will see a solution for a fix that we usually encounter when you work in Microsoft SQL server. The error message will be &#8220;Saving changes is not permitted,The changes you have made require the following table to be dropped and re-created. You have either made changes to the table that can&#8217;t be re-created or enabled the option Prevent saving changes that require the table to be re-created.&#8221;. Let us see how we can solve this issue. I hope you will like it. Background As the error message says, it [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>Hi All, How are you today? In this article we will see a solution for a fix that we usually encounter when you work in Microsoft SQL server. The error message will be <em>&#8220;Saving changes is not permitted,The changes you have made require the following table to be dropped and re-created. You have either made changes to the table that can&#8217;t be re-created or enabled the option Prevent saving changes that require the table to be re-created.&#8221;</em>. Let us see how we can solve this issue. I hope you will like it.</p>
<p><strong>Background</strong></p>
<p>As the error message says, it is because of you have enabled the option Prevent saving changes. Now we will see how we can disable that option in SQL Server Management Studio. Before going through the fix, we will see teh screenshot of the error.</p>
<p><img decoding="async" src="http://www.sibeeshpassion.com/content/images/tab1.png" alt="www.sibeeshpassion.com" /></p>
<p><strong>Steps to follow</strong></p>
<p>To fix this issue, you need to follow some certain steps. We will explain that here.</p>
<p><em><strong>Step 1</strong></em></p>
<p>Go to Tools menu and click on options.</p>
<p><img decoding="async" src="http://www.sibeeshpassion.com/content/images/tab2.png" alt="www.sibeeshpassion.com" /></p>
<p><em><strong>Step 2</strong></em></p>
<p>Now you can see a window is opened as follows. You can see some settings there. No need to change anything in that.</p>
<p><img decoding="async" src="http://www.sibeeshpassion.com/content/images/tab3.png" alt="www.sibeeshpassion.com" /></p>
<p><em><strong>Step 3</strong></em></p>
<p>Now go to Designers menu and click on &#8220;Table and Database designers&#8221; </p>
<p><img decoding="async" src="http://www.sibeeshpassion.com/content/images/tab4.png" alt="www.sibeeshpassion.com" /></p>
<p><em><strong>Step 4</strong></em></p>
<p>It is time for changing the settings. As you can see there is a check box which is captioned as <em>&#8220;Prevent saving changes that requires table re-creation&#8221;</em> . Just uncheck that and click OK.</p>
<p><img decoding="async" src="http://www.sibeeshpassion.com/content/images/tab5.png" alt="www.sibeeshpassion.com" /></p>
<p>That is all. Now if you try to save that table, you won&#8217;t be facing above mentioned issue. Have a happy table designing.</p>
<p><strong>Conclusion</strong></p>
<p>I hope you will like this article. Please share me your valuable thoughts and comments. Your feedback is always welcomed.</p>
<p>Thanks in advance. Happy coding!</p>
<p>Kindest Regards<br />
<a href="https://plus.google.com/+sibeeshkv" target="_blank">Sibeesh Venu</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/solution-for-saving-changes-not-permitted-error-in-sql/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Why Windows 10 is not available for Windows enterprise version?</title>
		<link>https://sibeeshpassion.com/why-windows-10-is-not-available-for-windows-enterprise-version/</link>
					<comments>https://sibeeshpassion.com/why-windows-10-is-not-available-for-windows-enterprise-version/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Sat, 20 Jun 2015 13:30:32 +0000</pubDate>
				<category><![CDATA[Q&A]]></category>
		<category><![CDATA[W10]]></category>
		<category><![CDATA[Windows 10]]></category>
		<category><![CDATA[Windows 10 not for Windows 8.1]]></category>
		<category><![CDATA[Windows 10 Preview]]></category>
		<category><![CDATA[Windows 8.1 and Windows 10]]></category>
		<category><![CDATA[Windows Enterprise]]></category>
		<category><![CDATA[Windows Enterprise 8.1]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=5281</guid>

					<description><![CDATA[Hi All, I hope you are fine. I have one doubt. Currently I am using Windows 8.1 Enterprise version. Microsoft has said Windows 10 is not available for the enterprise version? Anyone know the reason behind this? If yes, please comment here. And please advice me what should I do to get Windows 10? Should I remove my current OS and install new Windows 8.1 ? Waiting for your reply. Trillion thanks in advance. Kindest Regards Sibeesh Venu]]></description>
										<content:encoded><![CDATA[<p>Hi All, </p>
<p>I hope you are fine. I have one doubt. Currently I am using Windows 8.1 Enterprise version. </p>
<p><img decoding="async" src="http://res2.windows.microsoft.com/resbox/en/windows/main/e631eaeb-66d5-46bd-9888-77b8e98e847a_15.png" alt="" /></p>
<p>Microsoft has said <a href="https://www.microsoft.com/en-us/windows/windows-10-faq" target="_blank">Windows 10 is not available for the enterprise version</a>? Anyone know the reason behind this? If yes, please comment here. And please advice me what should I do to get Windows 10? Should I remove my current OS and install new Windows 8.1 ? Waiting for your reply. Trillion thanks in advance.</p>
<p>Kindest Regards<br />
Sibeesh Venu </p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/why-windows-10-is-not-available-for-windows-enterprise-version/feed/</wfw:commentRss>
			<slash:comments>24</slash:comments>
		
		
			</item>
		<item>
		<title>Interview Questions For Experienced and Beginner .NET Professionals</title>
		<link>https://sibeeshpassion.com/dot-net-interview-questions-for-experienced-and-fresher/</link>
					<comments>https://sibeeshpassion.com/dot-net-interview-questions-for-experienced-and-fresher/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Tue, 16 Jun 2015 09:43:02 +0000</pubDate>
				<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[Q&A]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Answers]]></category>
		<category><![CDATA[Dot Net]]></category>
		<category><![CDATA[Questions]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=4621</guid>

					<description><![CDATA[[toc] Introduction Hi, I hope you are all fine. If you are a .Net professional and if you are looking for a change in job (especially in Infosys, IBM, DELL, Aversan) you may want to read: Interview Questions For 3 Year .NET Professionals. I have described my interview experience there. Now I will share some other important series of questions that will definitely ask in any .Net interview. What employers currently look for in a candidate is logical understanding with basic knowledge. So understanding the basics is very important, even if you are an experienced candidate. So let us start. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>[toc]</p>



<h2 class="wp-block-heading"><strong>Introduction </strong></h2>



<p>Hi, I hope you are all fine. If you are a .Net professional and if you are looking for a change in job (especially in Infosys, IBM, DELL, Aversan) you may want to read: <a href="http://sibeeshpassion.com/Infosys-Interview-Questions-For-DotNet-Professionals/" target="_blank" rel="noopener noreferrer">Interview Questions For 3 Year .NET Professionals.</a></p>



<p>I have described my interview experience there. Now I will share some other important series of questions that will definitely ask in any .Net interview. What employers currently look for in a candidate is logical understanding with basic knowledge. So understanding the basics is very important, even if you are an experienced candidate.</p>



<p>So let us start. I hope you will like this article. Please provide your valuable comments so that I can improve myself.</p>



<p>First of all you must be ready to introduce yourself. Please don&#8217;t use so many “mmmmm” and “And and and”. Be confident and don&#8217;t urge. Take your own time to describe yourself. Look straight. You can find more tips here: <a href="http://www.wikihow.com/Prepare-for-a-Job-Interview" target="_blank" rel="noopener noreferrer">How to Prepare for a Job Interview.</a></p>



<h2 class="wp-block-heading"><strong>Now we will concentrate on the technical questions.</strong></h2>



<p>Please note that these questions are asked in my interview experience, you may need to see more questions when you go for your interview.</p>



<p>1. What is the sequence of execution of the ASP.NET page life cycle?</p>



<p>The simple way is to remember SILVER.</p>



<p><em>S (It is not counted)<br>I (Init)<br>L (Load)<br>V (Validate)<br>E (Event)<br>R (Render)</em></p>



<p>Read more <a href="https://msdn.microsoft.com/en-us/library/ms178472(v=vs.85).aspx" target="_blank" rel="noopener noreferrer">here</a>.</p>



<p>2. What is the difference between a Hash Table and a Dictionary?</p>



<p>The main differences are listed below.</p>



<p><strong>Dictionary</strong>:</p>



<p>Returns an error if the key does not exist<br>No boxing and unboxing<br>Faster than a Hash table</p>



<p><strong>Hashtable</strong>:</p>



<p>Returns NULL even if the key does not exist<br>Requires boxing and unboxing<br>Slower than a Dictionary</p>



<p>3. How to use View state?</p>



<script src="https://gist.github.com/SibeeshVenu/34a3c94ddb49657ec034a87a614d25a4.js"></script>



<p>4. What are the state management techniques used in .NET?</p>



<p><strong>Client-side</strong>:</p>



<ul class="wp-block-list"><li>Hidden Field</li><li>View State</li><li>Cookies</li><li>Control State</li><li>Query Strings</li></ul>



<p><strong>Server-side</strong>:</p>



<p><em>Session</em></p>



<ul class="wp-block-list"><li>In Proc mode</li><li>State Server mode</li><li>SQL Server mode</li><li>Custom mode</li></ul>



<p><em>Application</em>.</p>



<p>Read <a href="http://www.codeproject.com/Articles/492397/State-Management-in-ASP-NET-Introduction" target="_blank" rel="noopener noreferrer">here</a>.</p>



<p>5. How can we create a new table in SQL with only the structure?</p>



<p>Here is the query to do that.</p>



<script src="https://gist.github.com/SibeeshVenu/a5cf9edbd0ecc016d0b8d5fb2b09fd66.js"></script>



<p><em>Points to be noted:</em></p>



<p>A is the source table.<br>B is the destination table.<br>The condition 1=2 is to prevent the data from being copyied.</p>



<p>6. How to add a button dynamically to a grid view?</p>



<script src="https://gist.github.com/SibeeshVenu/53e892a522ac31d40bfa7a2fe26dfdd2.js"></script>



<p>7. How to find a control inside a GridView?</p>



<script src="https://gist.github.com/SibeeshVenu/b3993cf9f80c1e6696273813fa16cb04.js"></script>



<p>Here we are finding the control myButton from the 0th row first cell.</p>



<p>8. What are abstract and interface? Provide actual examples.</p>



<p>Please read <a href="http://www.codeproject.com/Questions/43970/Real-world-examples-of-abstract-classes-and-interf" target="_blank" rel="noopener noreferrer">here</a>.</p>



<p>9. What is partial class?</p>



<p>There are the following situations of when splitting a class definition is desirable:<br>To work with large projects.<br>To split the class definitions as we needed with the keyword partial.</p>



<p>10. How to use a partial class?</p>



<script src="https://gist.github.com/SibeeshVenu/5773dd7db2a31c77533f4558f734c2ae.js"></script>



<p>11. How to remove a constraint from a table in SQL Server?</p>



<script src="https://gist.github.com/SibeeshVenu/d23dc61d7cf412cfa6c86cbe840134af.js"></script>



<p>12. How to create Table Variables In T-SQL?</p>



<p>Normally the syntax to create a table variable is the same as to create a table statement.</p>



<script src="https://gist.github.com/SibeeshVenu/8fa72f9b50dc1e8a4121190d54125038.js"></script>



<p>13. How can you delete a duplicate record from a table in SQL?</p>



<p>There are so many ways to do this. Here I am sharing what I use when I get that kind of situation.</p>



<ul class="wp-block-list"><li>I will create a temp table.</li><li>Copy the distinct data from the existing table to the temp table.</li><li>Empty the data in the existing table.</li><li>Insert the data from the temp table to the source table.</li></ul>



<p>Here is the query to do that:</p>



<script src="https://gist.github.com/SibeeshVenu/6d28476a8a74394e60e3d5a021a95ca0.js"></script>



<p>14. When to use an override and new in C#?</p>



<p>We can use override when there is virtual/abstract/override type of method in base class. We can use New when there is no virtual/abstract/override type of method in base class.</p>



<h3 class="wp-block-heading">Conclusion</h3>



<p>Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.</p>



<h3 class="wp-block-heading">Your turn. What do you think?</h3>



<p>A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.</p>



<p>Kindest Regards<br>Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/dot-net-interview-questions-for-experienced-and-fresher/feed/</wfw:commentRss>
			<slash:comments>27</slash:comments>
		
		
			</item>
		<item>
		<title>SqlDateTime Overflow, Must be between Error</title>
		<link>https://sibeeshpassion.com/sqldatetime-overflow-must-be-between-error/</link>
					<comments>https://sibeeshpassion.com/sqldatetime-overflow-must-be-between-error/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Fri, 05 Jun 2015 07:16:12 +0000</pubDate>
				<category><![CDATA[Q&A]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Date Parameter]]></category>
		<category><![CDATA[SQL Errors]]></category>
		<category><![CDATA[SQL Parameter Error]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=4482</guid>

					<description><![CDATA[Introduction Hi All, I hope you are fine. We all are using SQL parameter in our application right?Yeah it is a good way to restrict the Injections are hijacks. But still if you pass those parameters in the right way, you will face lots of problems. In this article I am going to share you such an Issue. I hope you will like it. Background Morning I was working in a grid control which editable, and I selected a row to edit and started editing. In a date field I edited the date and clicked update button. I was expecting [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>Hi All, I hope you are fine. We all are using SQL parameter in our application right?Yeah it is a good way to restrict the Injections are hijacks. But still if you pass those parameters in the right way, you will face lots of problems. In this article I am going to share you such an Issue. I hope you will like it.</p>
<p><strong>Background</strong></p>
<p>Morning I was working in a grid control which editable, and I selected a row to edit and started editing. In a date field I edited the date and clicked update button. I was expecting an output result as &#8220;Successfully updated&#8221;. But it didn&#8217;t happen. Instead it throws an error. <em>&#8220;SqlDateTime Overflow, Must be between&#8221;</em></p>
<p><strong>Using the code</strong></p>
<p>To resolve this issue, first you must understand the root cause for this. I was passing the parameters as follows.</p>
<p>[csharp]<br />
 SqlParameter[] myParam = new SqlParameter[3];<br />
            myParam[0] = new SqlParameter(&quot;@name&quot;, myObject.name);<br />
            myParam[1] = new SqlParameter(&quot;@ValidFrom&quot;, myObject.hjcValidFrom);<br />
            myParam[2] = new SqlParameter(&quot;@ValidTo&quot;, myObject.hjcValidTo);<br />
[/csharp]</p>
<p>When I run my application with above code, I got the following error.<br />
<img decoding="async" src="http://sibeeshpassion.com/Content/Images/sqldateerror.PNG" alt="" /></p>
<p><strong>So what is the fix/solution?</strong></p>
<p>I changed the parameter as follows. </p>
<p>[csharp]<br />
 SqlParameter[] myParam = new SqlParameter[3];<br />
            myParam[0] = new SqlParameter(&quot;@name&quot;, myObject.name);<br />
            myParam[1] = new SqlParameter(&quot;@ValidFrom&quot;, myObject.hjcValidFrom.ToString(&quot;MM/dd/YYYY&quot;));<br />
            myParam[2] = new SqlParameter(&quot;@ValidTo&quot;, myObject.hjcValidTo.ToString(&quot;MM/dd/YYYY&quot;));<br />
[/csharp]</p>
<p>That solved the issue. Simple right?</p>
<p><strong>Some other case</strong></p>
<p>There are dome other cases you may get this error if you use the codes as follows.<br />
[csharp]<br />
 SqlParameter[] myParam = new SqlParameter[3];<br />
            DateTime myDate=new DateTime();<br />
            myParam[0] = new SqlParameter(&quot;@name&quot;, myObject.name);<br />
            myParam[1] = new SqlParameter(&quot;@ValidFrom&quot;, myDate);<br />
            myParam[2] = new SqlParameter(&quot;@ValidTo&quot;, myDate);<br />
[/csharp]</p>
<p>What you have to do all to fix this issue is just take the now property value from your date time object and pass it your parameter.</p>
<p>[csharp]<br />
 SqlParameter[] myParam = new SqlParameter[3];<br />
            DateTime myDate = DateTime.Now;<br />
            myParam[0] = new SqlParameter(&quot;@name&quot;, myObject.name);<br />
            myParam[1] = new SqlParameter(&quot;@ValidFrom&quot;, myDate);<br />
            myParam[2] = new SqlParameter(&quot;@ValidTo&quot;, myDate);<br />
[/csharp]</p>
<p><strong>Conclusion </strong></p>
<p>I hope you enjoyed reading and found this useful. Please share me your valuable feedback. For me it matters a lot.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/sqldatetime-overflow-must-be-between-error/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
