Click here to Skip to main content
11,433,486 members (59,531 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# HTML ASP:NET
I want a grid, every column look like this
<pre>
<table width="950" border="1">
  <tr>
    <td width="129" rowspan="4"><img src="help_clip_image020.jpg" width="130" height="126" /></td>
    <td width="702">Heading</td>
    <td width="97" rowspan="4"><form id="form1" name="form1" method="post" action="">
      <label>
      <input type="submit" name="Submit" value="Submit" />
        </label>
    </form>
    </td>
  </tr>
  <tr>
    <td>tittle1</td>
  </tr>
  <tr>
    <td height="35">Description1</td>
  </tr>
  <tr>
    <td>Description 2 </td>
  </tr>
</table>



More over the grid may be like this
<pre><table width="950" border="1">
  <tr>
    <td width="129" rowspan="4"><img src="help_clip_image020.jpg" width="130" height="126" /></td>
    <td width="702">Heading</td>
    <td width="97" rowspan="4"><form id="form1" name="form1" method="post" action="">
      <label>
      <input type="submit" name="Submit" value="Submit" />
        </label>
    </form>
    </td>
  </tr>
  <tr>
    <td>tittle1</td>
  </tr>
  <tr>
    <td height="35">Description1</td>
  </tr>
  <tr>
    <td>Description 2 </td>
  </tr>
</table>
<table width="950" border="1">
  <tr>
    <td width="129" rowspan="4"><img src="help_clip_image020.jpg" width="130" height="126" /></td>
    <td width="702">Heading</td>
    <td width="97" rowspan="4"><form id="form1" name="form1" method="post" action="">
      <label>
      <input type="submit" name="Submit" value="Submit" />
        </label>
    </form>
    </td>
  </tr>
  <tr>
    <td>tittle1</td>
  </tr>
  <tr>
    <td height="35">Description1</td>
  </tr>
  <tr>
    <td>Description 2 </td>
  </tr>
</table>
<table width="950" border="1">
  <tr>
    <td width="129" rowspan="4"><img src="help_clip_image020.jpg" width="130" height="126" /></td>
    <td width="702">Heading</td>
    <td width="97" rowspan="4"><form id="form1" name="form1" method="post" action="">
      <label>
      <input type="submit" name="Submit" value="Submit" />
        </label>
    </form>
    </td>
  </tr>
  <tr>
    <td>tittle1</td>
  </tr>
  <tr>
    <td height="35">Description1</td>
  </tr>
  <tr>
    <td>Description 2 </td>
  </tr>
</table>


is it possible in asp.net grid or using Telerik grid using language c#?
Posted 11-Oct-12 22:55pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Please find the solution below:

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" ShowHeader="False">
          <Columns>
              <asp:TemplateField>
                  <ItemTemplate>
                      <table width="950" border="1">
                          <tr>
                              <td width="129" rowspan="4">
                                  <img src="help_clip_image020.jpg" width="130" height="126" /></td>
                              <td width="702">
                                  Heading</td>
                          </tr>
                          <tr>
                              <td>
                                  tittle1</td>
                          </tr>
                          <tr>
                              <td height="35">
                                  Description1</td>
                          </tr>
                          <tr>
                              <td>
                                  Description 2
                              </td>
                          </tr>
                      </table>
                  </ItemTemplate>
              </asp:TemplateField>
              <asp:TemplateField>
                  <ItemTemplate>
                      <asp:Button ID="Button2" runat="server" Text="Button" />
                  </ItemTemplate>
              </asp:TemplateField>
          </Columns>
      </asp:GridView>

Thanks
  Permalink  

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



Advertise | Privacy | Mobile
Web03 | 2.8.150428.2 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100