Category: C# – Misc

C# Application using VS Code

You need C# Dev Kit. .Net Install Tools (.Net Runtime Install Tools), .Net SDK, and extensions that these extensions also depend on. Then >.net option will give you the project create, open, build or similar features – Check Image below) Having Visual Studio is the best option (and in Windows Environment under VM (Parallels or …

Continue reading

C# Interview Questions and Answers in Bengali

https://youtu.be/eWGWfpFGXvE

Basic database operations with c# select insert transaction stored procedure

https://youtu.be/-o46jQKS8G0

3rd part write c# tool to create html to pdf

https://youtu.be/LlYtJtiDu14

Misc C# – C Sharp Resources

Additional resources Dependency injection into views

A Simple ASP.Net Form in C#. Payment Information Collection Form #.Net Web Applications

Brought from our old site: http://salearningschool.com/displayArticle.php?table=Articles&articleID=1350&title=A%20Simple%20ASP.Net%20Form%20in%20C#.%20Payment%20Information%20Collection%20Form. A Simple ASP.Net Form in C#. Payment Information Collection Form. Such forms can be used to test payment processing API/Service before actually integrating. The input fields are to send data to the payment gateway. The response fields are to display response from payment gateway. Here, the output fields represent …

Continue reading

ASP.Net Validation Control Examples in C# #.Net Web Applications

Brought from: http://salearningschool.com/displayArticle.php?table=Articles&articleID=1325&title=ASP.Net%20Validation%20Control%20Examples%20in%20C#. ASP.Net Validation Control Examples. Just check the code below Some notes RequiredFieldValidator: is used to check that a field is filled up CompareValidator: Compare the value of a field with another field or data RangeValidator: Compares the data is within a given range RegularExpressionValidator: Domain name syntax, email addtress syntax ValidationSummary: Display …

Continue reading

Simple Ajax Applications in C# (ASP.Net) #.Net Web Applications

Brought from: http://salearningschool.com/displayArticle.php?table=Articles&articleID=1347&title=Simple%20Ajax%20Applications%20in%20C#%20(ASP.Net) Simple Ajax Applications in C# (ASP.Net) Note:asmx web-service might be more appropriate in some/many cases If you are coming from PHP or Java Platform where you use JavaScript or jQuery to provide Ajax functionality, you still can use those strategies in ASP.net to provide Ajax functionality Check our short note on Ajax …

Continue reading

Creating your own Classes in C# in ASP.net #.Net Web Applications

Brought from our old site: http://salearningschool.com/displayArticle.php?table=Articles&articleID=1348&title=Creating%20your%20own%20Class%20in%20C#%20in%20ASP.net Creating your own Class in C# in ASP.net It is kind of simple. You need to create a class library. The class library will create a dll file. From your project, you need to add reference to the dll file. Then you will be able to use the classes …

Continue reading

Random C# and MS SQl Server #.Net Web Applications

Brought from: http://salearningschool.com/displayArticle.php?table=Articles&articleID=1321&title=Random%20C#%20and%20MS%20SQl%20Server Foreign Key in Table Declaration CREATE TABLE ORDERS ( ID integer primary key, Order_Date datetime, Customer_ID integer references CUSTOMER(ID), Amount double ); ALTER TABLE ORDERS ADD FOREIGN KEY (customer_id) REFERENCES CUSTOMER(ID); Stored Procedure Example CREATE PROCEDURE [dbo].[procedure_name] @param1 VARCHAR(100) ,@param2 VARCHAR(200) OUTPUT AS BEGIN DECLARE @param3 VARCHAR(100) SET @param3 = ‘ ‘ …

Continue reading