This question is locked. New answers and comments are not allowed.
I am using telerik RadGrid in which i am showing data like one column contain CARDNUMBERS like
1234567894560900024
1234567894560900125
when i export this grid to excel the last three characters get replaced with zeros as shown below.
1234567894560900000
1234567894560900000
In the code behind data assigning code in shown below:
var cardNumber = gridRow.GetDataKeyValue("CARDNUMBER").ToString();
var lblCardNumber = (Label)e.Item.FindControl("lblCardNumber");
lblCardNumber.Text = cardNumber ;where CARDNUMBER is database column name. its datatype is varchar in the database.