Click here to Skip to main content
15,891,136 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Can not display Image Pin
gavindon29-Mar-11 8:46
gavindon29-Mar-11 8:46 
GeneralRe: Can not display Image Pin
Dalek Dave29-Mar-11 9:04
professionalDalek Dave29-Mar-11 9:04 
GeneralRe: Can not display Image Pin
Orcun Iyigun29-Mar-11 9:34
Orcun Iyigun29-Mar-11 9:34 
GeneralRe: Can not display Image Pin
Orcun Iyigun29-Mar-11 8:51
Orcun Iyigun29-Mar-11 8:51 
GeneralRe: Can not display Image Pin
Pete O'Hanlon29-Mar-11 10:36
mvePete O'Hanlon29-Mar-11 10:36 
GeneralRe: Can not display Image Pin
Orcun Iyigun29-Mar-11 12:52
Orcun Iyigun29-Mar-11 12:52 
GeneralRe: Can not display Image Pin
Pete O'Hanlon29-Mar-11 18:57
mvePete O'Hanlon29-Mar-11 18:57 
QuestionGridview updateproblem - Oracle SQL Pin
√ensens29-Mar-11 5:25
√ensens29-Mar-11 5:25 
Hello,
i hope i am at the right place here.

I can't update a table in my database.
When i execute the update in the gridview i get the error message: ORA-01036: illegal variable name/number
I just want to update the "DVM_LIEFERUNG" table, delete and select statements do their job.
So if anyone of you know how to fix it, let me know it please.

Yours sincerely √ensens

<asp:GridView ID="GridView1" DataKeyNames="L_ID" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" Style="position: relative" Width="1000px">

    <Columns>
        <asp:CommandField CancelText="cancel" DeleteText="del" EditText="edit" InsertText="insert"
            NewText="new" SelectText="select" ShowEditButton="True" UpdateText="update" ShowDeleteButton="True" />

        <asp:BoundField DataField="NAME" HeaderText="NAME" SortExpression="NAME" >
            <ItemStyle Width="500px" />
        </asp:BoundField>

        <asp:BoundField DataField="CONFIGDESCRIPTION" HeaderText="CONFIGDESCRIPTION" SortExpression="CONFIGDESCRIPTION" >
            <ItemStyle Width="500px" />
        </asp:BoundField>

        <asp:BoundField DataField="EMAIL" HeaderText="EMAIL" SortExpression="EMAIL" >
            <ItemStyle Width="500px" />
        </asp:BoundField>

        <asp:BoundField DataField="TEST_INTERN" HeaderText="TEST_INTERN" SortExpression="TEST_INTERN" >
            <ItemStyle Width="500px" />
        </asp:BoundField>

        <asp:BoundField DataField="TEST_PILOT" HeaderText="TEST_PILOT" SortExpression="TEST_PILOT" >
            <ItemStyle Width="500px" />
        </asp:BoundField>

        <asp:BoundField DataField="PRODUKTIV" HeaderText="PRODUKTIV" SortExpression="PRODUKTIV" >
            <ItemStyle Width="500px" />
        </asp:BoundField>

    </Columns>

</asp:GridView>

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
SelectCommand='SELECT L_ID, PRODUKT_NR, PK_CONFIG_NR, TEST_INTERN, TEST_PILOT, PRODUKTIV, ASP_NR, DVM_PRODUKT.NAME, EMAIL, CONFIGDESCRIPTION FROM DVM_LIEFERUNG, DVM_PRODUKT, AUDAUPDATECONFIGURATIONS, DVM_ASP WHERE DVM_PRODUKT.PRODUKT_ID=DVM_LIEFERUNG.PRODUKT_NR AND AUDAUPDATECONFIGURATIONS.PK_CONFIGID = DVM_LIEFERUNG.PK_CONFIG_NR AND DVM_ASP.ASP_ID = DVM_LIEFERUNG.ASP_NR'
DeleteCommand='DELETE FROM DVM_LIEFERUNG WHERE (L_ID = :L_ID)'
UpdateCommand='UPDATE DVM_LIEFERUNG SET L_ID = :L_ID, PRODUKT_NR = :PRODUKT_NR, PK_CONFIG_NR = :PK_CONFIG_NR, TEST_INTERN = :TEST_INTERN, TEST_PILOT = :TEST_PILOT, PRODUKTIV = :PRODUKTIV, ASP_NR= :ASP_NR WHERE (L_ID = :L_ID)'>

<DeleteParameters>
<asp:ControlParameter ControlID="GridView1" Name="L_ID" PropertyName="SelectedValue" Type="Decimal" />
</DeleteParameters>

<UpdateParameters>
<asp:ControlParameter ControlID="GridView1" Name="L_ID" PropertyName="SelectedValue" Type="Decimal" />
<asp:ControlParameter ControlID="GridView1" Name="PRODUKT_NR" PropertyName="SelectedValue" Type="Decimal" />
<asp:ControlParameter ControlID="GridView1" Name="PK_CONFIG_NR" PropertyName="SelectedValue" Type="Decimal" />
<asp:ControlParameter ControlID="GridView1" Name="TEST_INTERN" PropertyName="SelectedValue" Type="String" />
<asp:ControlParameter ControlID="GridView1" Name="TEST_PILOT" PropertyName="SelectedValue" Type="String" />
<asp:ControlParameter ControlID="GridView1" Name="PRODUKTIV" PropertyName="SelectedValue" Type="String" />
<asp:ControlParameter ControlID="GridView1" Name="ASP_NR" PropertyName="SelectedValue" Type="Decimal" />
</UpdateParameters>

</asp:SqlDataSource>

AnswerRe: Gridview updateproblem - Oracle SQL [modified] Pin
Wendelius29-Mar-11 7:12
mentorWendelius29-Mar-11 7:12 
GeneralRe: Gridview updateproblem - Oracle SQL Pin
√ensens3-Apr-11 23:22
√ensens3-Apr-11 23:22 
GeneralRe: Gridview updateproblem - Oracle SQL Pin
Wendelius4-Apr-11 10:25
mentorWendelius4-Apr-11 10:25 
Questionvertical image in embedded reportviewer [modified] Pin
gavindon29-Mar-11 4:10
gavindon29-Mar-11 4:10 
QuestionRemove Multiple Gridview Columns before Excel Export Pin
massaslayer29-Mar-11 2:35
massaslayer29-Mar-11 2:35 
QuestionTranscation Id+Paypal Pin
Ramkumar_S28-Mar-11 22:59
Ramkumar_S28-Mar-11 22:59 
AnswerRe: Transcation Id+Paypal Pin
Viral Upadhyay28-Mar-11 23:36
Viral Upadhyay28-Mar-11 23:36 
GeneralRe: Transcation Id+Paypal Pin
Ramkumar_S28-Mar-11 23:48
Ramkumar_S28-Mar-11 23:48 
AnswerRe: Transcation Id+Paypal Pin
Viral Upadhyay29-Mar-11 0:11
Viral Upadhyay29-Mar-11 0:11 
GeneralRe: Transcation Id+Paypal Pin
Ramkumar_S29-Mar-11 18:07
Ramkumar_S29-Mar-11 18:07 
QuestionAsp.net can play "Flash,video, Image, HTML" in one control? Pin
buffering8328-Mar-11 22:12
buffering8328-Mar-11 22:12 
AnswerRe: Asp.net can play "Flash,video, Image, HTML" in one control? Pin
Viral Upadhyay29-Mar-11 0:15
Viral Upadhyay29-Mar-11 0:15 
GeneralRe: Asp.net can play "Flash,video, Image, HTML" in one control? Pin
buffering8329-Mar-11 18:56
buffering8329-Mar-11 18:56 
QuestionUpdate Panel Issue Pin
Rameez Raja28-Mar-11 19:16
Rameez Raja28-Mar-11 19:16 
AnswerRe: Update Panel Issue Pin
thatraja28-Mar-11 20:04
professionalthatraja28-Mar-11 20:04 
GeneralRe: Update Panel Issue Pin
msqar29-Mar-11 2:37
msqar29-Mar-11 2:37 
AnswerRe: Update Panel Issue Pin
thatraja29-Mar-11 6:31
professionalthatraja29-Mar-11 6:31 

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.