Home > Net > C # client server program received data, how to find qualified in the MYSQL database records
C # client server program received data, how to find qualified in the MYSQL database records
Time:11-06
Database has three fields, field 1, 2, the field 3
The client to the server transfer [1] field values (X1), after the server receives in the database to find records of qualified field 1=X1,
Excuse me: , after find out how to record the field values of 2 and the value of the field 3 read it out?
CodePudding user response:
The select field 1, field 2, 3 from table where field 1=X1
CodePudding user response:
Direct use of SQL queries, similar to the following: The Select field 1, 2, the field 3 * From your table name fields Where 1='X1' As for the specific how to implement, see ADO.Net related knowledge,