Hello world!
Csharpnet
by ankit.prj
2y ago
Welcome to WordPress. This is your first post. Edit or delete it, then start writing ..read more
Visit website
User Registration Step by Step in Asp.Net MVC – Part1
Csharpnet
by Ankit Prajapati
2y ago
Register user in ASP.NET MVC with SQL Server Step by Step Tutorial In this article we will perform User Registration and List all users to Dashboard in with form validation, I have used Visual Studio 2019 and SQL Server 2019. step 1 : Create Empty Asp.Net MVC Project ..read more
Visit website
‘System.Net.Http.HttpContent’ does not contain a definition for ‘ReadAsAsync’
Csharpnet
by Ankit Prajapati
3y ago
Error : System.Net.Http.HttpContent does not contain a definition for ReadAsAsync and no extension method Solution: Namespace for the method “ReadAsAsync” is System.Net.Http, and this namespace is available in System.Net.Http.Formatting Assembly. so please check for the reference of System.Net.Http.Formatting in References folder in Solution Explorer. If you are not able to found reference of System.Net.Http.Formatting in … ‘System.Net.Http.HttpContent’ does not contain a definition for ‘ReadAsAsync’ Read More ..read more
Visit website
How To Generate QR Code In C#
Csharpnet
by Ankit Prajapati
3y ago
In this article we will see how to generate QR code in C#, here we are going to use QRCoder library. to use this library Right click on project > Manage NuGet Packages and search for QRCoder you will find library as per below image. now take new winform and add PictureBox, textbox and Button … How To Generate QR Code In C# Read More » The post How To Generate QR Code In C# appeared first on Csharpnet ..read more
Visit website
DataTable already belongs to another DataSet
Csharpnet
by Ankit Prajapati
3y ago
The error “DataTable already belongs to another DataSet” usually occurs when we want to add DataTable into existing DataSet from another DataSet. lets see how to fix this error. Solution 1 : To add DataTable into DataSet1 from DataSet2 we need to remove DataTable from DataSet2 then add that DataTable into DataSet1. by this way … DataTable already belongs to another DataSet Read More » The post DataTable already belongs to another DataSet appeared first on Csharpnet ..read more
Visit website
‘System.Net.Http.HttpContent’ does not contain a definition for ‘ReadAsAsync’ and no extension method
Csharpnet
by Ankit Prajapati
3y ago
Problem : ‘System.Net.Http.HttpContent’ does not contain a definition for ‘ReadAsAsync’ and no extension method Solution: Namespace for the method “ReadAsAsync” is System.Net.Http, and this namespace is available in System.Net.Http.Formatting Assembly. so please check for the reference of System.Net.Http.Formatting in References folder in Solution Explorer. If you are not able to found reference of System.Net.Http.Formatting in … ‘System.Net.Http.HttpContent’ does not contain a definition for ‘ReadAsAsync’ and no extension method Read More » The post ‘System.Net.Http.HttpContent’ does not cont ..read more
Visit website
How to Bulk Update records in Entity Framework
Csharpnet
by Ankit Prajapati
3y ago
ExecuteSqlCommand() //Entity Framwork inbuilt method Syntax: db.Database.ExecuteSqlCommand("your query"); Example: string Department = "Development"; string query = string.Format("update employee set Department='{0}' where DateOfJoining > '2020-07-11'", Department); db.Database.ExecuteSqlCommand(query); jQuery Ajax Call in Asp.net MVC with Example Read More » The post How to Bulk Update records in Entity Framework appeared first on Csharpnet ..read more
Visit website
Submit a Form Using jQuery Ajax In Asp.Net MVC
Csharpnet
by Ankit Prajapati
3y ago
In this article we will see how to submit a form using jquery ajax in asp.net mvc using serialize form data as model with example. Html : Jquery : Register.cs HomeController: Output: The post Submit a Form Using jQuery Ajax In Asp.Net MVC appeared first on Csharpnet ..read more
Visit website
JQuery Ajax Call in Asp.net MVC with Example
Csharpnet
by Ankit Prajapati
3y ago
In this article we will see how to write jQuery Ajax Call in asp.net MVC with Example step by step. we will require jQuery library to use jQuery Ajax in asp.net MVC. Click here to download jQuery Output If you have any doubts you can write me in comments, I will try to help you … jQuery Ajax Call in Asp.net MVC with Example Read More » The post jQuery Ajax Call in Asp.net MVC with Example appeared first on Csharpnet ..read more
Visit website
Encryption And Decryption in c# with key
Csharpnet
by Ankit Prajapati
3y ago
In this article we will see how to Encrypt and Decrypt a string with a Secret Key in C# we are going to use Symmetric encryption to encrypt and decrypt a string, Symmetric encryption is a type of encryption where only one key (a secret key) is used to both encrypt and decrypt information. The entities communicating via symmetric encryption must exchange the key so that it … Encryption And Decryption in c# with key Read More » The post Encryption And Decryption in c# with key appeared first on Csharpnet ..read more
Visit website

Follow Csharpnet on FeedSpot

Continue with Google
Continue with Apple
OR