SqlCoonection con = new SqlCoonection(v:"Data Source=DESKTOP-4BK2KTQ\\JERRYSQL;Initial Catalog=Stock;Integrated Security=True");
SqlDataAdapter sda=new SqlDataAdapter(@"SELECT *
FROM[Stock].[dbo].[Login] Where UserName = '"+ textBox1.Text +"' and Password = '"+ textBox2.Text +"'", con); <- at this con i have error CS1503 CANNOT CONVERT FROM 'Stock2.SqlConnection' to 'string'
Sir Please help me for . net c# Windows Application Coding How To Find Multi Data in a Day and Calculate Hour Minute Second And Save to other Table Using for Attendance Purpas Data type using SQL Express 2014
Sir Please Help me How To Coding
Please Send me Reply on my Email ID email@example.com
This is cool! I am just not this tech savvy, and I wanted something super simple. I just started using Sortly Pro- it's a new app for small businesses that makes keeping track of my stuff soooo much easier.
Error occured to
Saying --> An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
Additional information: Cannot open database "Stock" requested by the login. The login failed.
plz help me to resolve this error.
Thanks in advance
There is a part of the namespace called MainStock.Designer.cs , i guess it is the form designer code. If i delete everything from StockMain.cs, how you do it, that MainStock.Designer.cs gives me errors.
rcya Kc no such stock management is not up to the standard of final year project. Moreover this all 1 hour long video is all about creating a table and inserting data into it. Final year project should be comprehensive.
VS 2017, Windows 10 - The code does not run after I remove the menu items from StockMain in designer view (18:15 into video). Error: unable to copy file "obj\Debug\StockMain" to "bin\Debug\StockMain" when I run the application. It's a VS bug that locks the project. To fix it: right click the project (Stock) in the solution explorer, select properties, select Build Events. Copy and paste these two lines of code into the Pre-Build event command line:
if exist "$(TargetPath).locked" del "$(TargetPath).locked"
if exist "$(TargetPath)" if not exist "$(TargetPath).locked" move $"(TargetPath)" "$(TargetPath).locked"
I found the solution on Stack Overflow.
Thanks for the video Vetrivel!
An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
Additional information: Violation of PRIMARY KEY constraint 'PK_Products'. Cannot insert duplicate key in object 'dbo.Products'.
why showing this error??
Error 1 The type or namespace name 'threading' does not exist in the namespace 'System' (are you missing an assembly reference?) C:\Users\Administrator\AppData\Local\Temporary Projects\Stock\StockMain.cs 8 14 Stock
how to solve it with 2008
hi sir.....when i run login form then Login failed for user 'sa' error occure.....i try to more time & as well as checked my connection string ....but these error not solved.....so sir what can i do.....plzzzz tell me sir
On today’s market there are many products with such orientation, but most popular is advertised brand Viagra tablets.
Appropriate tests show a positive result, which is about thirty per cent of all subjects. But here it is necessary to take into account the psychological aspect, since a positive result will not be at the unwillingness of sexual intimacy.
Cialis is yet another pill for impotence. Cialis and Viagra can be called brothers. Effectiveness of tablet lasts for about 30 hours. Cialis action when compared to Viagra, is faster. Cialis acts on the walls of blood vessels, preventing them from relaxing, thanks to the influence of substances that trigger it.
Cialis is admissible to the use of alcoholic beverages. The drug takes effect quickly, and the action is very long. What is best Cialis Viagra or Levitra