Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Data grid control limitation

Reply
Thread Tools

Data grid control limitation

 
 
Anil Kulkarni
Guest
Posts: n/a
 
      07-29-2003
Hi Folks,

My Situation(program requirement):
I have datalist control and having Datagrid inside each
ItemTemplate column of datalist control.I am fetching data
from "Product" & "StyleDetails" table where I am getting
number of "Styles" per product. I am using "DataTable" for
fetching product details(including style number). Now, I
am filtering this datatable on "StyleNumber" for fetching
style details and using that filtered Datatable as a
source to child DataGrid control to display the other
details associated with each style #.

Now to fetch the style details and assign directly to the
datagrid control I am taking help of Dynamic SQL that
builds the desired columns dynamically along with the
values associated with these column(i.e. the names of
columns are specified during run time ).Now this result I
am attaching to DataGrid control so that it creates layout
for me.
Now My requirement:

1) For each value in detail , I would like to check
whether value is present or not ?
2) If value is present I want to display that value in
TEXTBOX control
3) Finally I want to save the updated value to the same
database.

My problems are as under :

1) How do I bind TextBox control for each value that the
column will fetch?
2) How do I change the caption of this columns based upon
the default names? ( i.e. since the names are dynamically
assoicated with each column I am unable to use
e.Item.DataBound("some Column Name")). Also I tried to
catch these values useing delegate onItemDataBound of
Datagrid control)

Awaiting for your reply

Thanks with regards
Anil
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to store data to dictionary because of memory limitation Rama Rao Polneni Python 3 07-31-2011 08:46 AM
Limitation of FormView Control? Mark Olbert ASP .Net 5 02-14-2007 09:25 PM
Binding data to Grid control with CUSTOM DATA CLASS vineetbatta ASP .Net Datagrid Control 0 10-16-2006 06:56 AM
Can we use Data Grid in Item Template of Data List Control Shahid Saleem ASP .Net 1 08-26-2005 01:28 PM
How do you alternate images in a data bound column of a data grid control? C Newby ASP .Net 7 04-02-2004 05:00 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57