The data type of the ASP and how the ASP determines the data type

Updated on technology 2024-03-31
11 answers
  1. Anonymous users2024-02-07

    I think the data type of asp should be the data type of vb.

    For details, please refer to the VB data.

    Who says it's all copy data types are dead, and you can make new tricks without copying?

    If you want to know, I'll give you a copy, if you don't want a copy, forget it.

  2. Anonymous users2024-02-06

    isnumeric(str) returns a boolean value indicating whether the value of the expression is a number or not. You can tell if it's a number or not.

    isdate(str) returns a boolean value indicating whether an expression can be converted to a date. The date can be judged.

    Isnull(str) returns a boolean value indicating whether the expression does not contain any valid data (null). can be judged null

    These are the three most commonly used.

  3. Anonymous users2024-02-05

    The values received are all string-shaped. Even if it's all numbers, it's a string.

    You can use the function isnumeric (variable name) to determine if it is a number.

  4. Anonymous users2024-02-04

    Is it so troublesome.

    typename("textname"))

    The typename function returns the type name of the variable.

  5. Anonymous users2024-02-03

    Change it to sql = insert into tkc stockinfo(fstockno,fquantity,fwarningquantity)values('"Be cautious &stockno&"'quantity&"Deficit,"&warningquantity&")

    SQL on the line.

  6. Anonymous users2024-02-02

    Variables that are numeric should not be single-quoted. Remove the single quotation marks from the last two in values().

  7. Anonymous users2024-02-01

    Single quotation marks are removed from the numeric type.

  8. Anonymous users2024-01-31

    ASP uses vbscript programming, this is a scripting language, it is a weakly typed language, so there is no type at all, as long as it is declared with a dim statement, it can be used, or even it can be used directly without declaring, such as:

    dim username

    username="username")

  9. Anonymous users2024-01-30

    vbscript has only one data variant, but it is divided into many subtypes.

    To put it bluntly, a variable can be a number for a while, and it can be changed to a character for a while, unlike the definition of double in C language, which can only put numbers.

  10. Anonymous users2024-01-29

    You're not clear, there's no such thing as a text box in VB. If the two fields you say are numeric types, then you use asc() to convert to an ascii value, and then use chr() to convert the output when out, but I always feel that the way you quote here is wrong, I look at what you said Jiage, huafei is a variable, and the variable that reads the text box is to be used"The name of the text box") to read.

    You didn't explain the problem clearly, and you don't know what the wrong way is

  11. Anonymous users2024-01-28

    ASP is a weakly typed language, so it doesn't need to be explicitly converted. There are several functions that generally transform types.

    The cbool function returns an expression that has been converted to a variant of the Boolean subtype.

    The cbyte function returns an expression that has been converted to a variant of a byte subtype.

    The ccur function returns an expression that has been converted to a variant of a currency subtype.

    The cdate function returns an expression that has been converted to a variant of a date subtype.

    The cdbl function returns an expression that has been converted to a variant of a double subtype.

    The CHR function returns the characters associated with the specified ANSI character code.

    The cint function returns an expression that has been converted to a variant of the integer subtype.

    The clng function returns an expression that has been converted to a variant of the long subtype.

Related questions
10 answers2024-03-31

select * from table name where lab='101'and name='Sulfuric acid', don't know your table structure, so to give you the simplest select, you can talk about your table structure.

12 answers2024-03-31

In order, remember to turn it off when you are finished.

6 answers2024-03-31

1.The decimal system of 15 can be represented as 4 as 4 bits'B1111 (binary), 4'd15 (decimal), or 4'hf (hexadecimal).That is, it should correspond to the base system. >>>More

3 answers2024-03-31

ASP is an abbreviation for ActiveServerPage, which means "Active Server Web Page". ASP is an application developed by Microsoft to replace CGI scripting programs, which can interact with databases and other programs, and is a simple and convenient programming tool. The format of the asp web page file is: >>>More

13 answers2024-03-31

Is it specific, how to make a two-column method?

If you want to extract 1-8 pieces of data and 9-16 pieces of data, you can write SQL ** as follows. >>>More