Time ago function for C#, asp.net, MVC

18 June 2017 Sudhanshu Ranjan 203

Guys, This C# code snippet might be very useful for you. This function will return time in string format. Most of the Forums and social networking website use this function...see more

More..

Redirect URL non-www to www using web.config in MVC ASP.Net

13 August 2016 Sudhanshu Ranjan 578

Guys, this is most important part while you are hosting a domain on server because once you will host the application it will be open through like http://www.yourdomainname.com or http://yourdomain.com which is not good for SEO purpose and as well as Google search engine. In these scenarios Google understand that both are different URL’s.

More..

Code first approach with CRUD operation in MVC Application

01 August 2016 Sudhanshu Ranjan 991

In last article I have shown "datepicker textbox in mvc 4 using JQuery", "Bind dropdown in MVC using jquery with C#". Now today I am going to show how to work with code first approach using Entity Framework and how to perform CRUD operation in MVC application. In code first approach we transform our coded classes into a database design.

More..

datepicker textbox in mvc 4 using JQuery

25 July 2016 Sudhanshu Ranjan 986

In my last article I have shown that Bind dropdown in MVC using jquery with C#. Now today I am going to implement how to create datepicker textbox in MVC application with JQuery. This is very easiest way to implement datepicker in textbox.

More..

Bind dropdown in MVC using jquery with C#

24 July 2016 Sudhanshu Ranjan 1.52k

In today article, I am going to explain how to bind the multiple dropdown (Like: Country, State, City) in MVC using JQuery, ajax, C#. It is very common in your development life and you will get these types situation to bind dropdown which depends on others dropped down. You can understand that you have to populate data like Country, State and City on webpage.

More..

Paging in MVC using C# with razor

19 July 2016 Sudhanshu Ranjan 1.49k

I am going to show the most useful article for you. How to implement paging in MVC using razor with c#. You should follow the steps to implement the paging in MVC.

More..

Microsft online test question for Dotnet -2

10 July 2016 Sudhanshu Ranjan 903

Microsft online test question for 2016 test.

More..

What is the Difference between Overriding and overloading

10 July 2016 Sudhanshu Ranjan 859

Overloading is defining functions that have similar signatures, yet have different parameters. Overriding is only pertinent to derived classes, where the parent class has defined a method and the derived class wishes to override that function.

More..

How to save data in database using MVC in asp.net

06 July 2016 Sudhanshu Ranjan 862

This is very common query while you start to learn MVC and you want to insert data in database.

More..

Difference between ref and out parameters with example.

01 July 2016 Sudhanshu Ranjan 665

Ref and out parameters are used to pass an argument within a method. By using these keywords (ref and out) we can pass a parameter by reference. In this section , you will learn the differences between these two parameters.

More..

the webpage cannot be found http 404 error. Fixed!

27 June 2016 Sudhanshu Ranjan 523

This is very common error while you are hosting application on IIS server. Please read more..

More..

How to reverse a String using C#

23 May 2016 Sudhanshu Ranjan 734

There is couple's of way to reverse the string using c# programming.

More..

Prevent Space of First letter in Text Box using Javascript.

17 May 2016 Sudhanshu Ranjan 658

Please follow the below steps...more

More..

TypeError: $(...).autocomplete is not a function

17 May 2016 Sudhanshu Ranjan 1.25k

This error is very common error. Please add below references in page or master page. See more..

More..

AutoComplete Textbox in ASP.net MVC using Jquery.

17 May 2016 Sudhanshu Ranjan 742

Using MVC and jquery you can easily create an autocomplete textbox in Asp.net MVC.

More..

What is Interface in C#? Explain

17 May 2016 Sudhanshu Ranjan 471

An interface contains only the signatures of methods, properties, events or indexers. C # provide a way to achieve runtime polymorphism. Using interfaces we can invoke functions from different classes through the same Interface reference, whereas using virtual functions we can invoke functions from different classes in the same inheritance hierarchy through the same reference.

More..

How to use CKEditor in MVC application/ Asp.net application.

17 May 2016 Sudhanshu Ranjan 1.22k

First download the CKEditor library from http://ckeditor.com/download and add it in application.

More..

Factorial Number Program in C#

17 May 2016 Sudhanshu Ranjan 661

Factorial of a number is obtained from the result of multiplying a series of descending natural numbers.

More..

What is Prime Number? Print Prime Number using C#

17 May 2016 Sudhanshu Ranjan 464

A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself.

More..

What is static Constructor? Explain.

17 May 2016 Sudhanshu Ranjan 427

A static constructor is used to initialize any static data, or to perform a particular action that needs to be performed once only. It is called automatically before the first instance is created or any static members are referenced...more

More..

About Dotnet Cube

It's my blog - Dotnet Cube, where you will learn and get solutions about programming, web designing and development. I started this website to share my knowledge and experience which might help someone.

You can get more details about me and my blog at About Us page.

Subscribe Newsletter

Subscribe to our monthly newsletter to get the latest industry news, Media Group updates and our current specials.

Follow On Us...

Home | About | Advertise | Copyrights | Privacy | Contact | Admin

Copyrights © 2015-2017 dotnetcube.com. All rights reserved