C#.Net Archive

How to create(generate) pdf file from view(html) in asp.net mvc

In this tutorial i am going to explain about How to create(generate) pdf file from view(html) in asp.net mvc. In my previous tutorial i have explained about File upload example in asp.net mvc and razor Insert Update Delete(crud operations) in MVC 4 using Stored Procedure CRUD operations using Entity Framework Database First Approach and MVC

How to Upload file,image using jquery ajax in asp.net mvc and razor

In this tutorial i am going to explain about How to Upload file,image using jquery ajax in asp.net mvc and razor. In my previous tutorial i have explained about Insert Update Delete(crud operations) in MVC 4 using Stored Procedure CRUD operations using Entity Framework Database First Approach and MVC 4, CRUD operations using Entity Framework Code

How to create custom validation attribute in mvc 4

Introduction: In this tutorial i am going to explain about How to create custom validation attribute in mvc 4. In my previous tutorial i have explained about ASP.NET MVC client side validation using data annotations, ASP.Net Web Api Model Validation Using Validation Filters, How To Create Help Pages(Documents) For Asp.Net Web API, How to get/fetch data from ASP.Net WebAPI

Convert numbers to words (123 into one two three) in c#.net

Introduction: In this tutorial i am going to explain about how to convert numbers to words (123 into one two three) in c#.net. In my previous article i have explained about CRUD operations using Entity Framework Database First Approach and MVC 4, CRUD operations using Entity Framework Code First Approach and MVC 4, Asp.Net – How to Create

C# program to generate upper triangle matrix

Introduction: In this tutorial i am going to explain about how to generate upper triangle matrix in c#. In my previous example i have explained about Android runtime permissions with example, Show confirmation dialog on back pressed event in android and Create a new project in android studio Explanation: First of all to explain about how to generate upper triangle matrix

Compare Data Tables Using LINQ Union, Except and Intersect

In this post i am going to explain about how to compare two datatables using  Union, Except and Intersect LinQ operators. Process: 1. Create two datatable for holding the student records. One for holding students who enrolled for yoga class and another one is  students who enrolled for karate class. Below is the code. //Table contains

Asp.Net – How to Create Dynamic Pages & Url With C#.Net,VB.Net

In this tutorial i am going to explain how to create dynamic pages with unique urls for each page. Before proceeding to explain the process of creating dynamic page i would like to explain what is mean by dynamic page so that you will understand better.In the web page there are two type. 1.Static Page:A

Asp.Net Serialization & Deserialization with C#.Net and VB.Net

While sending data (objects) over the network the need for serialization arises. The reason is our network infrastructure and hardware understands bits and bytes but not the objects. In this tutorial i am going to explain how to serialize and deserialize data without using any third party libraries i.e. using Serialize() method in the JavaScriptSerializer()

Asp.Net DataTable Manipulation – Add, Update,Delete & Sort DataTable in C#.Net & VB.Net

In the asp.net developer’s life it is very common to come across the datatable manipulation. So here i have decided to explain the datatable manipulation like adding records to datatable, editing and updating datatable records,deleting records from datatable based on the condition and finally sorting datatable based on columns. Now before going to explain about

Binding One DropDownList Based On Another DropDown List | Cascading dropdownlist in ASP.Net C#.Net

In this tutorial I am going to explain about how to load the one drop down list using another or cascading drop down list in ASP.Net  and C#.Net. It is achieved by passing the selected value of the one dropdown list as parameter to another drop down list. Explanation: For explanation purpose I have created