Click here to Skip to main content
15,917,702 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSmileys Pin
ADY0071-Feb-07 1:26
ADY0071-Feb-07 1:26 
AnswerRe: Smileys Pin
Artem Kustikov1-Feb-07 1:44
Artem Kustikov1-Feb-07 1:44 
QuestionHow display data from DB by selecting from DropdownList Pin
Praveen 1231-Feb-07 1:20
Praveen 1231-Feb-07 1:20 
AnswerRe: How display data from DB by selecting from DropdownList Pin
varshavmane1-Feb-07 2:27
varshavmane1-Feb-07 2:27 
AnswerRe: How display data from DB by selecting from DropdownList Pin
Sandeep Akhare1-Feb-07 2:53
Sandeep Akhare1-Feb-07 2:53 
AnswerRe: How display data from DB by selecting from DropdownList Pin
Naveed Kamboh1-Feb-07 6:05
Naveed Kamboh1-Feb-07 6:05 
QuestionRe: How display data from DB by selecting from DropdownList [modified] Pin
Praveen 1231-Feb-07 17:06
Praveen 1231-Feb-07 17:06 
QuestionHow do i pass the SelectedValue/Index of a DropDownList in a GridViews EditItem Template to a Control Parameter? Pin
Red_Wizard_Shot_The_Food1-Feb-07 1:18
Red_Wizard_Shot_The_Food1-Feb-07 1:18 
I want a column in my datagrid to be edited by a drop down list.
I've put the dropdown list in the edititem template.

The contents of the DropDown is sourced from an SQLDataSource
And the data bindings set up a two way binding to the "Record" field.

I have added this update control parameter

Where:
"Recorded" is the Parameter name.
"gvOutgoing" is the GridView
"Selected Value" is the feild i want from the dropdownlist
<br />
<UpdateParameters><br />
 <asp:ControlParameter name="Recorded" controlid="gvOutgoing" propertyname="SelectedValue"/><br />
<UpdateParameters><br />


This generates no errors except it passes a NULL value to @Recorded Frown | :(

Now I originaly thought i should put "ddlRecorded" (the drop down list) in the "controlid" as thats what i want the actaul value of.

except it kept giving me this error:
Could not find control "ddlRecorded" in ControlParamert "Recorded".<br />
<br />
Any adivce?<br />
<br />
Cheers

AnswerRe: How do i pass the SelectedValue/Index of a DropDownList in a GridViews EditItem Template to a Control Parameter? Pin
minhpc_bk1-Feb-07 5:35
minhpc_bk1-Feb-07 5:35 
GeneralRe: How do i pass the SelectedValue/Index of a DropDownList in a GridViews EditItem Template to a Control Parameter? Pin
Red_Wizard_Shot_The_Food1-Feb-07 6:14
Red_Wizard_Shot_The_Food1-Feb-07 6:14 
GeneralRe: How do i pass the SelectedValue/Index of a DropDownList in a GridViews EditItem Template to a Control Parameter? Pin
minhpc_bk1-Feb-07 18:44
minhpc_bk1-Feb-07 18:44 
QuestionReporting Problem Pin
Sarfaraj Ahmed1-Feb-07 1:15
Sarfaraj Ahmed1-Feb-07 1:15 
AnswerRe: Reporting Problem Pin
Sandeep Akhare1-Feb-07 2:58
Sandeep Akhare1-Feb-07 2:58 
GeneralRe: Reporting Problem Pin
Sarfaraj Ahmed2-Feb-07 1:40
Sarfaraj Ahmed2-Feb-07 1:40 
GeneralRe: Reporting Problem Pin
Sandeep Akhare2-Feb-07 2:03
Sandeep Akhare2-Feb-07 2:03 
GeneralRe: Reporting Problem Pin
Sarfaraj Ahmed2-Feb-07 4:03
Sarfaraj Ahmed2-Feb-07 4:03 
Questionhow to import data from an excel to a datagrid Pin
gauthee1-Feb-07 1:06
gauthee1-Feb-07 1:06 
AnswerRe: how to import data from an excel to a datagrid Pin
Parwej Ahamad1-Feb-07 1:18
professionalParwej Ahamad1-Feb-07 1:18 
AnswerRe: how to import data from an excel to a datagrid Pin
Sandeep Akhare1-Feb-07 3:09
Sandeep Akhare1-Feb-07 3:09 
GeneralRe: how to import data from an excel to a datagrid Pin
gauthee1-Feb-07 23:08
gauthee1-Feb-07 23:08 
GeneralRe: how to import data from an excel to a datagrid Pin
Sandeep Akhare2-Feb-07 2:06
Sandeep Akhare2-Feb-07 2:06 
GeneralRe: how to import data from an excel to a datagrid Pin
Sandeep Akhare2-Feb-07 2:15
Sandeep Akhare2-Feb-07 2:15 
QuestionWhy OleDbCommand call oracle9i user function success,but OleDbCommand call failed. Pin
Old Gun1-Feb-07 0:56
Old Gun1-Feb-07 0:56 
QuestionUser Control Pin
aaraaayen1-Feb-07 0:11
aaraaayen1-Feb-07 0:11 
AnswerRe: User Control Pin
blue_arc1-Feb-07 1:48
blue_arc1-Feb-07 1:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.