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
...Hello
based on this
I create my data and I store them in a datatable.
Now I have another datatable which I fill it from my database.
I need to remove the duplicates from the first datatable and fill a datagridview.
This is what I have so far
...Hello, I would like to know, how I can disable HTML form input field auto-complete, done by chrome and other majore browsers.
Thanks
...Hi,
Facebook docs give this javascript code as shown below for oAuth login re-request
...Hi, I'm adding a new class in my asp.net core 2 project and this class is mapped to one of the table in database, I want to use migrations to create the table from my model,
So I was running this command as shown below in the image:
...
I am looking for a solution to set a project as start-up project in Visual Studio code, like in Visual Studio 2015/2017 or in any other recent version, I right click a project within solution explorer and set it as startup.
However, I am not able to do that in VS Code. So, how can I accomplish that in VS Code? Thanks.
...Hi, I have created an app at Facebook developer page and configured that with my Identity server application URL. Identity server4 application is built in asp.net core.
When user enter the website and tries to connect it using his/her Facebook account, then my app created under Facebook developer ask him the permission to allow the app to receive her information like email adress, age, etc, when user cancelled the permission he is redirected to page "Account/Login" I have followed the steps in this link : https://qawithexperts.com/questions/387/access-denied-when-permission-of-app-to-my-application-is-de
...
I would like to know a sql query to find all missing dates between two dates , suppose my sql table is as below
ID |
Date |
1 |
2018-1-10 |
2 |
2018-1-12 |
3 |
2018-1-13 |
4 |
2018-1-15 |
5 |
2018-1-17 |
6 |
2018-1-18 |
7 |
2018-1-20 |
8 |
2018-1-21 |
I need to run sql query which will return missing dates from date column like ‘2018-1-11’ , ‘2018-1-14’.
...
Hi, I want to build and clean my project solution in visual studio code, but I can't find the option of clean and build in visual studio code, like we clean the project by clicking right project and click on "Clean" or "Build" in Visual Studio.
How can I do the same thing in visual studio code. Thanks.
...Hi, I'm using visual studio code to develop a web site using asp.net core 2. when I debug the project the default page is set as : https://localhost:xxxx
I want to set my page : "Account/Login" as my website's default page .
means when I debug the project the first screen should appear will this : https://localhost:xxxx/Account/Login
how can I do that?
Thanks
...