Reg:Select Statement with row as Column

  • Hi,

    I Have two tables.

    Table1 has the following columns:

    TableID

    FieldID

    FieldName

    FieldValue

    DateAdded

    and Table2 has athe following Columns

    FieldID

    TableID

    Dataadded

    And I want to display Each FieldName as a Column name for Dridview control.How can i form SELECT Statement To Achieve this ?

    Thanks in advance

    sri

  • [font="Verdana"]Search for PIVOT in BOL.

    Mahesh[/font]

    MH-09-AM-8694

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply