Click here to Skip to main content
15,895,829 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Open a PDF file Pin
rudemusik27-Mar-07 11:23
rudemusik27-Mar-07 11:23 
GeneralRe: Open a PDF file Pin
A.R.Bhagirathi27-Mar-07 20:20
A.R.Bhagirathi27-Mar-07 20:20 
GeneralRe: Open a PDF file Pin
Jay_se27-Mar-07 21:25
Jay_se27-Mar-07 21:25 
GeneralRe: Open a PDF file Pin
rudemusik28-Mar-07 3:27
rudemusik28-Mar-07 3:27 
QuestionImageButton in GridView TemplateField disappears when clicked [modified] Pin
cueshot27-Mar-07 9:54
cueshot27-Mar-07 9:54 
AnswerRe: ImageButton in GridView TemplateField disappears when clicked Pin
kubben27-Mar-07 10:16
kubben27-Mar-07 10:16 
GeneralRe: ImageButton in GridView TemplateField disappears when clicked Pin
cueshot27-Mar-07 10:19
cueshot27-Mar-07 10:19 
QuestionEditing gridview edititemtemplate with dropdownlist Pin
yonialhadeff27-Mar-07 9:30
yonialhadeff27-Mar-07 9:30 
Hello,

I have a gridview that i want to make editable.
So i link it with a datasource, where I defined the updatecommand

In the edititemtemplate of my datagrid I have this dropdownlist

< asp:DropDownList ID="Field1" runat="server"  ><br />
  < asp:ListItem Value="OTH" Text="OTH">< /asp:ListItem><br />
  < asp:ListItem Value="SGA" Text="SGA">< /asp:ListItem><br />
  < asp:ListItem Value="COS" Text="COS">< /asp:ListItem><br />
  < asp:ListItem Value="NA" Text="NA">< /asp:ListItem><br />
</a sp:DropDownList><br />

I tried to define the update command like that
<br />
< asp:SqlDataSource ID="SqlDataSource1" Runat="server"<br />
UpdateCommand = "UPDATE blabla SET Field1=@Field1<br />
 WHERE Id_MAP =@original_M_IdMAP" .... ></pre><br />
<br />
But asp throws me this error during the executtion<br />
<br />
Must declare the scalar variable "@Field1 "<br />
<br />
What I need to do to resolve this problem ?<br />
<br />
thank you very much for your help<br />
<code>


Yoni Alhadeff

QuestionNo Namespace in .NET 2.0 Pin
duaatul27-Mar-07 9:02
duaatul27-Mar-07 9:02 
AnswerRe: No Namespace in .NET 2.0 Pin
kubben27-Mar-07 9:44
kubben27-Mar-07 9:44 
AnswerRe: No Namespace in .NET 2.0 Pin
badgrs27-Mar-07 10:57
badgrs27-Mar-07 10:57 
QuestionText Editor Pin
netJP12L27-Mar-07 6:31
netJP12L27-Mar-07 6:31 
AnswerRe: Text Editor Pin
Not Active27-Mar-07 6:35
mentorNot Active27-Mar-07 6:35 
AnswerRe: Text Editor Pin
Sathesh Sakthivel27-Mar-07 6:39
Sathesh Sakthivel27-Mar-07 6:39 
AnswerRe: Text Editor Pin
ToddHileHoffer27-Mar-07 8:36
ToddHileHoffer27-Mar-07 8:36 
GeneralRe: Text Editor Pin
badgrs27-Mar-07 11:07
badgrs27-Mar-07 11:07 
GeneralRe: Text Editor Pin
netJP12L27-Mar-07 16:53
netJP12L27-Mar-07 16:53 
QuestionAjax toolkit Pin
Member 374156227-Mar-07 4:39
Member 374156227-Mar-07 4:39 
AnswerRe: Ajax toolkit Pin
Not Active27-Mar-07 5:03
mentorNot Active27-Mar-07 5:03 
GeneralRe: Ajax toolkit Pin
RichardGrimmer27-Mar-07 5:26
RichardGrimmer27-Mar-07 5:26 
AnswerRe: Ajax toolkit Pin
Kunal P27-Mar-07 6:57
Kunal P27-Mar-07 6:57 
Questionfile upload error Pin
saravanan0527-Mar-07 4:20
saravanan0527-Mar-07 4:20 
AnswerRe: file upload error Pin
Marcus J. Smith27-Mar-07 4:23
professionalMarcus J. Smith27-Mar-07 4:23 
GeneralRe: file upload error Pin
saravanan0527-Mar-07 4:27
saravanan0527-Mar-07 4:27 
GeneralRe: file upload error Pin
Marcus J. Smith27-Mar-07 5:02
professionalMarcus J. Smith27-Mar-07 5:02 

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.