Sunday, 10 October 2021

angular material issues

 in angular materilal when i am binding data to the grid view that data value become null show
and getting error without any data grid showing error later handle it and
in the code ngafterviewint made the data null show 
data not binding properly i commented code in gatein dms project(datasourcevas)



to day i have old project with version 7 so when i install in new system getting errors

so i check node version in the old system

then downgrade means uninstaled nodejs installed old system nodejs version

after npm i my code working fine

so npm i depends on nodejs version also.


Saturday, 9 October 2021

create procedure snippet

 here how to create snippet of stored procedure in sql.

click here

Inserting Snippets

Insert Snippet menu allows you to choose a snippet from a categorized list of snippets.

Lets see how to use it step by step as shown below.

In your Query editor window, put the cursor where you want to insert the SQL snippet.

Next Press CTRL K + X.










Now, to generate a snippet for Stored Procedure, just double click on Stored Procedure snippet.










Thursday, 7 October 2021

vscode new changes

Welcome to the September 2021 release of Visual Studio Code check here. There are many updates in this version that we hope you will like, some of the key highlights include:

compare two array of objects javascript

 // IN THIS EXAMPLE WE HAVE GROUP INSERTS - DATA TO BE ADDED TO DB


// TO INSERT INTO DB EACH GROUP NAME MUST BE THE MATCHING ID

// CONATCT NAME MUST ALSO BE MATCHING ID

// THE CODE BELOW SHOWS HOW TO TRAVERSE THROGUH TWO ARRAYS AND COMPARE / ADD VALES

Monday, 4 October 2021

date formate

 calendar with date time format in dms angular project

here used owl date time picker.

sample link here

this also sample link

javascript date formate list Imp

 

const testCases = [ new Date().toLocaleDateString(), // 8/19/2020 new Date().toLocaleString(undefined, {year: 'numeric', month: '2-digit', day: '2-digit', weekday:"long", hour: '2-digit', hour12: false, minute:'2-digit', second:'2-digit'}), new Date().toLocaleDateString('en-US', {year: 'numeric', month: '2-digit', day: '2-digit'}), // 08/19/2020 (month and day with two digits) new Date().toLocaleDateString('en-ZA'), // 2020/08/19 (year/month/day) notice the different locale new Date().toLocaleDateString('en-CA'), // 2020-08-19 (year-month-day) notice the different locale new Date().toLocaleString("en-US", {timeZone: "America/New_York"}), // 8/19/2020, 9:29:51 AM. (date and time in a specific timezone) new Date().toLocaleString("en-US", {hour: '2-digit', hour12: false, timeZone: "America/New_York"}), // 09 (just the hour) ] for (const testData of testCases) { console.log(testData) } Output: 10/4/2021
Monday, 10/04/2021, 12:25:32
10/04/2021
2021/10/04
2021-10-04
10/4/2021, 2:55:32 AM
02

junior devops engnr

  Position Overview: We are a growing start up seeking a Junior Azure DevOps Engineer with 2 to 3 years of experience to support our Azure...