Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 2nd, 2015, 08:23 AM
Authorized User
 
Join Date: May 2015
Posts: 46
Thanks: 1
Thanked 0 Times in 0 Posts
Default Express and Management

What is a deference when you create a database in SQL server management studio or create it on visual studio

because I see in your book beg asp.net 4.5 you create the database in SQL server management studio but in older version you create it from VS (Right-Click the App_data folder and then chose add new items then SQL data base)

In beg asp.net 4.5 you create database in SQL server management studio after create the database (you say for us) press Ctrl+O and you select folder has name -create planet wrox- Why?

what the best way to create database on SQL server management studio or on VS(visual studio)
thanks
mohammed
 
Old September 2nd, 2015, 01:59 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It's the same thing, more or less. When you add it in SSMS, it gets attached to SQL Server and remains attached; when you use VS it's set up to attach to SQL Server dynamically using te attachdbfilename option.

>> after create the database (you say for us) press Ctrl+O and you select folder has name -create planet wrox- Why?

No idea what that means.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old September 3rd, 2015, 03:10 AM
Authorized User
 
Join Date: May 2015
Posts: 46
Thanks: 1
Thanked 0 Times in 0 Posts
Default

First I sorry ...my English is very bad

>> after create the database (you say for us) press Ctrl+O and you select folder has name -create planet wrox- Why?
I mean
In chapter 12 introduction to database (beg asp.net 4.5) try it out creating the sql server sample database section number 6 ....you say : Press Ctrl+O to bring up a dialog box that lets you select a fi le. Browse to the folder
C:\BegASPNET\Resources\Chapter 12. If you don’t have this folder, refer to the Introduction of this book to learn how to acquire the code that comes with this book. Select the Create Planet Wrox Database.sql file.

what this file kind it's not look like .mdf ...how you create it..

I hope to understand my bad explanation
 
Old September 4th, 2015, 03:52 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I am still not entirely sure what you're asking, but I think you're referring to the .sql file that ships with the books code. That's just a script file that I created to quickly create a new database and objects to get started. You can create the same script for your own database by right-clicking an existing database and then choosing All Tasks | Generate Scripts.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old September 6th, 2015, 06:34 AM
Authorized User
 
Join Date: May 2015
Posts: 46
Thanks: 1
Thanked 0 Times in 0 Posts
Default

yes I mean that...thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server Management Studio Express sophia BOOK: Beginning ASP.NET 4 : in C# and VB 29 August 9th, 2012 09:38 AM
Chp10, 11 sql server express management studio bruhnf BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 March 13th, 2006 05:00 PM
Accessing a SQL Server Express DB thru VB Express djelavic SQL Server 2005 2 February 21st, 2006 07:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.