You will always have the same width and Height image in the Gridview and datalist
<columns>
<asp:templatefield xmlns:asp="#unknown">
<itemtemplate>
<img src="images\<%Eval(" imagepath=")%>" height="200px" width="300px" />
</itemtemplate>
<asp:templatefield>
</asp:templatefield></asp:templatefield></columns>