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

18 June 2017 Sudhanshu Ranjan 2.43k

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


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

13 August 2016 Sudhanshu Ranjan 2k

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.


Code first approach with CRUD operation in MVC Application

01 August 2016 Sudhanshu Ranjan 2.46k

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.


datepicker textbox in mvc 4 using JQuery

25 July 2016 Sudhanshu Ranjan 3.29k

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.


Bind dropdown in MVC using jquery with C#

24 July 2016 Sudhanshu Ranjan 4.46k

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.


Paging in MVC using C# with razor

19 July 2016 Sudhanshu Ranjan 6.45k

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.


Microsft online test question for Dotnet -2

10 July 2016 Sudhanshu Ranjan 1.97k

Microsft online test question for 2016 test.


What is the Difference between Overriding and overloading

10 July 2016 Sudhanshu Ranjan 2k

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.


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

06 July 2016 Sudhanshu Ranjan 1.54k

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


Difference between ref and out parameters with example.

01 July 2016 Sudhanshu Ranjan 1.37k

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.


the webpage cannot be found http 404 error. Fixed!

27 June 2016 Sudhanshu Ranjan 1.93k

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


How to reverse a String using C#

23 May 2016 Sudhanshu Ranjan 1.59k

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


Prevent Space of First letter in Text Box using Javascript.

17 May 2016 Sudhanshu Ranjan 2.63k

Please follow the below steps...more


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

17 May 2016 Sudhanshu Ranjan 6.81k

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


AutoComplete Textbox in ASP.net MVC using Jquery.

17 May 2016 Sudhanshu Ranjan 1.68k

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


What is Interface in C#? Explain

17 May 2016 Sudhanshu Ranjan 1.34k

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.


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

17 May 2016 Sudhanshu Ranjan 5.3k

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


Factorial Number Program in C#

17 May 2016 Sudhanshu Ranjan 1.57k

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


What is Prime Number? Print Prime Number using C#

17 May 2016 Sudhanshu Ranjan 1.29k

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


What is static Constructor? Explain.

17 May 2016 Sudhanshu Ranjan 1.2k

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


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-2019 dotnetcube.com. All rights reserved