12424 3
How to convert byte[] array to string and Vice versa in C#?

Hello, I would like to know how to convert byte[] array to string and string to byte[] array in C#, using the best possible method, I know there are several links and methods available on the internet but I would like to know best and easy method for this, thanks.

...
Type
Question
12972 5
How to convert png image to jpg with white background in C#?

How to convert png image to jpg with white background using C# or jQuery ?

...
Type
Question
14842 2
How to convert HTML text into plain text using C#?

I have a requirement in which I need to render/display plain text from HTML content, so I would like to know how can I do it using C#?

For example, below is my HTML code

...
Type
Question
14466 2
Error "Maximum request length exceeded" in ASP.NET MVC

When I am trying to upload a pdf file(10 MB) using javascript file upload in my ASP.NET MVC application, I am getting this error as below

Maximum request length exceeded

Here is the image of the error

...

Type
Question
10621 3
How to create Excel file using C# without Microsoft office & interop?

Hello, I would like to know how can I generate excel file in my C# project without installing Microsoft Excel/office or interop on server?Can you please provide me step by step guide or easy tutorial links, anything will work, thanks.

...
Type
Question


8611 3
How to remove server headers from IIS in ASP.NET MVC easily, need step by step guide?

How do I remove unnecessary HTTP Headers in IIS and ASP.NET application simply, please provide me step by step tutorial for improving security in this area?

I have already googled this and found few solutions but I need an easy tutorial, which can guide me to remove all unnecessary HTTP Headers from Response.

Any link or step by step guide will work.

...
Type
Question
4084 1
How to search a string from comma separated string in C#?

Suppose, I have a string like "abc, xyz, abc, efd", now I need to search "abc" from the comma separated string, how to check if it is inside the string or not.

If possible, I would like to know the solution in Linq, thanks

...
Type
Question
10157 2
How can I call base class constructor from derived class in C#?

I would like to know, suppose if I have inherited a Class A in Class B then How can I call the constructor of the base class(Class A) in C#?

...
Type
Question
7983 3
how to convert datetime from one timezone to another in C#?

I am working on a C# project in which user can change datetime column time zone using its profile page. For example, when I log in into the system, I can change default time zone (PST) to Indian standard time(IST) after doing all the column of date time should show time-related to IST time zone.

Basically, we are saving all the datetime value in the database as PST time zone, now based on user-selected time zone I need to show datetime.

So I would like to convert my PST datetime (8/16/2016 12:56 PM) to IST or any other timezone selected by user dynamically using C#.

How can I convert datetime from PST to any time zone using C#?

...
Type
Question
2550 2
Show correct message based on entering URL in C#

If user entering url across multiple country wise, if url exists message should come like : facebook.com exists in DE,IN. Here is the current code

...
Type
Question

Page 18 of 24