Help on C#
-
Hi everyone.. I'm currently doing a web application using C# which i'm unfamiliar with the prgram. I need urgent help~ My problem is that if i retrieve the database, how can i select, edit or delete the particulars from the database which i select? Anyone who know how to code it?? I have tried several times and it seem like is not right.. Your help is greatly appreciated.. Thankz.. =) Cheers!
-
Hi everyone.. I'm currently doing a web application using C# which i'm unfamiliar with the prgram. I need urgent help~ My problem is that if i retrieve the database, how can i select, edit or delete the particulars from the database which i select? Anyone who know how to code it?? I have tried several times and it seem like is not right.. Your help is greatly appreciated.. Thankz.. =) Cheers!
Hello_mouse wrote:
My problem is that if i retrieve the database, how can i select, edit or delete the particulars from the database which i select?
Using SQL. You don't retrieve a database, you retrieve a set of data which is a snapshot of the moment when you asked for it. You retrieve data, but you execute SQL to update or delete data seperately, although you may use the data you got back to build your query ( although it's better to use stored procs than to send SQL to the database ). Google is bursting with help on this. Christian Graus - Microsoft MVP - C++