Database conn

Sujit Patil replied to somnath Chakraborty at 10-May-08 04:57

Use config file to store a connection string.  There is a tag;

<configuration>
<connectionStrings>
 where you can write connection string.

And you can access it in your application using configuration like;

System.Configuration.ConfigurationManager.ConnectionStrings.Item("DatabaseConnection").ConnectionString

And to inseert update and delete from db go thr these links;

http://www.codeproject.com/KB/database/simpledbreadwrite.aspx

http://www.java2s.com/Code/CSharp/Database-ADO.net/IllustrateshowtoperformINSERTUPDATEandDELETEstatementsusingADONET.htm

Best Luck!!!!!!!!!!

Sujit.


Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  data base connuction - somnath Chakraborty  10-May-08 03:19 3:19:43 AM
      go thru this.. - santhosh kapa  10-May-08 03:26 3:26:07 AM
      check here - Vasanthakumar D  10-May-08 04:33 4:33:26 AM
      Database conn - Sujit Patil  10-May-08 04:57 4:57:13 AM
      Try this - sri sri  10-May-08 04:52 4:52:41 AM
      Re: data base - Chirag Bhavsar  10-May-08 05:03 5:03:07 AM
View Posts