c How to read out the numbers in the textbook and assign values to the variables you define

Updated on technology 2024-02-09
11 answers
  1. Anonymous users2024-02-05

    It's textbox, right? textbook?

    double somedouble;

    if(!,out somedouble)

    Make a mistake. return;

    Here you can use the somedouble that was successfully converted.

  2. Anonymous users2024-02-04

    1. There are no errors in all the syntax, that is, the SQL statement is somewhat unprofessional.

    It is best to use such as; In addition, in parentheses, " should be used'Finally, you should judge whether the data is inserted successfully.

  3. Anonymous users2024-02-03

    sqlconnection con = new sqlconnection("server=;user id=sa;password=sa;database=students");

    Look at you. Either there is a problem with the IP address, or the password for this SA account is incorrect. You can try it again.

  4. Anonymous users2024-02-02

    You can't see anything wrong with this paragraph.,You have to debug it to see which step went wrong.,And then send the error** out to see.。。。

  5. Anonymous users2024-02-01

    Then you must not have logged in, and the SA user password is incorrect.

  6. Anonymous users2024-01-31

    There are no errors in the syntax, but the SQL statement is somewhat unprofessional.

    It is best to use such as; In addition, in parentheses, " should be used'Finally, you should judge whether the data is inserted successfully.

  7. Anonymous users2024-01-30

    The argument is in the constructor, and the load method cannot pass the argument.

  8. Anonymous users2024-01-29

    private void click(object sender, eventargs e).

    data source=;initial catalog=testdb;connect timeout=30;user=sa;pwd=")

    datatable dt = new datatable();

    dt = datatable)"select * from youtable", ;dt;

    /。Slow down the conversation... Which Jane.

  9. Anonymous users2024-01-28

    Set the keypress event of the textbox to be limited to the following **:p rivate void presskey time(object sender, keypresseventargs e).

    int16 asc = ;

    if (asc !=8 &&asc !=13)string keychar = ;

    string t_str1, t_str2, reg;

    textbox t = textbox)sender;

    t_str1 = ,

    t_str2 = +

    tryt_str1 +=keychar + t_str2;

    reg = d(:\d)$"

    if (!reg)) throw new exception("invalid!")

    true;Modify the regular expression of the black part can be made a variety of different restrictions, the above only limit the input format is 88:88:88, if you want to add the limit of the size of the input value, please modify the regular table by yourself.

  10. Anonymous users2024-01-27

    ;Set the controls to be public.

  11. Anonymous users2024-01-26

    Define a static class and static variables, such as:

    namespace client

    Other interface calls.

    namespace client

    Through the student number, you can SQL out the name and then pass it on.

Related questions
13 answers2024-02-09

You save the path in an XML and read it out the next time you start it.

27 answers2024-02-09

You can pass the main window as a parameter to a child window. >>>More

11 answers2024-02-09

In C++, vector is used as a container, and its function is to store variables of struct type. Here's how vector might be used: >>>More

16 answers2024-02-09

The position axis is zeroed.

Maya doesn't have this feature. >>>More