CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS MICROSOFT ASP.NET 2.0 DETAILS
Question :
What tags do you need to add within the asp:datagrid tags to bind columns manually?


Category ASP.NET 2.0 Interview Questions
Rating (0.0) By 0 users
Added on 7/28/2006
Views 1041
Rate it!
Answers:

<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>





If you have the better answer, then send it to us. We will display your answer after the approval.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification  Enter the above shown code:*
Inform me about updated answers to this question

   
Related Questions
View Answer
What is an abstract class?

View Answer
Should validation (did the user enter a real date) occur server-side or client-side? Why?

View Answer
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component

View Answer
ColumnMapping belongs to which namespaces?

View Answer
What type of code (server or client) is found in a Code-Behind class?

View Answer
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?

View Answer
Which namespace is used to get assembly details?

View Answer
Explain the differences between Server-side and Client-side code?

View Answer
What is CLR? 2.1. Diff between CLR & CTS

View Answer
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?

View Answer

Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

Notify me when better answer is posted!
Email:

View ALL ASP.NET 2.0 Interview Questions

User Options
Sponsored Links


Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions
Page URL: http://www.coolinterview.com/interview/8800/default.asp?cachecommand=bypass


Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

0.89