Error SQL70001: This statement is not recognized in this context

Today, I got this weird error on my SQL script in Visual Studio 2017, where in it was highlighting various SQL statements when I copied the SQL file and added it to the project. Below is the exact error in Visual Studio 2017. Error SQL70001: This statement is not recognized in this context. However, the … Continue reading Error SQL70001: This statement is not recognized in this context

Advertisements

Install Office Web App Server 2013 on Windows Server 2012 R2

Let me give you a brief about what Office Web App Server is for those who don't know what it is used for. Its basically a server which provides the Office Services to edit or view the office documents in the browser itself without the┬áneed of office installed on local machine of end users. Installing … Continue reading Install Office Web App Server 2013 on Windows Server 2012 R2

Call a JavaScript method/code from Asp.Net Code behind

In day to day development, we face a requirement that we need to call a JavaScript method or some lines of JavaScript code from code behind. There are several ways to accomplish this. Using ScriptManager Class. Using Page.RegisterClientScriptBlock or Page.RegisterStartupScript or Page.ClientScript object Page.RegisterClientScriptBlock or Page.RegisterStartupScript methods are deprecated methods and they shouldn't be used. … Continue reading Call a JavaScript method/code from Asp.Net Code behind

How to get Post Back Control ID when using Update panel

Recently, I faced an issue in which I need to get the ID of the control which is responsible for post back inside update panel. If we are using Update Panel and then we cannot get the post back control id using Request.Form["__EVENTTARGET"]. We need to use the following code snippet to get the control … Continue reading How to get Post Back Control ID when using Update panel