Solved

Template fields at run time in GridView

Posted on 2007-12-05
1
712 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

738 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