Month: October 2017

How to get the session value and show into view in asp.net Core?

How to get the session value and show into view in asp.net Core?

One way for this is:  Get the session value and store it to View Bag in the controller and then show the view bag value to the View. There are mainly two steps. In Controller, Firstly get the value of session to the view bag by writing these code 2. In the View, write following … Continue reading How to get the session value and show into view in asp.net Core?

Searchable Dropdown in SharePoint /ASP.NET

Md Rijwan Ansari's avatarRijwan Ansari's Blog

As we know that default dropdown list is not searchable. Simple way to create searchable in asp.net/SharePoint solution.

Problem:

01

Resolution: ( Converting simple dropdown list to searchable )

02

Add following CSS link in the page:


Add Following script link in page:

To change any dropdown list to searchable dropdown list:

Add “chosen-select” class to dropdown control.

Necessary css and js file: Download

More details: Click Here !!

View original post

How to Restore the deleted/quarantined items by Windows Defender?

How to Restore the deleted/quarantined items by Windows Defender?

Sometimes Windows Defender can detect your custom app, .exe file or other files as a threat and might have been deleted by the defender. If you want to restore it back here are some steps to follow. Steps: Open the Windows Defender, you can directly open by typing Windows Defender Security Center in the search. 2. … Continue reading How to Restore the deleted/quarantined items by Windows Defender?

SQL Server Interview Questions and Answers for Mid Level

SQL Server Interview Questions and Answers for Mid Level

1.Write the script to create Table. Answer: CREATE TABLE Test ( ID int, LastName varchar(255), FirstName varchar(255), Address varchar(100), ); 2. What is Primary Key Constraint? Answer: The PRIMARY KEY constraint uniquely identifies each record in a database table. It must contain unique values and must not contain null values. Most of the tables should … Continue reading SQL Server Interview Questions and Answers for Mid Level