|
 |
aspx_beginners thread: How can I add a row to a data grid?
Message #1 by Tom Porter <tporter@e...> on Mon, 26 Feb 2001 09:33:05 -0500
|
|
Hello,
I was given a data grid to complete and I just wanted to add a simple header
row at the top of the data grid, anybody know how to do this. The reason I'm
asking is I can only see ways to add more columns to my grid but I want to
add another row at the top.
Thanks,
Tom
Message #2 by Slava Glushenkov <slava@g...> on Tue, 27 Feb 2001 14:49:32 +0200
|
|
Hello Tom,
Monday, February 26, 2001, 4:33:05 PM, you wrote:
TP> I was given a data grid to complete and I just wanted to add a simple header
TP> row at the top of the data grid, anybody know how to do this. The reason I'm
TP> asking is I can only see ways to add more columns to my grid but I want to
TP> add another row at the top.
You can add header row using this construction for each column:
<asp:TemplateColumn>
<template name="HeaderTemplate">
Here is column header text and asp .net controls
</template>
<template name="ItemTemplate" >
Here is column cells
</template>
</asp:TemplateColumn>
--
Best regards,
Slava mailto:slava@g...
|
|
 |