| Author: Vivs 28 Apr 2008 | Member Level: Gold | Rating: Points: 2 |
Hi Johson If u don't want to use wizard then in source u write code.
|
| Author: parthaaa 28 Apr 2008 | Member Level: Silver | Rating: Points: 2 |
<asp:TemplateField HeaderText="Column Name" SortExpression="ColumnName"> <ItemStyle Width="10%"> <ItemTemplate> <asp:Label id="lblColumn1" text='<%"#DataBinder.Eval (Container,"DataItem.ColunName")%>' </ItemTemplate> </asp:Template>
You can use this if you are binding the columns manually.
|