I want to stylize a SPGridview as row-based. I can do it in ASP .Net as follows (this is sample code and doesn't have a meaning. I wrote here because of describing the problem clearly on programmer side):
<asp:GridView runat="server" ID="myGrid" AutoGenerateColumns="false">
<b>Position:</b> <%#Eval("Position") %><br />
<b>Gender</b> <%#Eval("Gender") %>
Of couse, Eval sections should match with SQL Columns names in query string. So I want to do same with Sharepoint Gridview. SPGridview supports item template too but the problem is how to bind data to Eval (or whatever in Sharepoint) sections.
This problem seems to you silly but there is a big text field in a SPList and I want to show it under title using a webpart. I tried views also but I think SharePoint has "Column-based" logic.
Do you have any suggestion?
View Complete Post