You need to be able to retrieve data from DataSet object
that has four DataTable objects. There are currently
UniqueConstraint and ForeignKeyConstraint Object on the
DataTable objects to enforce the data rules. You find that
you can retrieve the data from the individual DataTable
objects, but you are not able to retrieve the data from the
combination of DataTable objects in a Parent/Child manner.
What should you do to able to retrieve the data in a
Parent/Child manner?
a) Set the EnforceParentChild parameter of the DataSet to True.
b) Set the EnforceRelation parameter of the Relations
collection to True.
c) Add DataRelation objects to the Relations Collection to
make the DataSet present the data in Parent/Child manner.
d) Add a primary key and a foreign key to each of the
DataTable objects that should present the data in a
Parent/Child manner.
I have an external link in my application say
www.xyztest.com. Today this site works on http protocal.
Tommorow it may run on https. So i cant hardcore the
protocal in the site. When a user clicks on the link how can
i know if the external site works on http or https and takes
him to that place?
Hello,
Using Visual Studio 2005 (VB) I am working to create a Web
Site implementing the following:
Within a gridView I have placed a dropdownlist control with
a DataSourceID="SDSLkupList".
SDSLkupList is a sqlDataSource used to store a lookup list
for dropdownlist
translation from ID to text. SDSLkupList contains the
translation text and other fields
related to the dropdown selection ID. (Thought it would be
efficient to get everything
at the same time.)
I would like to provide the user the ability to select from
the dropdownlist and, based on the
selection, use labels to list related columns stored on the
SDSLkupList in separate gridView
columns.
I have read that SqlDataSources are not meant to be used
for individual controls. Since
SDSLkupList contains all related information, is there a
way to do a find using the
dropdownlist selectedValue? (I was not able to discover
one.)
Otherwise, what should I use? It would need to set the
labels on the gridView DataRowBound
event as well as the SelectedIndexChanged events.
Has anyone done this?
Any help would be appreciated.
Thanks in Advance.
Neal
73
How to transpose rows into columns and columns into rows in
a multi-dimensional array ?
Can anyone please tell me that the question posted on this
website are Sufficient for the interview with 2+ year
experience in .net
185
Can any body provide me the sample web application in asp.net
64
i develop a web application and i gave security setting i.e
autherization and athentication now it work properly on my
local system ,
now question is ,is this security setting ie
autherization and athentication which i gave in web.config
will it be enough strong to secure my application on
internet or i have to use some 3rd party tool or software
to get security .if yes --how ? if no--what is the
alternate?
103
I have a component with 3 parameter and deployed to client
side now i changed my dll method which takes 4 parameter.How
can i deploy this without affecting the clent?s code ?
What is Difference between Production Serves and
Development Servers? And Suppose, m adding/deleting C# file
in a project based on the Specific Requirement. These Files
are Automatically updated in Production Servers? So Which
tool is needed to do This One?
88
a web application needs to be created to accept the product
name and quantity of a toy from a customer. After the
customer has entered the product name the application needs
to display the discounted price of the product to the
customer (company is offering 35% discount on all products).
The application should allow the customer to select the
product name from a list box. and also while i'm data
binding to a label with custom data binding with some
declarations : "The Discounted Price is
"+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text))
-
((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)).
Where i need to give this declaration in asp.net 2.0.