We have many times scenario of converting Amount Numbers which are Rupees, Dollar, Pound, Euro or any currency into Words while we programmed. Today We will see the easiest logic of converting Amount numbers into words in C#,VB or Asp.net without using of any loop and recursive functionality.
This question has been asked many times in interview to candidate that find or fetch nth highest and lowest salary of an Employee like 2nd, 3rd, 4th, 5th… highest and lowest salary of an Employee from Employee table. This question some times also asked as get nth highest and lowest salary of an Employee without using TOP and sub query. Let’s see solutions for all this questions in this article.
In this article we will see how to load server side or remote data using select2 while we searched in textbox in our asp.net web forms. Select2 Provide built in functionality to use Ajax and Json/JsonP . Here we will see how to implement remote data in Select2 in asp.net web forms.
In this article we will see how to validate Asp.net MVC form using client and server side validation using Data Anotataion. Here we will use DataAnnotation’s different attribute like Required, RegularExpression, EmailAddress, StringLength, Range, MinLength, MaxLength, DataType.EmailAddress, DataType.Password etc.
TempData is used to pass data from Controller(Action) to Controller(Action) means one current request to subsequent request(from one page to another page). In this article we will discuss how to persist data with TempData using Keep and Peek method as well we will also see the difference between Keep and Peek method.
In Asp.net MVC we can pass data from controller to view and controller(action) to controller(action) in next request using ViewBag, ViewData and TempData but all these three properties have different meaning in different scenario. In this article we will discuss difference between ViewBag, ViewData and TempData in MVC and when to use these three properties.