Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- id code
- 10 5987
- 11 34567
- 12 242
- 13 43244
- id=reader["id"]== DBNull.Value?string.Empty:Convert.ToString(reader["id"]);
- while ( id.Length<15)
- {
- id= " " +id;
- }
- code =reader["code"]== DBNull.Value?string.Empty:Convert.ToString(reader["code"]);
- while ( code.Length<10)
- {
- code = "0" +code;
- }
Add Comment
Please, Sign In to add comment