Home > Net >  About c # read excel, cell in the excel is a random number
About c # read excel, cell in the excel is a random number

Time:10-08

Excuse me if the cell in the excel is randomly generated Numbers, while reading excel in c #, random number will change?
Now read the value of all is the same, how to don't open the excel can read to excel random number?

CodePudding user response:

1, read in the c # won't changed after
2, through the Random (). Next is a Random number

CodePudding user response:

Excel file is saved to disk, is permanent, how is the random number
Either you value originally, or read error

Don't open, can't read, office have ego to protect

Did you say use excel formula to generate numerical?

CodePudding user response:

If you have been successfully saved, after read this, will not change, because is already equivalent to has been saved

CodePudding user response:

Will not change, because excel has been saved in your local disk, unless you modify the operation on him, or he won't change
  •  Tags:  
  • C#
  • Related