Quantcast
Browsing all 54 articles
Browse latest View live

VS 2017 add setup project type

Install this file as administrator and you will see the setup project type.

View Article


Image may be NSFW.
Clik here to view.

Winform – Override textbox to show sample text and clear on click

Winform watermark text on textbox:   public string initTextClient = “Client”; public bool editedClient; public SelectMatterClient() { InitializeComponent(); txtClient.Text = initTextClient;...

View Article


Image may be NSFW.
Clik here to view.

Setup Angular 2 Environment in a NEW Computer

Video tutorial: https://www.youtube.com/watch?v=H9iK2Eib85E Check which version of OS you have by start–>run–>msinfo32 Download & install 64 bit Node from https://nodejs.org/en/download/...

View Article

ADD TFS in VS Code

View Article

3 layer architecture of Angular Project

Layer 1: WebUI (Angular) https://monirblog.wordpress.com/2018/08/29/setup-angular-2-environment-in-a-new-computer/  Layer 2: ASP.NET Web API Service...

View Article


Image may be NSFW.
Clik here to view.

Data Access Layer

1. 2. Delete Class.cs 3. 4. 5. select DB, table and views you want to add. 6. Add reference to this project from WEB API Service project 7. Add a Web API 2 Controller – Empty 8. Add DataAccess...

View Article

The type ‘System.Data.Entity.DbContext’ is defined in an assembly that is not...

Go to Tools » NuGet Package Manager » Manage NuGet Packages For Solution. Ensure that Browse is selected and type “entityframework” into the search box. and install the entity framework Check if its...

View Article

Image may be NSFW.
Clik here to view.

Angular CLI New Project and Component

Creating New Project Options: Details Here 2. If you see the project did not created the templete as seperate html file, open angular.json file and setup these 2 line to false like this: “schematics”:...

View Article


How to skip one item in a loop then take the rest of a sequence

foreach (var item in list.Skip(1))

View Article


Cannot resolve the collation conflict between “Latin1_General_CS_AS” and...

If this error happens in join, use this solution:   SELECT * FROM Table1 LEFT OUTER JOIN Table2 ON Table2.ID = Table1.ID collate SQL_Latin1_General_CP1_CI_AS

View Article

DELETE TEMP TABLE

IF OBJECT_ID(‘tempdb..#TEMP_AP_INVOICE’) IS NOT NULL DROP TABLE #TEMP_AP_INVOICE Advertisements

View Article

Check SQL Lock

SELECT s.session_id AS 'SessionId', s.login_name AS 'Login', COALESCE(s.host_name, c.client_net_address) AS 'Host', s.program_name AS 'Application', t.task_state AS 'TaskState', r.start_time AS...

View Article

Image may be NSFW.
Clik here to view.

TD Ameritrade API Access – 2019 Guide

Reference: https://www.reddit.com/r/algotrading/comments/c81vzq/td_ameritrade_api_access_2019_guide/ I’ve noticed many MANY people banging their heads against the wall trying to access the TD...

View Article


Image may be NSFW.
Clik here to view.

C# winform check every 30 mins for log in session

In the Solution Explorer right-click the project and select Properties. Go to the “Settings” tab and create a “SettingInterval”. Make the type “int” for the SettingInterval. public...

View Article
Browsing all 54 articles
Browse latest View live