Tag:Head office
-
Time:2021-2-8
Programming is a wonderful thing. Most of our time is actually spent copying and pasting, and then modifying the code. Most of the time, we don’t care about the code quality. As long as the function can be implemented, I don’t care how long the code of a class and a method is. As a […]
-
Time:2020-11-26
Sort 1, 2, 2, 2, 3, 4 with the following function: select row_ Number() over (order by field) from table name; 1、 row_number() Values: 1, 2, 2, 2, 3, 4 Sequence: 1, 2, 3, 4, 5, 6 2、rank() Values: 1, 2, 2, 2, 3, 4 Sequence: 1, 2, 2, 2, 5, 6 3、dense_rank() Values: 1, […]
-
Time:2020-8-21
Create table t_ Googs, insert a 7-line statement. CREATE TABLE T_GOOGS( GOODS_TYPE VARCHAR2(10), GOODS_NAME VARCHAR2(20), PRICE NUMBER(5) ); INSERT INTO T_ Googs values (‘mobile phone ‘,’ Huawei mate ‘, 2999); INSERT INTO T_ Googs values (‘mobile phone ‘,’ Apple iPhone ‘, 7999); INSERT INTO T_ Googs values (‘mobile phone ‘,’ millet ‘, 1999); INSERT INTO […]
-
Time:2020-2-17
The WinForm interface is as follows: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace form1 { public partial class Form1 : Form { List data = GetStudents(); public Form1() { InitializeComponent(); this.dataGridView1.DataSource = data; } public static List GetStudents() { return new List() { […]