I need to convert this value to 8 digit format. (example : 1 --> 00000001).any help? here's my code
foreach(DataRow dr in _dsGridCsv.Tables[0].Rows)
{
byte empfrmat =byte.Parse(dr["emp_id"].ToString());
csv += empfrmat;
csv += "\r\n";
}