How To
How to convert string to datetime in SQL
11/16/2024 4:34:16 AM 47
To convert a string to a DATETIME type in SQL, you can use the CAST() or CONVERT() functions.
How to run powershell commands in C#
11/16/2024 2:53:30 AM 408
You can run PowerShell commands in c# by using the System.Management.Automation namespace, which provides classes for interacting with PowerShell from managed code.
How to convert timestamp to date in C#
11/16/2024 2:26:23 AM 64
In C#, to convert a timestamp to a DateTime object, you can use the DateTimeOffset or DateTime class.
How to get connection string from app.config in C#
11/15/2024 10:01:57 AM 66
To retrieve a connection string from the app.config file in C#, you can use the ConfigurationManager class.
How to hide “Showing 1 of N Entries” with jQuery datatables
11/15/2024 9:59:29 AM 464
To hide the "Showing # to # of # entries" message in jQuery DataTables, you can use CSS to hide the element containing this information.
How to upload file in ASP.NET MVC
11/15/2024 9:46:30 AM 43
To upload a file in an ASP.NET MVC application, you need to use the HttpPostedFileBase class to handle the file uploaded by the user.
How to retrieve the Executable Path in C#
11/15/2024 9:25:14 AM 349
In C#, you can retrieve the executable path of the current application using the System.Reflection namespace.
Server.MapPath in C#
11/15/2024 9:23:55 AM 49
In C#, the Server.MapPath method was commonly used in ASP.NET Web Forms to convert a virtual path to a physical file system path on the server.
Download backup of Northwind database for SQL Server
11/15/2024 9:19:41 AM 50
To get the Northwind sample database for SQL Server, you can follow one of the steps below.
How to export data to excel using AngularJS
11/15/2024 8:50:45 AM 448
To export data to an Excel file or download an Excel file using AngularJS and a C# Web API, you will typically follow these steps.
How to assign an ID to the search input using datatable.net
11/15/2024 8:39:32 AM 395
To assigns an ID to the global search input field of a DataTable when it gains focus, follow these steps.
How to convert binary to decimal in C#?
11/15/2024 8:25:11 AM 37
To convert a binary number to a decimal number in C#, you can manually process the binary digits, or you can use built-in methods like Convert.ToInt32 for a more straightforward approach.