3885 2
How to send mail from Domain server in Asp.net c#?

How to send mail from Domain server in Asp.net c#?

...
Type
Question
3849 1
how to get the Url of page which called Application_Error in ASP.NET

How can i get the url from where the error was originated and Application_Error was called inAsp.NET MVC C#, i have followed this link https://qawithexperts.com/questions/13/how-to-catch-all-error-in-c-mvc-error-handling , with the help of which i was able to catch all type of errors(404,500,any other) in MVC web-application but i am not able to get the original requested ur, because of which Application_Error was called.

How can i get the url, any idea?

 

...
Type
Question
3846 2
Compare System Time with database time only (not datetime)

I need to compare a time in a table with the current system time and need to pop up a notification. But how can I compare both? here is my code and DB:

...
Type
Question
3700 1
How to check if File exists in C#? (Inside folder)

I am trying to download a file from a url, and there are many files, but I don't want to download files that already exists in my drive. So I want to implement to check if file already exists in a folder using C#?

...
Type
Question
3692 0
Extract Text from image in C# using Tesseract
In this article, I have provided a console application example to extract text from image in c# using Tesseract OCR in .NET
Type
Article


3569 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
3561 2
Error : Operator '-' cannot be applied to operands of type 'int[]' and 'int[]'

Hi,I am using C# 3-D arrays program and getting error "Operator '-' cannot be applied to operands of type 'int[]' and 'int[]'", how I can resolve this error my current code is as below :

...
Type
Question
3546 2
How to delete a file, after checking if it exists or not using C#?

I would like to know, how can I delete a file, after checking if it exists on the hard disk, if yes, then delete it, using C# in asp.net?

Thanks

...
Type
Question
3453 1
how to catch all error in C# MVC (error handling)

I have a website in C# MVC and I want to add a feature to it, i.e, to save all the errors in database using one function only, I can place try/catch block in every method of the web applications but it would be lengthy process, so is it possible to place a method/code in one place from where I can save each and every error in database??
I have no idea

 

 

...
Type
Question
3439 0
Creating a PDF file from HTML file in C# using IronPDF
This is a complete beginner's guide on how to create a pdf file from an HTML file in C#, Step by Step guide using IronPDF.
Type
Article

Page 14 of 23