GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Microsoft  >  DataGrid
Go To First  |  Previous Question  |  
 DataGrid  |  Question 14 of 14    Print  
how to add controls in datagrid

  
Total Answers and Comments: 3 Last Update: November 24, 2008     Asked by: kbs.shohaib 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 15, 2008 01:48:42   #1  
anjani Member Since: November 2005   Contribution: 2    

RE: how to add controls in datagrid
hi
 
To add the controls in datagrid right click on the data grid it shows the smart tag from which u select the edit column then a window appears in which certain fields r there like:

1. BoundField
2. CheckBoxField
3. HyperlinkField
4. ImageField
5. ButtonField
6. CommandField
7. TemplateField

select any of the field according to ur proj req like if u select the BoundField the it will add the "Button" in the Row in the same way u can add other controls by using these fields.

 
Is this answer useful? Yes | No
September 04, 2008 07:18:36   #2  
Dipali Shah Member Since: August 2008   Contribution: 3    

how to add controls in datagrid
For adding controls in datagrid, first you have to add available templates of datagrid whichever you want that is, ItemTemplate, EditTemplate.

In that template you can write any ASP control normally.

 
Is this answer useful? Yes | No
November 24, 2008 06:53:30   #3  
dsk4u Member Since: August 2008   Contribution: 1    

RE: how to add controls in datagrid
To add Controls in Datagrid, take template column and add new controls in that template column.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape