Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Template fields at run time in GridView

Posted on 2007-12-05
1
Medium Priority
?
716 Views
Last Modified: 2013-11-26
i want Template Fields at run time in GirdView. I am going to built a website in which Fields in the DataBase table are varying at run time . i got one componet at google to resolve this problem but that also creates problem because along-with Fields the DATATYPE of the fields also varying . Plese paste code towords me so that i can understand easily
0
Comment
Question by:EE_Navigator
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 1500 total points
ID: 20411476
>>i got one componet at google to resolve this problem
What component did you get?  

What you need is to implement the ITemplate interface:

How to create template columns dynamically in a grid view
http://www.codeproject.com/KB/aspnet/create_template_columns.aspx

Bob
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Loops Section Overview

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question