-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Ambrose
Message 1 in Discussion

Hi All  I have the Columns in the Datagrid with that I want to add more columns. I am 
using the TemplateColumns as below. similarly I want to add more columns dynamically. 
Can anybody give me some idea or Link which will help me.   Thanks Anandraj 
<asp:templatecolumn ItemStyle-Wrap=False HeaderStyle-CssClass=clBPHead 
ItemStyle-Width=150 SortExpression="IntegerValue" ItemStyle-HorizontalAlign=Left 
HeaderText="Status" HeaderStyle-HorizontalAlign=Left>
      <HeaderTemplate>
      <!-- To Extend the width-->
      <table style=width:100%;height:100% border=0><tr><td class=clfont>
       <asp:LinkButton Width=100% Height=100% CssClass=clSorting OnCommand=Sort_Grid 
CommandName="Trade" runat=server>Trade
        <img id="TradeAsc" name="TradeAsc" src="../images/wc_arrowup.gif" 
style=display:none><img id="TradeDes" name="TradeDes" src="../images/wc_downarrow.gif" 
style=display:none>
       </asp:LinkButton>
      </td><td width=1 class=clcursor fWidth=150 colNum="2" 
onmousedown=mousedown(this)></td></tr></table>     
      </HeaderTemplate>
      <ItemTemplate>
       <nobr style=width:140;overflow:hidden>&nbsp;<%# 
DataBinder.Eval(Container.DataItem,"Trade")%></nobr>
      </ItemTemplate>
     </asp:TemplateColumn>

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to