473,395 Members | 2,079 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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
Nov 17 '05 #1
0 1630

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ann Morris | last post by:
INTRODUCTION One of the most powerful aspects of .NET and Windows Forms is data binding. Data binding is the process of associating user interface (UI) elements with a data source to generate a...
1
by: Ananth | last post by:
Hi, I have a question regarding data grids My application requires me to use a grid for displaying data, however I would not be using a database for procuring the data, instead I would be...
2
by: Joe Au | last post by:
I follow the Walkthrough documented on Visual Studio to create an editable data grid but it does not work on getting the value of the textbox in the data grid. The code is copied here. I mark...
1
by: Shahid Saleem | last post by:
Dear Members I want to generate a Template using DataList and i want to user Grid control in the item template, is it possible. if yes need some explanation regarding data binding of grid...
3
by: Ray Lavelle | last post by:
I'm upgrading my application to .Net and need a grid control replacement for my old one. I was using the Farpoint control, which I really like but the new version for .Net is fairly expensive. I...
12
by: Kimberley Wiggins | last post by:
Can someone please help me? I am still learning vb so this is fairly new. I have been chasing this problem for 3 days now and I think that I am ready to give up. Does anyone know how to make...
1
by: David Veeneman | last post by:
How do I get the data bindings for a control that is bound at design time? I'm binding a DataGridView control to a data source at design time, using a BindingSource control. I set the grid's...
7
by: Joe-Paul Robb, Jr. | last post by:
Hello: I am building a program in Visual Basic 6.0. (Op Sys: Windows XP 2002 Service Pack 2) I placed an AOD Data Control on a form...and a data Grid. I bound the data grid to the data...
6
by: Badis | last post by:
Hi, I'm tyring to display data on my gridview but when the data Exceeds "154161" record the gridview doesn't display it..!!? Cheers
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.