Angular Material is a UI component framework and reference implementation of Google's Material Design for Angular JS developers. It helps in creating responsive, attractive, functional websites in faster manner.
Features of A...
Hello Reader's ,
Today on My blog, We will discuss about the STRSPN().
What is STRSPN()?
The STRSPN() function compares two string to determine how closely related they are to each other. This is accomplished by returning the length of...
Hello Readers,
Cordova geolocation API can access the GPS data and provides the information about device's location in the form of its longitude and latitude. GPS, IP address, WIFI, Bluetooth MAC address, GCM/CDMA cell's IDs these al...
Hello Reader's ,
Today on My blog, You will learn how to compare string length in PHP.
PHP provides strlen() function which compares two string length is equivalent to each other. The strlen() function returns the length of a string on ...
Constructors in c#
Constructor is a special method of a class that gets called when an object of a class is created. They are mainly used for initialization and memory allocation for member variables of class. There will always be a default co...
We can easily apply paging on our page using AngularJs and bootstrap. Here, below is the example of this:
In View:
<div ng-app="angularPagingSample">
<div ng-controller="PagingController">
<h1>Ang...
JavaScript is the programming language of HTML and the Web.It plays a very important role in web. Its client side scripting language.JavaScript is also defined as a lightweight, interpreted programming language.
It is complimentary to and integr...
.Net : Code first vs Database first approach
Code first
In Code first approach Entity classes are declared and defined with properties. As soon as the .net code is compiled and run database is created automatically i.e data...
In this blog we illustrate how to get the late binding using reflections for this firstly we need to understand "what is reflection" and "what is late binding".
What is reflection?
Reflection is basically read the asse...
In program below, I want to print values of array but it is printing the key, can someone help.
<?php
$CHAMP = array("ESP"=>"BARCELONA", "GER"=>"BAYERN", "POR"=>"BENFICA","ENG"=>"CHELSIA");
$TEAM = array("ESP"=...
If you want to create progress bars using only css3, you can see here how to make it.
HTML Base
The bar in which the progress will be shown can be taken as a <div> with some class named outer. Inside this outer you can take a span in wh...
Hiding/Showing div on checking radio:
We can easily hide or display a div by checking the radiobox options using jQuery. We can do this by checking radio options attribute and according to attribute we can hide or show a div.
Example:
...
Scalable Vector Graphics is mostly known as SVG is an image format type which is based on XML it is basically used for 2-dimensional graphics for a web. We can resize SVG vector images to any extent without destroying the image qualit...
I am really really confused about how to convert string data that I get from a form and convert it to a XMLstring and pass the XML string to a stored procedure in Java. Please help me out.
So, Let's say:-
Post () method-
String a = r...
Open a text file in PHP.
To open a text file in PHP you will use fopen() funtion.
$yourfile = fopen("yourtextfilepath", "r");// r is a mode that are used for read file.
Read a text file in PHP.
To read an opened file in PHP you will...
Hello Readers,
I am Fresher in a company and working as a HTML Developer. Now a days, I am planning to learn PHP, So I want to know which PHP framework is easy to learn?
Today in this blog, we will learn how to implement chart on our web page using CanvasJs plugin. This CanvasJs plugin supports many different types of charts like line, column, bar, stacked, pie, doughnut ... etc. Some of the built-in features tha...
TRIGGERS IN MS-SQL
Triggers are special kind of stored procedures that triggers automatically when an event occur. Triggers are written to fire when a specific event on table occurs. Following are the events that may force trigger-:
1) DML ...
C# .Net : How to convert string to Guid ?
Guid represents a globally unique identifier. Guid in .Net framework is identified by System.GUID class.
Program to generate a guid in .Net Framework using C#.
using System;
using System.Colle...
C# does not support multiple inheritance because of diamond problem. To understand it better, just take an example.
Let's consider there is a class 'X' and it has two subclasses or derived classes 'Y' and 'Z&...
How to solve Fatal Error Magento 1.xx on PHP 7
Error:
On upgrading PHP version , and running the Magento 1.9.x version you will get some "Fatal error: Uncaught Error: Function name must be a string" of Layout.php file on...
Vue.js is a library of javascript that can be used to build any web application. It has MVVM(Model-View-ViewModel) architecture. It is easy to learn and also more flexible.
Here you will see how you can use this js in your application.
Adding...
Object pool is a box of objects that contains a list of other objects that are ready to be used.
When the new object request comes then pool object will receive that request and allocate an object from the pool.
How pool object work...
I have PHP MySQL functions and I need to pass the id number from one function to another and each function are called in different page. I'm using the URL to pass the variable. I don't know if that is possible but can I use session to pas...
In developer console it showing me "Your app has been refused classification by Google Play in South Korea". It means my app is "unrated" and is blocked in certain countries or for specific list of users.
What should i do t...
Fresh new business cards hot off the press? Check.
The opportunity to start your 18-hour work days at any time you wish? Check.
Entrepreneurial burnout caused by working ridiculous hours?
Check mate.
...
Hello Reader's ,
Hope you are doing good today.
Today on My blog, I am going to explain about the System.Console.WriteLine in C#
Console is a class that belongs to the System namespace, A namespace is a collection of Classes. The Syste...
Hey Guys, this blog is part of a series "Skeleton Animation in Unity" . In this i'll try to explain "What are Stateful and Stateless classes in Spine Unity".
The whole unity spine classes are divided into Stateful and S...
In this blog, we will learn about how to create a simply animated digital clock with javascript. As we know, browser executes any javascript program at the client side, this means that the script will take the time of the client computer and will...
Session storage is used when the user wants the same data to be used for a session, that also can be used in multiple windows, without affecting the working of website or mobile app. The data stored in sessions can only be maintained until the us...
Hello Readers,
Cordova camera plugin allows to take pictures with device camera. First of all we need to install the plugin.
We can install it through CLI simple run:
$ cordova plugin add cordova-plugin-ca...
This example demonstrate how to use AngularJS with MVC5 and WebAPI for CRUD operations(Read,Insert,Update,Delete).
1. First step is to create table for CRUD operations.
2. Create a new project in ASP.NET MVC 5. Selec...
In this article, you can see how to create custom animated check boxes using css3.
Suppose you have some input type checkbox. Now you can add a label after checkbox and animate it with css3. Here is an example that shows the animated check box...
HI everyone, I need help plz, to write a Linux shell script :
write a utility program called spy that enables you to do just that. spy repeatedly scans the system process table, displaying processes that have started or ended since the last scan...
You’re going to struggle to convert anybody if your landing pages aren’t configured properly. For then you might get traffic, but they won’t end up buying your product. And in that case you’re wasting time, money and e...
Hello Programmers,
By default AngularJS places hash (#) in URL when we build a single page application using it. There is some circumstances when hash creates problem. Search Engines like Google couldn't parse and read content fr...
Sometimes we are required to upload multiple images in our CakePHP application and at the same time to show them on that page.
Let's see how we can do it.
In our view file like as we have done in post add file of view. In our form of ty...
Earlier Facebook was a medium to interact with the people both known and unknown, but with the passing time people has started using it for business purposes. By using the Facebook features entrepreneurs have started promoting their business. For...
Recently, I was watching a Hollywood sci-fi movie Ex Machina, and in that a term non-autistic is used "it's kind of non-autistic" I was wondering what this term means when taking about Artificial intelligence.
Inheritance is the one of the important feature of OOPS(object oriented programming language). This feature allows to create a class which is derived from the another class. Inheritance saves user's time and effort. It provides the reusabilit...
I do see how marketers perceive Social Media as a good communication and consumer engagement tool. But the harsh reality is that majority of the social media channels including Twitter and Facebook don't have rich media formats to facilitate ...
First of all, thank you for trying to help me. It should be simple , but I think I am missing something
I have an HTML file that it’s used to produce a pdf file and gets date from a screen selection
It is about string manipulation (ex...
hello
i have 1 img view and 3 imgbutton
i want to set the img view background as same as img button click
means imgbutton 1 click the image view should get img button1 background
Hi Guys
I am beginner in asp.net mvc and currently working on asp.net project.Please tell me how to Insert, Delete, Update in GridView in ASP.Net using C#.
I would really appreciate your help.
Thanks
Hello Readers,
In today's post we will learn about $broadcast(), $emit(), $on() methods. In AngularJs application communication between controllers is very important. Communication might be to pass data or to send notification be...
Sometimes we are required to send mails in our cakephp application.
To setup in cakephp lets follow these steps :
1. In your EmailConfig class at /app/Config/email.php set the email configuration. Use this class to con...
To bind checkbox with enum, we have to write some custom code. Here, below is the example of binding checkbox with enum.
Suppose we have a enum EmployeeGroup
public enum EmployeeGroup
{
[Display(Name = "Group 1")]
...
In Bootstrap, there are many options with the help of which we can style navigation elements and these all share the same markup and base class .nav .
Following are those different options :-
Tabular Navigation or ...
I am creating a login form for that, for the validation purposes i need to consume 1 particular web service. I am using Gsoap to call that web service , I followed all the steps and its generate .h files as well as all those stubs for the client ...