Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,
In grid view control row style means i want display like below:

picture Firstname+Lastname
Mobilenumer

this output design please reply me

Design:
ASP.NET
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" GridLines="None">
<columns>
<asp:TemplateField HeaderText="Picture" SortExpression="Picture">
<edititemtemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Picture") %>'>
        </edititemtemplate>
        <itemtemplate>
<asp:Image ID="Image2" Height="80px" Width="80px" runat="server" ImageUrl='<%# Bind("Picture") %>'>

<asp:Label ID="Label1" runat="server" Text='<%# "<br />"+Eval("FirstName")+"<br />"+Eval
("LastName")%>'>
<asp:Label ID="Label2" runat="server" Text='<%# "<br />"+Eval("Mobilenumber")+"<br />"+Eval
("ResearchArea")%>'>
        </itemtemplate>
    
</columns>
Posted
v2
Comments
DamithSL 22-Oct-14 3:10am    
why there is android tag?
What is the issue?
Sinisa Hajnal 22-Oct-14 6:27am    
Seems you have everything set. What is the problem?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900