3729 2
How can I call base class constructor from derived class in C#?

I would like to know, suppose if I have inherited a Class A in Class B then How can I call the constructor of the base class(Class A) in C#?

...
Type
Question
3651 1
How to validate TinyMCE textarea in ASP.NET MVC?

How can i validate TinyMCE using asp.net MVC and razor? Currently, i was trying to validate it using Model validations but it is not working and not showing any errors even when TinyMCE textarea is blank, so how can i validate it? here is my javascript code

...
Type
Question
3603 0
Asynchronous programming in C# and ASP.NET MVC ( With example )
In this article, I have explained about the async-await keyword in C# and how to use asynchronous programming in c#, explained with console application sample.
Type
Article
3529 1
how to convert UTC time to Local using C#?

Hello, I would like to know how can I convert UTC datetime into local (user's pc) datetime in asp.net MVC razor page using C#?

I thought .ToLocalTime() should work, but I am not getting correct result.

...
Type
Question
3484 2
how to convert UTC DateTime to local datetime in C#?

I want method which returns the string datetime in target locale format by taking the UTC DateTime and UTC DateTime offset in c#, here is the example code

 

...
Type
Question


3440 0
Open and Read XML in C# (Examples using Linq, XMLReader, XMLDocument)
In this article, I have provided C# code to open and read XML file node using XMLReader or using Linq in Console application, with example of which one is fastest.
Type
Article
3437 2
How to convert JSON String into C# class object

I am trying to convert JSON object into C# class object, Using a really simple test case:

...
Type
Question
3410 1
How to get Current page number of IPagedList Razor View in MVC?

Hi, i would like to get page number of Current page in jQuery or in HTML of the Asp.net MVC PagedList.IPagedList.

...
Type
Question
3380 0
Converting String to Enum OR Enum to String in C#
In this article, I have explained with a console application example, how you can convert string to enum in C# OR Enum to string
Type
Article
3345 0
Barcode generator in C# ( and how to read barcode )
In this article, I have provided sample code, which you can use in C# MVC or Win-Form or any other C# app to generate barcode Type 128 / UPCA/ 11 and read barcode in C#.
Type
Article

Page 7 of 16