I create a GridView from code and bind it to data like this:
GridView myGridView1 = new GridView();
myGridView1.DataSource = db.T_Values.Select(x => new
{
x.TimeStamp,
x.Value,
x.Type
}).OrderBy(x => x.TimeStamp).ToList();
myGridView1.DataBind();
If the value is like 0,00000000123123 then GridView rounds this number. Is it possible to avoid that and display the full number?
You have to subscribe for gridview event OnRowDataBound. In this event you have make that value a string and assign it to some column instead of auto generate column if problem not solved