C# Builder

  • Thread starter Thread starter chichak
  • Start date Start date
C

chichak

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;
bdpDeleteCommand1.CommandText = "DELETE FROM TABLE WHERE ID = 1";
bdpDeleteCommand1.ExecuteNonQuery();
bdpDataAdapter1.Active = true;
dataGrid1.DataBind();

and get error on bdpDeleteCommand1.ExecuteNonQuery();


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
 
I started training in C# Builder and web services and i have a lot of
problems with using SQL database.

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.borland.com.
bdpDataAdapter1.Active = false;
bdpDeleteCommand1.CommandText = "DELETE FROM TABLE WHERE ID = 1";
bdpDeleteCommand1.ExecuteNonQuery();
bdpDataAdapter1.Active = true;
dataGrid1.DataBind();

and get error on bdpDeleteCommand1.ExecuteNonQuery();

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
 
Back
Top