You can generate your datagrid code with few clicks via using the wizard on the right hand side.
Static Data Web API Web Service