|
yes but if i create an installer with vstudio it automatically add .NET framework to my setup project?
|
|
|
|
|
|
yes and no...
XP SP1 doesn't, but SP2 provides the framework....
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
So how an i add .NET framework to my setup solution to allow the installation of it for users haven't?
Thanks to both.
|
|
|
|
|
making install packages is a whole job... ! i don't know much...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
you should put the .net framework in the install file.
BINARY
|
|
|
|
|
hi,
I cannot get this SQL command to work in MySQL, its supposed to update the product quantity with how many has been ordered by the customer
UPDATE Products
SET ProdQuantity = (ProdQuantity - s.Quantity)
FROM Products p, ShoppingCart s
WHERE p.ProductID =(SELECT ProductID FROM ShoppingCart WHERE ProductID = p.ProductID and s.CartID='" + Convert.ToString(cartID) + "')")
Im not sure what im doing wrong, anyone have any ideas?
Thanks in advance
Jetset
|
|
|
|
|
UPDATE Products
SET ProdQuantity = (ProdQuantity - s.Quantity)
FROM Products p, ShoppingCart s
WHERE ProductID = @ProdID
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Hi
How i can find out a coulmn of a table is or not a FK?
|
|
|
|
|
|
I Did make connection to DB using SQLServer but now I wanna know how to get text from TextBox-es to DataGrid (InsertCommand) and (UpdateCommand) using C#.Net
Help!!!
|
|
|
|
|
Go through this link its useful for u
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconinsertingdataintosqldatabase.asp
|
|
|
|
|
Hello
I have created an application (ASP.NET) using MS Access as the database and have been asked to now create an MS SQL version. Everything is okay except for the Boolean fields. MS SQL does not have a Boolean data type (they are converted to a type of Bit). Also a true value is -1 in Access and 1 in MS SQL.
I don't want to have to maintain two separate pieces of code.
Does anyone know of a way to either code so that both databases will accept the same instructions OR is there a way to determine which backend database is being used. I am using a DSN for the connection.
Regards,
James
|
|
|
|
|
If you write a DAL (Data Abstraction Layer) you can create a defined interface to it and then have one Assembly for the Access and one assembly for SQL Server. Then all you need to do in your code is take a value, which you create, from the application's config file that tells you which DAL to use. The DAL is constructed and you communicate with it through the interface (or abstract base class, if that is your preference). The DAL contains all the database interaction code.
Of course, this solution is best if you already have a well defined DAL and just want to extend it to use different back-end databases.
My: Blog | Photos
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
How I can connect to Database using SC code
|
|
|
|
|
Hello,
Please explore System.Data.SqlClient namespace in MSDN.
Bye!
Maqsood Ahmed [MCP,C#]
Kolachi Advanced Technologies
http://www.kolachi.net
|
|
|
|
|
Hi all,
I want to read data from an SQL server db, is it much easier to do this from VC.NET than VC++ 6?
Wondering if I should upgrade...
Cheers,
v
|
|
|
|
|
viaduct wrote:
Hi all,
I want to read data from an SQL server db, is it much easier to do this from VC.NET than VC++ 6?
Wondering if I should upgrade...
Non-managed C++ code isn't any different really. If you were writing a managed c++ app then you could use ADO.NET
In VC6, I like to use ADO. It is simple and straight-forward to use. There is even a great helper class here[^]
Michael
CP Blog [^] Development Blog [^]
|
|
|
|
|
I explain better:
i've developed an application uses ado.net and microsoft access database.
This application works fine on my pc and on another that has installed Microsoft Office 2003.
If i do that on another that havn't Office 2003 on it doesn't work.
Maybe i need some dlls.
Where are them and how i unclude in my project?
Where does my setup process have to install them?
|
|
|
|
|
i have created one site and want to upload it .but i do not now how to restore the database to the server.if i want to do this only by using enteprize manager .if yes i do not now how to enter the server!
i do not actually now wat say.please help me!
|
|
|
|
|
* Create a backup of the database. Find the database in the Enterprise manager, right-click it and select All Tasks-->Backup...
* Copy the backup file onto the new server
* Restore the backup of the database. Open Enterprise Manager, locate the "databases" folder and right-click. Select All Tasks-->Restore Database...
My: Blog | Photos
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
Thank you for your reply.Colin Angus Mackay
when i work on local server i can do the method you said.but the question was when i work on the actual server. for example i can use ftp and www.root to copy the pages of the site without the database.but i do not now how to access to the start menu of the server and open the enteprize manager.and restore the database.how can i access to the enteprize manager?
Thank you for your reply!
|
|
|
|
|
rohollahabadan wrote:
but i do not now how to access to the start menu of the server and open the enteprize manager.and restore the database.how can i access to the enteprize manager?
You do not need to be on the remote server for that. You can do all this from the Enterprise Manager on your machine. You just need to register the remote server on your machine.
In the Enterpise Manage open the tree to the Console Root/Microsoft SQL Servers/SQL Server Group and right click the SQL Server Group icon. Select New SQL Server Registration. The wizard will walk you through the process of registering a new server. If your server does not appear in the list of "Available Servers" you can just type the name in to the box and press the Add button.
My: Blog | Photos
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
Anyone know how to sum as decimal in SQLCE database?
I had try using below statement:
SELECT SUM(decimal(eAmount),9,6) AS Total FROM ExpenseDetail WHERE catID = 1
It give the error that it is not regcognize by SQLCE.
Please help!! Thanks in advance.
|
|
|
|
|
I have seen the article on how to add 'all' to the report based on tables in reporting services. But my report based on olap cube. Is it possible to enable user select 'all' from parameter list? Need your help. Thank you in advance.
|
|
|
|