Click here to Skip to main content
15,921,226 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: XML Related.. Pin
Mayank Prajapati27-Mar-07 20:18
Mayank Prajapati27-Mar-07 20:18 
QuestionPage.PreviousPage.FindControl Pin
digsy_27-Mar-07 16:18
digsy_27-Mar-07 16:18 
QuestionConverting XmlNode to Datagrid Pin
samR927-Mar-07 16:10
samR927-Mar-07 16:10 
Questionguys how can i bind a function to a textbox in inserttemplate? Pin
neodeaths27-Mar-07 15:00
neodeaths27-Mar-07 15:00 
QuestionSqlDatasource Question... Pin
Kariem Soudy27-Mar-07 11:50
Kariem Soudy27-Mar-07 11:50 
Questionregarding reportviewer.....very urgent Pin
srishree27-Mar-07 10:31
srishree27-Mar-07 10:31 
QuestionOpen a PDF file Pin
rudemusik27-Mar-07 10:23
rudemusik27-Mar-07 10:23 
AnswerRe: Open a PDF file Pin
SABhatti27-Mar-07 10:31
SABhatti27-Mar-07 10:31 
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 

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.