Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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 February 12th, 2005, 07:45 AM
Authorized User
Join Date: Jul 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to vinodkalpaka Send a message via Yahoo to vinodkalpaka
Default Run .sql file through ASP.NET+C#

Hi All,

Is there any way to run my SQL Server database script file(in .sql format)through ASP.NET + C# . I need to create database tables and stored procedures in this way. I do not have any UI options in my server admin panel for run my .sql file that is generated from my (local) Sql server

Please help me.

Thanking in advance.

Vinod A.

Old February 12th, 2005, 12:07 PM
Friend of Wrox
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel

I am not clear about what exactly is your requirement. If at all you are looking for a method other than enterprise mgr or query analyser to do your DB task ... you could try out Web based database administrator.

Check this :: http://www.microsoft.com/downloads/d...displaylang=en

Best Regards

Old August 16th, 2006, 06:13 PM
Registered User
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I'm having the same problem, I have a .sql file and what I want is a method that can read from that file and execute the script on sql server so my application can run it every time it starts.

thanks, nacho

Similar Threads
Thread Thread Starter Forum Replies Last Post
How Run .sql Script file in MS SQL Server 2000? aarkaycee SQL Server 2000 5 October 12th, 2009 05:43 AM
How can I run or not run Google AD in my ASP.NET w mycwcgr ASP.NET 2.0 Professional 0 November 5th, 2007 07:18 AM
How to run the Windows Media File in asp.net 2005 chavakoti ASP.NET 2.0 Professional 0 August 10th, 2007 04:03 AM
How to Run Real Player (rm file) in asp.net marq_abid ASP.NET 2.0 Professional 0 November 16th, 2005 09:51 AM
Run .sql file through ASP.NET+C# vinodkalpaka ADO.NET 0 February 12th, 2005 07:44 AM

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