100 thoughts to “C# Step By Step Make Stock Management Software Part 1”

  1. at 3:44 why you added (ProductName) to Stock table ,perhaps (ProductCode)is enough to map the relation , please i need help , thanks

  2. i have a question like how can i get one data from database and add it to it and delete that amount from other database??

  3. Error 1 The type or namespace name 'threading' does not exist in the namespace 'System' (are you missing an assembly reference?) C:UsersAdministratorAppDataLocalTemporary ProjectsStockStockMain.cs 8 14 Stock
    how to solve it with 2008

  4. 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??

  5. sir i want to working on university of Lahore sports portal management system and help me please nd upload some vedio related project thnkx

  6. 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 "objDebugStockMain" to "binDebugStockMain" 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!

  7. Hello sir i want to step by step vifeo tutorial of how to fetch data on crystal report between two dates in c# with using sql server express edition 2005

  8. It would be extremely helpful if you named your text boxes/ buttons what they're actually doing – Ex: "btnAdd"/"btnInsert"/"btnDelete" instead of "button2"

  9. is there alternative to Database Diagrams with visual studio environment? I don't have SQLserver and I create databases in visual studio environment. Thank you

  10. 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.

  11. Sir,
    Error occured to
    sda.Fill(dt);
    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

  12. what will happend when i insert productcode that is allready inserted into database ,,, or what whould happend when i insert data when textboxes are empty

  13. 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.

  14. 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 protected]

  15. 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'
    some help?

  16. sir how can i use this project on other computer. as both the database are different . if i take the backup of the database. then the location of database is changed.plz help

  17. Türk varsa genel olarak güzel, kullanım alanına göre ufak bir kaç ekleme ile iş görebilir uğraşmaya değer bi proje ayrıca anlatan kişinin konuşması net ve anlaşılır. Thanks bro good jobs 👍🏼

  18. Please Solve This Error "Specified cast is not valid." this area code "SqlConnection con = new SqlConnection("Data Source=KISHADWEYNE;Initial Catalog=Stock;Integrated Security=True");

    con.Open();

    SqlDataAdapter adpt = new SqlDataAdapter("select * from [Stock].[dbo].[Products]", con);

    DataTable dt = new DataTable();

    adpt.Fill(dt);

    dgw.Rows.Clear();

    foreach (DataRow item in dt.Rows)

    {

    int n = dgw.Rows.Add();

    dgw.Rows[n].Cells[0].Value = item["ProductCode"].ToString();

    dgw.Rows[n].Cells[1].Value = item["ProductName"].ToString();

    if ((bool)item["ProductStatus"])

    {

    dgw.Rows[n].Cells[2].Value = "Active";

    }

    else

    {

    dgw.Rows[n].Cells[2].Value = "Deactive";

    }

    }"

  19. Hi what a great tutorial , i have followed you step by step instructions trying to do exactly what you do however my login.cs does not work , i get invalid username and password all the time. how can i rectify the issue. please advise if i need to send you the login.cs script

  20. Hi i have watched the video several times and been practicing the same file but unfortunately every time i do the coding i am struck at the same place like someone asked you earlier and i cannot find the solution for the same so please help(Error occured to
    sda.Fill(dt);

    Saying –> An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll

  21. Those having issue with sda.Fill(dt);
    please, check your sda query, the username and password we are using from input in the query should have apostrophes " ' " enclosing them. please, check the code carefully and make sure you add those, and your problem will be solved.

Leave a Reply

Your email address will not be published. Required fields are marked *