In this blog we will learn Passing Data From Controller To View With ViewBag in MVC. For now, understand that, ViewBag is a mechanism to pass data from the controller to the view. Notes: To pass data from controller to a view, It’s always a good practice to use strongly typed view models instead of using ViewBag & ViewData. Write…
Category: Article
Trigger AJAX call on Button Click in ReactJS using ASP.Net Core
In this article i have explained with an example, Trigger AJAX call on Button Click in ReactJS using ASP.Net Core. Trigger AJAX call on Button Click in ReactJS using ASP.Net Core Configuring the JSON Serializer setting In The first step is to configure the JSON Serializer settings in the Startup.cs file. Open the Startup.cs class from the Solution Explorer window. Then inside the…
Show hide section dynamics 365 JavaScript
In this blog, we will learn about Show hide section dynamics 365 JavaScript. Show hide section dynamics 365 JavaScript Here I explain step by step How to Show and Hide Section Based on Option Set Field Using JavaScript In Microsoft Dynamic CRM. Step 1.Open your newly created Entity “ShowHideSection” and click on form.After that open Form Type “Main”.Looks like Screenshot.…
Submit Form using jQuery in ASP.Net MVC
In this article we will learn with an example, Submit Form using jQuery in ASP.Net MVC This article will explain how to Submit Form using jQuery in ASP.Net MVC. Controller The Controller consists of two Action methods. Action method for handling GET operation Inside this Action method, simply the View is returned. Action method for handling AJAX POST operation This…
Bihar board 10th result 2022
Bihar board 10th result 2022. BSEB Bihar Board 10th Result 2022 Date: बिहार स्कूल एजुकेशन बोर्ड (BSEB) ने बिहार बोर्ड 10वीं के नतीजों की तारीख का ऐलान कर दिया है. बोर्ड कल यानी गुरुवार को दोपहर एक बजे दसवीं के नतीजे जारी करने जा रहा है. Bihar board 10th result Click this link for 10th result 2022 जिन स्टूडेंट्स ने…
Show Hide Password with EYE Icon in TextBox using jQuery
In this article we will learn how to show hide Password using EYE Icon in TextBox with jQuery. The EYE Icon will be created using Font-Awesome Fonts and will be displayed next to TextBox. When the user will be clicked on EYE Icon, the TextBox will be toggled from Password TextBox to a Normal TextBox and vice versa respectively showing…
Program to check Number is Even or Odd in Java Program
In this article we will learn Program to check Number is Even or Odd in Java. Write this code for Program to check Number is Even or Odd in Java Program [php] import java.util.Scanner; class CheckNumberIsEvenOdd { public static void main(String args[]) { int number; Scanner sc=new Scanner(System.in); System.out.println("Enter an Integer number:"); //The input provided by user is stored in…
Factorial program in Java
In this article we will learn about Factorial program in Java. Factorial Program : The factorial of n is denoted by n! and calculated by the integer numbers from 1 to n. Example 5!=5*4*3*2*1=120 4! = 4*3*2*1=24 Factorial program in Java Find Factorial of a number using for loop. [php] import java.util.Scanner; class FacorialProgramExample { public static void main(String args[])…
Prime Number Program in Java
In this article we will learn how to find Prime Number Program in Java. Prime Number : Prime number is a number that is greater than 1 and divided by 1 or itself only. In simple words, prime numbers can’t be divided by other numbers than itself or 1. For example 2, 3, 5, 7, 11…. are the prime numbers.…
Delete a Cookie in ASP.Net MVC
In this article we will learn , how to Delete a Cookie in ASP.Net MVC. Cookies cannot be cleared, it can be made to expire by setting its Expiry Date to a Past Date in ASP.Net MVC. Home Controller The Home Controller have two Action methods. Action method for handling GET operation. Inside this Action method, first a check is…