1

I have a page that has data as multiple rows, but I want this to be in one row with multiple "columns" instead. I want to use an asp:someElementX since my backend logic can stay the same (if possible)

The current state is:

data1
data2 
data3

My desired state is

data1 data2 data3

I currently use <asp:Table ID="Data" runat="server" /> what is the equivilent to asp:Table for what I am looking for?

2
  • You mean like pivot? Commented Aug 25, 2017 at 7:29
  • GridView is like this. Commented Aug 26, 2017 at 14:47

1 Answer 1

1

Have you tried...

<asp:TableRow>
    <asp:TableCell
        ...
        ...
    >
    <asp:TableCell
        ...
        ...
    >
    <asp:TableCell
        ...
        ...
    >
</asp:TableRow>

Should be possible to implement with your back end logic.

See https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.tablerow.aspx for code examples.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.