Posts
Showing posts from 2022
GraphQL React
- Get link
- X
- Other Apps
TopicSubArea.tsx import { ApolloClient , gql , InMemoryCache , useQuery } from "@apollo/client" ; import { Delete , Edit } from "@mui/icons-material" ; import { Button , Dialog , DialogActions , DialogContent , DialogContentText , DialogTitle , FormControl , Grid , InputLabel , MenuItem , Select , TextField , Typography } from "@mui/material" ; import { AgGridReact } from "ag-grid-react" ; import React , { useEffect , useState } from "react" ; import apolloClient from "../../helpers/apolloclient.interceptor" ; import { useFormik } from "formik" ; const GET_TOPICSUBAREAS = gql ` query { topicSubArea { topicSubAreaId, topicSubAreaName, topicSubAreaDescription, abbreviation } } ` ; const GET_EVENTLIST = gql ` query { event { eventId eventName } } ` ; const TopicSubAre
VB.Net
- Get link
- X
- Other Apps
Imports System.Data.SqlClient Imports System.Configuration Public Class Form1 Private Sub btnInsert_Click(sender As Object, e As EventArgs) Handles btnInsert.Click Dim connectionString As String = ConfigurationManager.ConnectionStrings("MyConnectionString").ConnectionString Dim name As String = txtName.Text ' Assuming you have a TextBox named txtName for the name input Dim email As String = txtEmail.Text ' Assuming you have a TextBox named txtEmail for the email input Using connection As New SqlConnection(connectionString) connection.Open() Dim insertQuery As String = "INSERT INTO YourTable (Name, Email) VALUES (@Name, @Email)" ' Replace with your table and column names Using cmd As New SqlCommand(insertQuery, connection) cmd.Parameters.AddWithValue("@Name", name) cmd.Parameters.AddWithValue("@Email", email) Dim row
IQ
- Get link
- X
- Other Apps
Orsted Interview Questions Introduction Executive Summary Structure ● Name ● Graduated from, in what degree ● Total years of working experience ● Current role in what company ● What do you do at your current role ● Biggest strength ● Why are you looking out ● What interest you in this role To understand further about your experience ● Years of experience in Angular and .Net Core ● How many projects in Angular and .Net Core that are built from scratch? ● Could you explain about your current system design? (How does front end communicate with back end, how many layers of authentication, database used) ● How does the back end talk to the database? ● Are you familiar with Agile methodology? ● Are you involved in CI/CD? Devops? ● Where do you host your application? ● What do you do when you get stuck with a problem and you cannot solve it by yourself? ● Do you deal with stakeholders regularly? ● How do you explain technical requirements to non technical people? (Hint: Draw diagrams) Back
FileUploads
- Get link
- X
- Other Apps
import { AgGridReact } from 'ag-grid-react' ; import React , { useState , useRef , useEffect , useMemo , useCallback } from 'react' ; import { ApolloClient , gql , InMemoryCache } from "@apollo/client" import { Button , getTextFieldUtilityClass , Grid , Paper , Stack , styled } from '@mui/material' ; import ContentList from './ContentList' ; import FileDownloadCellRenderer from './FileDownloadCellRenderer' ; import FileUploadHistoryList from './FileUploadHistoryList' ; import MilestoneList from './MilestoneList' ; import Accordion from '@mui/material/Accordion' ; import AccordionDetails from '@mui/material/AccordionDetails' ; import AccordionSummary from '@mui/material/AccordionSummary' ; import Typography from '@mui/material/Typography' ; import ExpandMoreIcon from '@mui/icons-material/ExpandMore' ; import * as _ from 'underscore'