If we add a textbox and give the required field
validator,and i add two radio buttons 1 is yes another one
is No.And i add another one server control button ,if i
click the button ,if the radio button Yes is checked the
validation control is fired ,if no the validation control
is not fired.So what you used to solve this problem.
One Listbox showing all cities. If you select one city in
list box the information related to that particular city
should be displayed in Datagrid . How do you do that?
accessing a textbox that was created dynamically?
for (int i = 0; i < t1; i++)
{
TextBox t2 = new TextBox();
t2.ID = "adf" + i;
PlaceHolder1.Controls.Add(t2);
}
accessing data entered in the above created controls.
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.
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.
how to implement some securty aspect in our application i.e
1.cookie poisioning.
2.data encryption.
3.forcefull browsing
4.sql/code injection
5.securing web app by using web services
........my question is how to implement these thing in our
application
is this done by hard coding or by help of some tool
36
Where we create sessions for Banking Applications and how to
create? expalin with code?