String.Format()
string key = String.Format("TXT{0:000000}", keyvalue)
TXT000014
keyvalue
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)