GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0
Go To First  |  Previous Question  |  Next Question 
 ASP.NET 2.0  |  Question 70 of 161    Print  
What tags do you need to add within the asp:datagrid tags to bind columns manually?

  
Total Answers and Comments: 4 Last Update: March 28, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 18, 2005 03:08:24   #1  
ramesh        

RE: What tags do you need to add within the asp:datagrid tags to bind columns manually?
boundcolumn
 
Is this answer useful? Yes | No
October 20, 2005 22:43:46   #2  
Phyo        

RE: What tags do you need to add within the asp:datagr...
We can simply add as the following example ' />
 
Is this answer useful? Yes | No
March 08, 2006 05:03:58   #3  
praveen_kunwar Member Since: March 2006   Contribution: 8    

RE: What tags do you need to add within the asp:datagr...
AutoGenerateColumns False

 
Is this answer useful? Yes | No
March 28, 2006 02:25:01   #4  
m_adnan_khan Member Since: December 2005   Contribution: 1    

RE: What tags do you need to add within the asp:datagr...
<asp:datagrid id DataGrid1 runat server CssClass content AutoGenerateColumns False AllowSorting False
AllowPaging True PageSize 25 >
<AlternatingItemStyle CssClass GridAlternateItem ></AlternatingItemStyle>
<ItemStyle CssClass GridItem ></ItemStyle>
<HeaderStyle CssClass GridHeader ></HeaderStyle>
<Columns>
<asp:BoundColumn DataField formid SortExpression formid HeaderText Form Id Visible False ></asp:BoundColumn>
<asp:BoundColumn DataField accounttitle SortExpression accounttitle HeaderText Customer Name             ></asp:BoundColumn>
<asp:BoundColumn DataField CreatedOn SortExpression CreatedOn HeaderText Step-1 Date               ></asp:BoundColumn>
<asp:BoundColumn DataField email SortExpression email HeaderText Email Address    ></asp:BoundColumn>
<asp:TemplateColumn>
<ItemTemplate>
<asp:Button id btnEmail Runat server Text Email CommandName email ></asp:Button>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle Font-Size XX-Small Font-Names Arial Black HorizontalAlign Left ForeColor #000066
BackColor White CssClass abc Mode NumericPages ></PagerStyle>
</asp:datagrid>

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape