I am using the code below to convert my string which is in the format "dd/MM/yyyy" into datetime
...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.
...Hello, I am trying to call SignalR method from C# controller in asp.net MVC, but I am getting this error
Using a Hub instance not created by the HubPipeline is unsupported.
Here is the image of the error
...
Hello, I would like to know, How can I convert a positive number ( int type) to a negative number in C# and vice-versa ( negative to positive number using C#)?
...
I have a string with numbers in it, for example here is the string "121 testing your City", now, I would like to extract only "121" from the string, how can I do that using C#?
...When I am trying to decrypt the encrypted string using C#, I am getting an error as below
Here is the HTML Razor anchor link code clicking on which, I am trying to decrypt it
...In my MVC project, I am getting dropdown text data as "NoEffect", "FadeOut" etc, now I would like to show user as "No Effect", "Fade out" etc, show how can I achieve it using C#?
Any method would work, using regex or without using regex.
...