Posts

Showing posts from April, 2024

Endian

Image
ex)  When putting 16-bit numeric data consisting of 2 bytes into memory,     1. Put bytes into memory in array order. (Big Endian)     2. Put the lower byte into memory first (Little endian)   (Little endian)     Maybe)   The method of inserting the lower byte first is a method that is advantageous in terms of speed because when performing calculations, the lower byte used first is taken out of memory in order. (byte order is stored in reverse)   Nowadays, memory speed is much faster, so it doesn't mean much.   Intel CPUs use the lower-first method,   Big Endian is the standard in network communication.   In Intel computers, you must pay attention to Endian when handling data transmitted over the network.   The same applies when transmitting,         ______________________________________________________________________________   System Internals System Internals (developer edition)       ▪▪    

(C# Coding) DataSet & XML, Database Programming

C# & .Net Framework     What to do ?   To save the information as below, create a table with C# code and save it as a file (Xml file).     [Student]   ID   Name     Phone Number     0   ABC   000-111-2222     1   DEF   000-111-3333     2   GHI   000-111-4444                   ______________________________________________________________________________________________ 1. Creating Table in Memory and Configuring Fields    Create the table below using C# code and save it as an XML file   field name   Caption in XML File ID PK, Auto Increment   Attribute Name String Student Name Attribute HP String Phone Number                 First, declare the DataSet and DataTable variables.       public partial class Form1 : Form {   →      DataSet mDataSet = new DataSet ("DataSet"); →      DataTable mStudentTable = new DataTable ("Student");          Above, the name of the DataSet is "DataSet" and the name of the student table is "Student".   -> is Data