Ask a Question related to ASP.NET General, Design and Development.
-
Anil Kulkarni #1
Data grid control limitation
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
Anil Kulkarni Guest
-
Data Grid Control no of roxcount
hi , want to know the rowcount of the datagrid control at runtime so that i can request for that many values.. However on creation complete... -
Please help - Simple scenario of using ASP.Net Data Grid control
Hello All I have some SQLServer tables each of them holding an average of 200 to 300 records each. I would like to make them available to select... -
Need data grid control
I use a ComponentOne vsFlex grid (unbound) for something very similar. Users can click and drag to mark blocks of time in 15 minutes slots. In... -
Filter Data Grid With calendar control
Hi, Hope this is the correct forum to post in. I am new to ASP.NET. I have a calendar control that I am using to select a date and then that date... -
Legend for each row of the asp.net Data Grid Control.
There is a read only column in data grid control .When i hover on the column I want to display legend detail for each row AT THE BOTTOM OF THE...



Reply With Quote

