8925 0
Various star pattern program in c#
In this article, I have show example of various star pattern programs in C# with code and there output.
Type
Article
8807 2
how to convert httppostedfilebase to httppostedfile in C#?

How do I convert httppostedfilebase to httppostedfile in C#? Here is my demo code sinppet:

...
Type
Question
8727 1
How to create realtime video conference application using ASP.NET MVC?

I am developing online learning portal in ASP.NET MVC web-application and I want develop video conference featue inside web-app.

Please help me in creating this application, because I am new in web-development.

...
Type
Question
8656 0
Simple C# code examples with output (Console application example)
In this article, I have provided list of various examples of C# programs with output and explanation of basic code, which will help beginner or students to learn C# easily.
Type
Article
8565 0
Creating C# Custom Exception (With Console application example)
To provide clear error details to user and prevent app crashes, sometimes you may need to create custom exception in C#, so in this article I have explained how you can create custom exception in C#.
Type
Article


8457 1
MySQL Connection in C# (Console Application Example)
In this article, I have provided working sample to connect to MySQL in C# using Visual Studio with Console application example.Also , how to insert new row in MySQL database in C# and Visual Studio.
Type
Article
8443 1
LINQ to Entities does not recognize the method 'System.DateTime Parse(System.String)' method

I am getting an error "System.NotSupportedException: LINQ to Entities does not recognize the method 'System.DateTime Parse(System.String)' method and this method cannot be translated into a store expression." when trying to run below code in C# ASP.NET MVC

...
Type
Question
8325 2
The UPDATE statement conflicted with the FOREIGN KEY constraint

When I am trying to save Updated data in table using Entity Framework in ASP.NET MVC, I am getting the below error

...
Type
Question
8324 0
Read OR Write OR Modify Web.Config file using C#
In this article, I have explained and provided code to read, write or modify values from web.config file programmatically using C# code.
Type
Article
8249 1
How to make Group by in Linq work with possible null values, in C#?

I am trying to add List.GroupBy(a=>a.ProductType.Name).Select(a=>a.FirstOrDefault()), now here I can have null values for .ProductType or .name so how can I ignore null values in C#, so I can get proper results of GroupBy?

If I am using above query in C#, I am getting error

Object reference not set to an instance of an object

I tried to make it like List.GroupBy(a=>a.ProductType != null ? a.ProductType), but it doesn't work.

...
Type
Question

Page 7 of 23