Repopulating and Reselecting same Row in DevExpress Grid
Hello guys in this tutorial we will see how you can select same row after rebinding or repopulating devexpress gridview.
Hello guys in this tutorial we will see how you can select same row after rebinding or repopulating devexpress gridview.
LINQ (Language Integrated Query) is a powerful tool in .NET that provides a unified way to query data from various data sources. When working with databases, LINQ can be used in conjunction with Entity Framework, a popular Object-Relational Mapping (ORM) framework, to simplify the process of mapping data to objects and querying the database.
When you need to manage strings efficiently in Java, you should utilise the StringBuilder class. Unlike the immutable String class, the StringBuilder class allows you to change the contents of a string without creating a new object each time.
Java Type Casting
In HTML, you can use external CSS (Cascading Style Sheets) to separate the style from the HTML content. This is achieved by creating a separate CSS file and linking it to your HTML document. Here are the steps to use external CSS in HTML:
Hello guys we often need to implement social logins in our web applications. And Linkedin Login has become one of the popular social login that is getting used widely now a days. So we will see how to integrate Linkedin Sign In using LinkedinLogin Nuget package in Asp-Net MVC.
In this article, we'll explore how to send calendar events via email using .ICS files in an ASP.NET application. We'll walk through the process step-by-step and explain the provided code snippet along the way.
Hello friends, as per being a .net developer we often have situations of Sending FCM Mobile Notification in Asp.net for Android. So we will see all steps for sending notifications on android for Asp.Net and also we will see how to get fcm server key.
Hello guys, sometimes while using asp.net web application we face need to read json data from json files and parse them in c# . So will see how to read json data from file and parse using Asp.Net.
In C++, classes are the building blocks of object-oriented programming (OOP). They serve as blueprints or templates for creating objects. Classes define the structure and behavior of objects, encapsulating data (attributes) and functions (methods) that operate on that data.
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:
Hello guys, considering the security of web applications and api's we often have to implement security tokens. Sometimes we use owin authentication and sometimes JWT Tokens. So in this article we will see how to implement JWT Token Authentication in ASP.NET MVC using JWT.
Hello guys often when working in Asp.Net core application , we sometimes need to schedule some process or task on regular interval. So we will see how to create task scheduler in Asp.Net core for recurring jobs.
There are two common objects in ADO.NET to read data, DataSet, and DataReader. C# DataSet and C# DataReader classes represent these objects. In this article, we'll learn about ADO.NET DataReader and how to use a DataReader in C#.
The do while loop statement executes a statement or a block of statements while a specified Boolean expression evaluates to true. Because that expression is evaluated after each execution of the loop, a do-while loop executes one or more times.The do while loop stops execution exits when a boolean condition evaluates to false. Because the while(condition) specified at the end of the block, it certainly executes the code block at least once.This differs from the while loop, which executes zero or more times. The do while loop is the same as while loop except that it executes the code block at least once
Changes link using CSS
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.
It is collection of character or char type array.
Shuffling an array means we want to randomly rearranging the list or an array.
LINQ (Language Integrated Query) is a feature in C# that allows us to perform queries against data sources, which can be arrays, collections, or any type of databases, using a SQL-like syntax. In this article, we will cover some basic concepts and functionalitites of LINQ and learn how to use it in your C# application
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.
This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET Core 8.0 application built with C# . 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 Integrate Stripe Payment Gateway In ASP.NET Core 8.0
Hello guys, in today's world we all want to integrate Social Logins like Google, Linkedin and Microsoft login into our applications. So we will see how to Integrate Linkedin Login in Asp.net MVC. We will you Linkedin Authentication in simple steps.
Collections means the process of which the objects are handled by your program.
Hello guys we often need to import csv file and load into datatable in asp.net mvc. So we will see how you can load datatable from csv file or how to import csv in asp.net mvc.
This article will guide you through creating an XML document from scratch, adding nodes, child nodes, and attributes. We will learn How to Create XML Documents in ASP.NET.
Hello guys, sometimes while working with Asp.Net application and mobile apps we often need to use Firebase database . So we will be using Firebase Database in Asp.Net web application.
Hello guys, now a days we often have to use web api's in our Asp.Net core projects. In this article we will see how to create web api in asp.net core. We will create HttpGet,HttpPut,HttpPost and HttpDelete api's and see how to test them.
Hello guys, sometimes we need to put validations on textboxes to accept certain type of data. For that purpose , we have to apply validation to stop backSlash on keypress and also on copy/paste. So we will see how to apply Input validation on keypress and copy paste using javascript.
Hello guys, sometimes while working with Devexpress tools you may have found one issue with dropdown when you use that on a popup. The items of dropdown gets overlapped by popup. We will see how to fix DevExpress Dropdown Items Overlapped by Popup.
Hello guys sometimes we have to get comments from our youtube channel and show on our websites. So in this tutorial we will let you know the steps of how to Get Channel comments using YouTube Data Api in Asp.Net.
How to create a table with fixed header and scrollable body
In this article, I will be explaining how an email can be send using ASP.NET with C#. I will be working on window forms of asp.net web application.I will be demonstrating how to use asp.net to build web application to send an email.
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:
Hello guys, now a days we always want to implement social logins in our web application . In this article we will learn how to implement Login With Microsoft in Asp.net.
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.
The String Joiner class in Java makes it easy to connect several strings with a defined delimiter. It is very useful for concatenating strings in a loop or dealing with string collections.
A dynamic array implementation that is a part of the Java Collections Framework is the Vector class in Java. It offers a resizable array that can expand or contract as necessary. Similar to ArrayLists, vectors are thread-safe for use in multi-threaded situations since they are synchronised.
Hello guys we often get CWE-91: XML Injection error when we scan our asp.net project using any security tools. So in this article we will see How to fix Xml Injection vulnerability in asp.net (CWE-91).
Hello guys, sometimes we need to import data from excel file in asp.net MVC using OLE DB. So we will use OLE DB Connection for that as that is really fast and effective while reading large excel files. You can check the steps on using that with asp.net MVC project.
The java.lang.IllegalStateException with the message "The driver executable does not exist" typically occurs in the context of automated testing using web automation frameworks such as Selenium WebDriver.
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.
you can import any package by this way; here I show you how to import java.util.list package
Hello guys, We often found ourself in the need of a realtime chat app . For two way communication in your webapp. We will see how to implement real time chat using SignalR with .Net core and Vue.js. SignalR is basically used for any sort of realtime functionalities. We will use .Net core for managing chathub . You can see complete steps in the article.
Hello guys, in this article we will learn how to reload vue js child component. Sometime we need to reset child components or just re-render them. There few ways to reset child components but for beginner and those who have just started with vue js it can become a tough task to understand the flow to reset child components. So we will see how to reload child component.
Image compression is a way of reducing the size of the images. compress your image in different formats PNG, JPEG, and GIF images. We will learn how to compress image using ImageCompress nuget package which you can download from nuget.
Hello guys , while using Asp.Net Application sometimes we need to save data without refreshing the page and still we need to submit the form. We can achieve that using Ajax beginform. We will see how to use Ajax Beginform in Asp.Net MVC.
In this article we will focus on implementing Globalization and localization in ASP.NET Core With Resource Files . We will be trying to implement culture in Asp.Net core 3.1.So if your are struggling in using you Asp.Net Resource Files in .net core have a look at the article in detail.
Hello guys, we often need to implement audio and video call functionality in our web applications. And for that purpose we have many third part libraries available. In this article we will see Audio and video call integration using Quickblox.
Method is a series of statements that together perform a task.
A control structure in C called a switch statement is used to make decisions based on the value of a variable or expression. It enables you to run a block of code connected to the first matching case after testing a variable against a set of values (cases). The switch statement's fundamental grammar is as follows:
The Java Collections Framework's LinkedHashSet is an implementation of the Set interface. It combines the advantages of LinkedList and HashSet. The order in which the elements were added to the set is the iteration order that the LinkedHashSet preserves. It offers constant-time performance for fundamental operations and disallows duplicate elements, just like HashSet.
Hello, readers, and welcome to Code2Night! In this blog post, we will focus on the latter and explore how to implement JWT Token Authentication in ASP.NET Core 7.0 Web api and .net core 7 web application. So we will see how we will generate jwt token and how we will verify the token using authorize attribute.
Hello guys sometimes while creating asp.net mvc web project. We often need to post files to the web api and the receive the files in the api. So we will see posting files to Web API in Asp.Net MVC.
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 refund payment using Paypal in Asp.Net MVC. For this we will use paypal sale api.
In this tutorial, you will learn how to create an Screen Recording with Audio using JavaScript MediaRecorder API
Innovation has become essential in today's digital-first economy. Artificial intelligence (AI) is being used more and more by businesses trying to stay competitive in order to boost productivity, improve customer satisfaction, and open up new growth prospects. However, realising AI's full potential necessitates more than experimenting with technology; it calls for the proper plan and skilful implementation. AI development services can help with that.
In this tutorial, we'll explore how to integrate the ChatGPT API into an ASP.NET MVC application. The ChatGPT API, provided by OpenAI, allows developers to interact with the powerful language model for various applications like chatbots, content generation, and more.
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 Core.
A NullPointerException is a runtime exception in Java that happens when you attempt to perform an operation on a null object reference. In other words, you're attempting to access a member (such as a method or field) of an object that hasn't yet been initialized, which results in a null reference.
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.
The org.openqa.selenium.SessionNotCreatedException is an exception that can occur when working with Selenium, a popular automation testing framework used for web application testing. This exception typically indicates that a new session (browser instance) could not be created due to various reasons.
Creating and displaying SSRS Report in ASP.NET MVC
In a production environment, securing your Swagger UI is essential to prevent unauthorized access. You can use authentication middleware to protect the Swagger UI endpoint. Below is an example of how you can configure authentication for Swagger UI in an ASP.NET Core application.
In this article we will see how to create slick slider with single slide. Slick slider is used for creating image carousal.
In this article we will see how to solve issue 'ConfigurationBuilder' does not contain a definition for 'SetBasePath' and no extension method 'SetBasePath' accepting a first argument of type 'ConfigurationBuilder' could be found (are you missing a using directive or an assembly reference? in .Net Core 3. We will see how to ready json files in .Net core 3.
Hello guys, in this article we will see how to create new branch and merge old branches into new branches on github. While working with many people on same projects we have to create different branches to manage code. We will see how to do that.
In the technologically driven era we live in, software engineering stands not just as a profession but as a dynamic and vibrant journey. This journey is filled with opportunities for continuous learning, growth, and professional advancement. For those who dare to delve into its intricacies and navigate its challenges, software engineering offers numerous routes to personal and professional development.
Converting commas or other delimiters to a Table or List in SQL Server
So basically in a MVC Project we often use many controllers for making our web project functional.So one way is to handle exception separately on all of them or we can simple use a Base Controller. A Base controller can be told as a parent controller from which all other controller will inherit.So in that way Exception handling performed on Base Controller will get applied on all controllers which inherits from this controller.
Creating tables in HTML is a way to display tabular data in a structured format. HTML provides several elements for building tables, including the,,, and elements.
Let’s explore how ServiceNow, particularly its IT Operations Management (ITOM) capabilities, drives efficiency, enhances productivity, and transforms the way businesses operate.
Often we want to export table data in pdf format using Asp.Net format. We will see how we can use itextsharp library and using that how to export table data in pdf using itextsharp in asp.net mvc
In this article we will learn some basics of how we can use Asynchronous Programming in C# . We will see some code examples for that.
Type conversions between classes in an inheritance hierarchy are referred to as "upcasting" and "downcasting" in Java. When working with polymorphism and inheritance, these conversions are frequently required. Let's look at both ideas:
Upload .bak file to plex server
Multiple rows to one comma separated value in Sql Server
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.
n JavaScript, flat() and flatMap() are array methods introduced in ECMAScript 2019 (ES10) that allow you to work with nested arrays in a concise manner. Let's explore each method:
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
Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.