Difference between ExecuteReader ExecuteScalar and ExecuteNonQuery
The ExecuteNonQuery, ExecuteScalar, and ExecuteReader functions of the SqlCommand class in ADO.Net will all be explained in this article. ExecuteNonQuery, ExecuteScalar, and ExecuteReader are the three...
View ArticleStatic Files (Images, CSS and JS files) in ASP.Net Core
I’ll demonstrate how to use static files (images, CSS, and JS files) with ASP.Net Core in this article using an example. Static assets, including image files, CSS files, and JavaScript JS files, do not...
View ArticleDisable HTML TextArea Resize in Chrome, FireFox and Safari using CSS
In this article, I’ll describe how to make browsers like Google Chrome, Mozilla Firefox, and Apple Safari incapable of allowing users to resize the HTML TextArea control. The answer to this issue is...
View ArticleASP.Net Core MVC: Client Side DropDownList validation using jQuery
I’ll demonstrate using an example how to use jQuery to do client side validation for DropDownList in ASP.Net Core MVC in this article. Model class and Data Annotation attributes will be used to execute...
View ArticleDifference Between DataReader, DataSet, DataAdapter and DataTable in C#
Four key parts of ADO.NET are DataReader, DataSet, DataAdapter, and DataTable. I’ll describe the distinctions between a DataReader, DataSet, DataAdapter, and DataTable in this blog post using C# code...
View ArticleCalling Select SQL Server Stored Procedures using ADO.Net
Here, I’ll go over how to use ADO.Net to invoke stored procedures that return data. Additionally, I’ll discuss how to link the outcomes to data-driven controls like GridView or DataGrid. Connection...
View ArticleImplement Cascading (Dependent) ListBox in ASP.Net
In this post, I’ll demonstrate how to use C# to construct a cascading (dependent) ListBox from a database in ASP.Net. Database I used the following three tables: Cities, States, and Countries, using...
View ArticleParameterized Queries ADO.Net
Parameterized Queries: Queries that use SQL parameters to pass values are known as parameterized queries. Benefits Parameterized Queries’ main advantage is its ability to safeguard databases from SQL...
View ArticleAutomatically send Birthday email using C#
In this article, I’ll demonstrate how to use C# to automatically send birthday emails every day at a specific time. A Windows Service will be established in order to automatically send Birthday emails...
View ArticleHow To Add Include External Font In Angular
To include an external font in an Angular project, you can follow these steps: 1. Find and download the desired font file (e.g., a .ttf or .woff file) or use a CDN link to the font. 2. Create a new...
View Article