Share via

Make Insert and Select in class.cs for Sql server

Javier R 211 Reputation points
2022-05-25T18:28:08.117+00:00
  1. How can I do the Insert and Select for Sql Server in class.cs.
  2. The question is: If it would be convenient to make two tables in the database. The first contains for example Name, Race so that this data comes out in a listview, when you click one of the options of the Listview you have to open a window with the complete data of the other table where it shows Name, Race Color etc. It is better a single table with all the data.for the same described at the beginning
Developer technologies | Universal Windows Platform (UWP)
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories


3 answers

Sort by: Most helpful
  1. Olaf Helper 47,621 Reputation points
    2022-06-02T06:14:10.06+00:00

    You provided that less on information and not even a single line of own code; under this circumstances it's impossible to assist you.

    Was this answer helpful?

    0 comments No comments

  2. Olaf Helper 47,621 Reputation points
    2022-06-01T05:57:12.94+00:00

    two tables in the database for one the data and another where other data is.

    Data in one table and data in an other table ... happens in databases (huh??).

    You didn't mentioned in any way what for data you mean, so it's impossible to assist you.

    Was this answer helpful?


  3. Olaf Helper 47,621 Reputation points
    2022-05-30T13:13:49.347+00:00

    You can execute SQL statements like INSERT using the SqlCommand Class, see examples in the article.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.