User Name:

User Email:

This information will only be saved for the purposes of communicating with those who have provided this information voluntarily regarding our services.We will never sell your name or email address to anyone.
© 2018 - First Crazy Developer (Abhishek Kumar)

crazydeveloper Insert data from XML to database

Today someone asked me, how to insert data from XML to Database?

Now we are going to insert the values of an XML file to a Database Table using SQL Insert Command . Here the Dataset using an XmlReader for read the content of the XML file - SampleProduct.XML . Locate the XML file using XmlReader and pass the XmlReader as argument of Dataset. Also establish a connection to the Database using a connectionstring . After getting the data from XML file to the Dataset , we can loop through the dataset values and use insert command to add the values to the Product table in the Databse...

Read more »
21 June 2015

crazydeveloper Image Slide with Juery

Today some one asked me how can do image slide with Jquery. It is easy to do that with use of some Jquery animations.

Read more »
21 June 2015

crazydeveloper Announcing TypeScript 1.5 Beta

TypeScript is a syntatic sugar for JavaScript, or we can say Microsoft come some new concept with JavaScript. It's also follow the concept of Ecmascript 5(ES5). Every JavaScript program is also a type of TypeScript program.

TypeScript optionally provides source maps, enabling source level debugging.

TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.  Any browser. Any host. Any OS. Open Source

Read more »
20 June 2015

crazydeveloper What are Indexers in C# ?

In c# introduce new concept is Indexer. This is very useful for some situation. Let as discuss something about Indexer.

Indexers help us to simplify the way to access a collection for a class.

Summarizing in a sentence -  Indexers help to access contained collection  with in a class using a simplified  interface. It's a syntactic sugar.

  • Indexer Concept is object act as an array.
  • Indexer an object to be indexed in the same way as an array.
  • Indexer modifier can be private, public, protected or internal.
  • The return type can be any valid C# types.
  • Indexers in C# must have at least one parameter. Else the compiler will generate a compilation error.
Read more »
13 June 2015

crazydeveloper Context vs Scope in JavaScript

Hi friends, today we will discuss and understand the most importand part 'Scope and Context' in JavaScript. Often people confuse when they talk about Scope and Context in JavaScript.
Scope use to the variables and functional access of JavaScript function, but when we talk about Context, it is the properties and method access of a JavaScript function.
When we analyze the Context vs Scope then we find that both are not same. I met lots of developers and noticed many of them confuse with these and be frank they mixed both to each other.

Read more »
11 June 2015

crazydeveloper JavaScript - null and undefined

Both null and undefined can be regarded as a special value that indicates "no value".

The null is a language keyword (in fact, it is a primitive ) which is used to indicate the expected lack of value. On the other hand, undefined is a predefined global variable that has a deeper meaning and is used to indicate an error-like, unexpected lack of value.

Read more »
09 June 2015

crazydeveloper Closures in JavaScript

When we talk about closure in JavaScript,it is a confusing topic as we compare this functionality to other language. Before going to understand the concept of closure as in single line I want to say it is gray area of JavaScript where function and variable scope intersect.
In all other language when function returns all local variable not available or we can say not accessible. But when we talk about JavaScript  the variable of a function are kept alive, even after the function returns.

Read more »
07 June 2015

crazydeveloper How can we get last Identity value in SQL Server

When we insert data in table in SQL, in that case we need to get the reference of new inserted row, how can we do that?

There are some internal functionality in SQL Server through which we can get that value from SQL Server.




Read more »
06 June 2015

crazydeveloper First step of Object Oriented JavaScript

First step of Object Oriented JavaScript:

Now a day’s when RIA design pattern is so popular. Good numbers of JavaScript Framework available in market which use to develop modern web application.
After this change it’s necessary to look at how we can manage our code in JavaScript, because this entire framework designed using with JavaScript. Today we will discuss the JavaScript with some object oriented conventions seen in the more strongly typed programming languages.

We create object in JavaScript with combination of Constructor & Prototype pattern. Before we are going to create this object we discuss why we need that or we can say what is benefit of this pattern?

Read more »
06 June 2015

crazydeveloper New features in C# - String interpolation

New features in C# - String interpolation

C# 6.0 introduce with new feature "String Interpolation", which give you more control to format your string in easily way.

Before this feature when we want to do this we used numbered placeholders like {0} in the format string, which must line up with separately supplied arguments:.......

Read more »
26 May 2015

Page 6 of 10

Become a Fan