| | |
GetSelectedIndex Datagrid? Dropdownlist
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Sep 2004
Posts: 6
Reputation:
Solved Threads: 0
Edit mode the index of a dropdownlist does not start at the right value.
I am having problem when in edit mode the dropdownlist the index does not
start at the right value. I use Inner Join for my two dropdownlists.
tbl_Users_StoreID
StoreID Store
1 Name1
2 Name2
tbl_Users_AccessLevelD
AccessLevelD AccessLevel
1 Administration
2 Calling Card Manager
3 Cashier
These StoreID, AccessLevelID are in my
tbl_Users table.
UserID
StoreID
AccessID
UserName
FullName
Now suppose for UserID =1
StoredID = 2
But when I am in editmode the Store is starting
at Name1 instead of Name2.
It is saved in the Database as StoredID =2 which corresponds to Name2.
Please help me.
I am having problem when in edit mode the dropdownlist the index does not
start at the right value. I use Inner Join for my two dropdownlists.
tbl_Users_StoreID
StoreID Store
1 Name1
2 Name2
tbl_Users_AccessLevelD
AccessLevelD AccessLevel
1 Administration
2 Calling Card Manager
3 Cashier
These StoreID, AccessLevelID are in my
tbl_Users table.
UserID
StoreID
AccessID
UserName
FullName
Now suppose for UserID =1
StoredID = 2
But when I am in editmode the Store is starting
at Name1 instead of Name2.
It is saved in the Database as StoredID =2 which corresponds to Name2.
Please help me.
![]() |
Similar Threads
- Sqldatasource with dropdownlist (ASP.NET)
- GetSelectedIndex Datagrid? Dropdownlist (ASP.NET)
- AccessDataSource (in 2.0) (ASP.NET)
- DataGrid: Edit mode, the index of a dropdownlist does not start at the right Value (ASP.NET)
- prblem:use a control in datagrid (ASP.NET)
- How do I save an index to a particular index of a dropdownlist in a datagrid. (C#)
Other Threads in the C# Forum
- Previous Thread: How do I save an index to a particular index of a dropdownlist in a datagrid.
- Next Thread: Building an array for dice program
| Thread Tools | Search this Thread |
.net access algorithm api array asp.net barchart bitmap box broadcast c# check checkbox client combobox control conversion csharp custom database databaseconnection datagrid datagridview dataset datetime dbconnection degrees design development draganddrop drawing encryption enum eventhandlers excel file firefox form format forms function gdi+ grantorrevokepermissionthroughc#.net image index input install java label libraries list listbox loop mandelbrot marshalbyrefobject math mouseclick movingimage mysql mysql.data.client operator path photoshop php picturebox pixelinversion platform post programming radians regex remoting resourcefile richtextbox server sleep socket sql statistics stream string study system.servicemodel table tcpclientchannel text textbox thread time timer update usercontrol validation visualstudio webbrowser windows winforms wpf wpfc# xml





