Author: myfriendisdead | Posted on: 1/28/2009 9:32:24 PM | Views : 282

Hi Guys,
I'm new here.

Here is the situation.
Using asp.net with c# as the language.
I'm using
local IIS and my database name is Renting.mdf.
The tables inside my database
are Bike and Rent.
 
The one that I'm asking for help is regarding the
rentbikes page.
dropdownlist1(BikeName) is databind to Bike Table with the
Bike Name column.
When I select a value from the dropdownlist1 of Bike Name,

I want the values of Bike Type, Rent Price and Status to automatically
appear in their textbox.
These values is taken from the Bike Table.

I've used sqldatasource1 to bind the bikeNameddl to show the BikeNames.
Here is the coding:
 protected void bikeNameddl_SelectedIndexChanged(object sender, EventArgs e)

{

//af ...

Go to the complete details ...