Index | Code2night.com

Latest Blog

Assignment To Merge Column And Rows In a table

To merge columns and rows in an HTML table, you can use the colspan and rowspan attributes within the or elements. These attributes allow you to span a cell across multiple columns (colspan) or rows (rowspan). Here's an example demonstrating how to merge cells in an HTML table:

Registration Form In HTML

Creating an HTML registration form entails the use of numerous form elements, such as text inputs, radio buttons, checkboxes, and buttons. Here's a simple HTML registration form example:

Method Overriding in Java

Overriding methods is a key idea in Java object-oriented programming. It enables a subclass to provide a particular implementation of a method defined in the superclass. When you override a method, you replace the superclass's inherited implementation with your own version in the subclass. This allows for polymorphism and dynamic method dispatch.

The report definition is not valid or is not supported by this version of reporting

Hello guys in this article we will see how to solve an exception when you try to use old rdlc report and make changes into that . You will see you will get an exception ReportProcessingException: The report definition is not valid. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition' which cannot be upgraded. We will see how to solve that.

String Buffer in Java

The String Buffer class in Java provides a modifiable sequence of characters. It is commonly used when you need to dynamically edit strings without continuously generating new objects.

Inheritance

Inheritance is the concept that is used for code reusability and changeability purpose.

Linked List In Java

In Java, the LinkedList class implements the List interface and provides a doubly-linked list data structure. It provides a versatile means of storing and manipulating a collection of items. A LinkedList, unlike an ArrayList, uses references to connect components rather than contiguous memory allocation.

Slick Slider

In this tutorial we’ll use slick Slider , A Slick Slider is a popular jQuery plugin, to build an attractive responsive image gallery. Slick.js is a well-known jQuery plugin created by Ken Wheeler that lets you build beautiful responsive carousels. so what I going to do is to create a custom slider one of my favorite slider is the slick slider. You can create a custom slider by following the steps below.

Introduction in C++

C++ is a powerful, high-level programming language that is widely used for developing a wide range of applications, from system software to video games and web applications. It was developed as an extension of the C programming language and introduced several features that make it a versatile and efficient language for software development.

Input/Output Statements in C++

In C++, input and output operations are commonly performed using the Standard Input/Output Library, which includes the <iostream> header. This library provides the 'cin' and 'cout' objects for reading input and displaying output, respectively.

While Loop

C# provides the while loop to repeatedly execute a block of code as long as the specified condition returns false. The while loop starts with the while keyword, and it must include a boolean conditional expression inside brackets that returns either true or false. It executes the code block until the specified conditional expression returns false. The condition is given in the beginning of the loop and all statements are executed till the given boolean condition satisfies when the condition becomes false, the control will be out from the while loop else It executes the code block until the specified conditional expression returns false.

How to use Jquery Datatables in asp.net

In this article, we'll walk through the process of creating an ASP.NET MVC application that displays a list of employees using jQuery DataTables. This powerful plugin provides advanced interaction controls to any HTML table, making it a great choice for displaying data in a user-friendly manner.So we will see how to use jquery datatables in asp.net

Call By Value

when a copy of the original value is passed to the function, then it is known as Call by value in C#

Array List

In Java, the ArrayList class implements the List interface as a resizable array. It offers dynamic arrays that can expand or contract in size as needed. ArrayLists are a component of the Java Collections Framework and provide a variety of methods for modifying the elements contained in them.

2-D Array in C

A two-dimensional (2D) array is an arrangement of items in C that are arranged in a grid and are individually identified by a pair of indices: a row index and a column index. A 2D array can be compared to a table or matrix that has rows and columns. A 2D array in C is declared, initialised, and used as follows:

NoSuchwindowException in Java

The NoSuchWindowException in Java is an exception that's thrown when a WebDriver (typically from a Selenium framework) tries to switch to a window that does not exist. This usually occurs in web automation scenarios when you're working with multiple browser windows or tabs

C# Regex Examples

The Regex class in C# is part of the System.Text.RegularExpressions namespace. It provides a way to work with regular expressions, allowing you to perform pattern matching and manipulation of text. Here are some common operations you can perform using the Regex class:

C# collection

For many applications, you want to create and manage groups of related objects. There are two ways to group objects: by creating arrays of objects, and by creating collections of objects. Arrays are most useful for creating and working with a fixed number of strongly typed objects. For information about arrays, see Arrays.

Control Statements in C

In C, control statements are used to control the flow of program execution based on certain conditions or loops. These statements allow you to make decisions and repeat actions in your code

How to implement Paypal in Asp.Net Webforms

Hello guys, we often want to integrate payment gateways in our Asp.Net applications. Some of the most popular payment gateways are payumoney,paypal,stripe and razorpay. We have already covered payumoney and stripe in our blogs. In this article we will see How to implement Paypal in Asp.Net Webforms.

Polymorphism

Polymorphism means many forms. This allows us to perform a single action in different ways.

Form Design In HTML

You can design forms in HTML that let users enter data and send it to a server for processing. You can create forms using a variety of form elements and HTML tags. Here's a simple illustration of how to make a straightforward form in HTML:

Implement Stripe Payment Gateway In ASP.NET MVC

This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET Core application built with C# and Web Forms. The application uses Checkout to accept credit cards from the end user and send tokens to a back-end API. The back-end controller uses the Stripe .NET library to create a charge. We are using latest version on Stripe.Net api in this. Check out complete steps to Implement Stripe Payment Gateway In ASP.NET Core

Implement JWT Token Authentication with Validate and Refresh Token in asp.net mvc

Hello guys in this article we will see how to implement JWT Token Authenticate with Validate Token and Refresh Token automatically . We will create one action filter attribute that will automatically validate all the request and if the token is expired it will refresh the token again.

Chapter 3 CSS (Define ID in CSS)

In HTML and CSS, an ID (identifier) is a unique attribute used to identify an individual element on a webpage. Each ID must be unique within the document, distinguishing one element from all others.

Parameterised constructor in java

A parameterized constructor in Java is a constructor that accepts one or more parameters when creating a class object. These parameters are used to set the values of the object's instance variables.

How to fix CWE-23 Path Traversal vulnerability (Snyk)

Hello guys, in this article we will see how to fix CWE-23 Path Traversal vulnerability Unsanitized input from an HTTP parameter flows into global::System.IO.Directory.CreateDirectory, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to create arbitrary directories when we scan our code with snyk.

java.lang.IndexOutOfBoundsException

The java.lang.IndexOutOfBoundsException is an exception class in Java that is thrown when an index used to access an array, list, or other collection is either negative or greater than or equal to the size of the collection. This usually indicates an attempt to access an element at an invalid index that does not exist in the collection.

Implicit wait V/s Explicit wait In Java

In Selenium WebDriver, both implicit wait and explicit wait are mechanisms to control the timing of interactions with web elements, especially when elements might not be immediately available due to various reasons such as dynamic content loading, AJAX requests, etc. Both techniques help in synchronizing your tests with the actual behavior of the web application.

Blogs

316

Views

971,582

Downloads

2511

Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.

3 Idiots