Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
feejaz
Yak Posting Veteran
68 Posts |
Posted - 2007-12-05 : 03:30:07
|
| Hi,Can any body tell me how can I learn about Sql. I am now a days learning asp.net using C#. bUT can not under stand how to work with database. Can any body tell me the online book that is easy to learn (Examples etc ). Feejaz.Navi |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
jackv
Master Smack Fu Yak Hacker
2179 Posts |
Posted - 2007-12-05 : 04:08:53
|
| Also the Books Online that comes with SQL Server , is very useful , once you know some of the basicsJack Vamvas--------------------Search IT jobs from multiple sources- http://www.ITjobfeed.com |
 |
|
|
feejaz
Yak Posting Veteran
68 Posts |
Posted - 2007-12-05 : 05:19:22
|
| Sorry, Ithink I could not the message properly, I know anbout some thing but not very much. I want to know about how can make a connection of database in language. Get the Quries etc. You can say it ADOFeejaz.Navi |
 |
|
|
chiragkhabaria
Master Smack Fu Yak Hacker
1907 Posts |
Posted - 2007-12-05 : 05:26:15
|
| For setting up the connection string you can check out the site... www.connectionstrings.comChiraghttp://www.chirikworld.com |
 |
|
|
feejaz
Yak Posting Veteran
68 Posts |
Posted - 2007-12-05 : 06:26:12
|
| Thanks for answering,But I am searching like this type of study.// Define database connectionSqlConnection conn = new SqlConnection("Server=localhost\\SqlExpress;Database=Abc;"+"IntegratedSecurity=True");// Create commandSqlCommand comm = new SqlCommand("SELECT EmployeeID, Name FROM Employees", conn);// Open connectionconn.Open();// Execute the commandSqlDataReader reader = comm.ExecuteReader();// TODO: Do something with the data// Close the reader and the connectionreader.Close();conn.Close();Navi |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-12-05 : 07:12:47
|
| Try sample codes at www.asp.netMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|