Using Expressions, AngularJS binds data to HTML at the location wherever expression is mentioned on web page. It can be written inside double braces {{expression}}. It can also be written in different way like ng-bind=”expression”. ng-bind maps innerHTML to the value of expression. Let’s take an example of a HTML…
New SharePoint CSOM Version Released for SharePoint Online – May 2017
Microsoft has announced New SharePoint CSOM version which is released for SharePoint Online. It is targeting to Office 365 or we can say mainly SharePoint and Project Online. This update contains new methods and properties over existing SharePoint CSOM assemblies and some maintenance changes. It can be searched using ‘Microsoft.SharePointOnline.CSOM’…
Google, Microsoft and Facebook are adopting AI Artificial Intelligence The Machine Learning
Artificial Intelligence is a field of Computer Science where we see computers to be working as human being. Time is running very fast and we have to adopt these changes in our life as well. Machine Learning, we have been hearing about this term around us a lot since few…
What is AngularJS
AngularJS is a JavaScript framework for web pages. This is perfect for Single Page Application. It works with HTML by extending the attributes with directives and using expressions. It is developed by Google and this framework is available as a set of Google APIs. The prerequisite of using AngularJS is…
How to Rotate Advertisements using JQuery and ASP NET AdRotator Control
The ASP.NET AdRotator control is a useful control to randomly display advertisements on a webpage. However the ads in the adrotator control are rotated only when the user refreshes the page. In this article, we will use a single line of jQuery code to rotate ads using the adrotator control, at regular…
How to use cookies in ASP.Net
Cookies A cookie is a small bit of text that accompanies requests and pages as they go between the Web server and browser. The cookie contains information the Web application can read whenever the user visits the site. Scenarios: Cookies provide a means in Web applications to store…
How to use caching in ASP.Net
ASP.NET Caching: ASP.NET provides two types of caching that you can use to create high-performance Web applications. 1. The first is output caching, which allows you to store dynamic page and user control responses on any HTTP 1.1 cache-capable device in the output stream, from the originating server to the…
How to Count total number of objects in SQL Server instance
Below query will help you find the list of object counts in the database: SELECT type, total_count = COUNT(*), last_crdate = MAX(crdate), last_refdate = MAX(refdate) FROM ( SELECT type = CASE WHEN xtype = ‘U’ THEN ‘table’ WHEN xtype = ‘V’ THEN ‘view’ WHEN xtype = ‘P’ THEN ‘proc’ WHEN…