Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good Day All

I have two textboxes that hold Fee and Tax percentage , The values are almost
static. Is there away to set the textboxes value to table valed defualt value.

Regards

What I have tried:

i have not tried any thing because I have no clue.
Posted
Updated 21-Jan-20 0:11am

 
Share this answer
 
The way I'd do it is the other way round: create a table in yoru DB which can hold the values, and link the textboxes to that or load the textboxes from that. Then add an option to update the DB from the App. In fact, I wouldn't use textboxes for "non-often-changing" values anyway, I'd use a label instead (with a "Change" button or an option in the application settings).
 
Share this answer
 
The default must be specified when the column is defined. How else could the SQL engine know where to find it?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900