Latest

.NET : How to save DataTable to Database Table using C#

Recently I wanted to save DataTable data into database. I assumed this would be easy using Entity Framework, but it turns out it is not, since DataTable consists of rows and columns while the Entity Framework deals with objects. Another way is to use ADO.NET by iterating through the rows in the DataTable and insert each row using SqlCommand and INSERT statement, but there is an easier way to accomplish this and that is by using SqlBulkCopy class, which is the focus of this article.

Read More

WordPress : How to hide / remove line numbers in Crayon Syntax Highlighter

Crayon Syntax Highlighter is a very popular highlight code plugin for WordPress. I use it for highlighting my code on this site. Recently, when writing a new article, I wanted to add highlighted code without line numbers and noticed, that unchecking the option “Display line numbers by default” to hide line numbers didn’t work at all. Fortunately, there is a workaround which is the topic of this article.

Read More

VS : How to create a JavaScript project in Visual Studio Community

JavaScript seems to be everywhere these days. Until now, I only used it when the need arose while doing front end web development, but recently, I wanted to learn the language properly. So the next question that popped in my mind was which IDE or editor to use that would have JavaScript auto complete / IntelliSense and debugging capability? I was already familiar with Visual Studio, so I wondered, if I can just use that for this purpose. It turns out that you can and this is the topic of this article.

Read More

Windows-10 : How to solve “This app has been blocked for your protection” problem

A while ago I made a clean install of Windows 10. Everything was working well until I tried to install an application software for the printer that was downloaded from an official Samsung Web Site. When I tried to run the installation file, I received an alert window telling me “This app has been blocked for your protection” and that publisher is not trusted. In this post, I will show you what else I tried and what finally worked for me.

Read More

YARPP : How to use custom templates to show related posts

Yet Another Related Posts Plugin or YARPP is a very popular WordPress related posts plugin. It supports different display options, the most interesting among them is support for custom templates. YARPP comes with built-in templates from which we can choose from, but we can add our own templates as well. This gives us ability to really customize the look for the YARPP related posts. This article will show how to activate custom templates, how to edit existing or create new ones and finally it will show some useful code snippets that can be used in them.

Read More

Web-Design : How to prevent Phone Numbers turning into links in Edge browser

Microsoft Edge browser for Windows 10 has many features, but one of them may cause problems. This feature overrides the original style of telephone numbers with its own style. It also automatically adds clickable links, sometimes even to data not representing phone numbers. I encountered this issue recently and this article will show the solution to the problem.

Read More

Email : How to solve SMTP error 553 received by senders to your email

A few days ago, my email on Outlook started to have issues. I was able to send emails just fine, but there was an issue with receiving emails. People were telling me the email they sent to me would bounce back, giving them “Mail delivery failed: returning message to sender” error. Testing it myself, it turned out that some emails were received successfully by my email client, but most of them were returned back showing that SMTP error 553. In this post, I will show you what I tried and what finally worked for me to solve this issue.

Read More

Share this page

Back to Top