C# Builder

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chichak

    C# Builder


    Hi,

    I'm asking for help of somebody.

    I started training in C# Builder and web services and i have a lot of
    problems with using SQL database.

    Until now I am using C++ and interbase and work with queries with no
    problems, but now when i want make some database on web server and
    changing and seeing data on web page i have a problems.

    1. Get data is not problem on web page.
    but
    INSERT, MODIFY and DELETE is for me crazy thing

    I try this

    bdpDataAdapter1 .Active = false;
    bdpDeleteComman d1.CommandText = "DELETE FROM TABLE WHERE ID = 1";
    bdpDeleteComman d1.ExecuteNonQu ery();
    bdpDataAdapter1 .Active = true;
    dataGrid1.DataB ind();

    and get error on bdpDeleteComman d1.ExecuteNonQu ery();


    How can I manipulate with data from web server and call stored procedures.

    Please, if somebody can help me with simple example updating table on web
    server using web page.

    THNX
  • Joanna Carter \(TeamB\)

    #2
    Re: C# Builder

    "chichak" <chichak@net.hr > a écrit dans le message de news:
    1x8g43t0c2pdt.q 8dqwyah8gy4$.dl g@40tude.net...
    [color=blue]
    > I started training in C# Builder and web services and i have a lot of
    > problems with using SQL database.[/color]

    C# Builder is a Borland product and, although you might find a few
    Borlandites here, you may also find more response in the Borland support
    groups under newsgroups.borl and.com.
    [color=blue]
    > bdpDataAdapter1 .Active = false;
    > bdpDeleteComman d1.CommandText = "DELETE FROM TABLE WHERE ID = 1";
    > bdpDeleteComman d1.ExecuteNonQu ery();
    > bdpDataAdapter1 .Active = true;
    > dataGrid1.DataB ind();
    >
    > and get error on bdpDeleteComman d1.ExecuteNonQu ery();[/color]

    BDP is the Borland Data Provider and there does not appear to be anything
    wrong with the code you are showing. I suggest you give more details on the
    error that you are getting.

    Joanna

    --
    Joanna Carter (TeamB)
    Consultant Software Engineer


    Comment

    Working...