It seems that it doesn't work:
<asp

ataGrid id="dgServerVariables" runat="server"
AutoGenerateColumns="False">
<AlternatingItemStyle BackColor="#F7F7F7"></AlternatingItemStyle>
<ItemStyle ForeColor="#4A3C8C" BackColor="#E7E7FF"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="#F7F7F7"
BackColor="#4A3C8C"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="Key" HeaderText="Key"></asp:BoundColumn>
<asp:BoundColumn DataField="Value" HeaderText="Value"></asp:BoundColumn>
</Columns>
</asp

ataGrid>
In code behind:
private void loadServerVariables() {
NameValueCollection coll;
// Load ServerVariable collection into NameValueCollection object.
coll = Request.ServerVariables;
dgServerVariables.DataSource = coll;
dgServerVariables.DataBind();
}
Then I get error:
A field or property with the name 'Key' was not found on the selected
datasource.