Medical Store Management System Part 1 Csharp Visual Studio 2012 Free Source Code ( Hindi / Urdu )






Namaskar Dosto ,

Me Aap Sabhi ka Khub Khub Swagat Karta hu Mere Channel me Jiska Nam He " AMIN SATI "

Dosto is Video me . Mene AApko Medical Store Management Software kese banate he C# Visual Studio 2012 Uske Bareme Samjaya He. Me Ek Ek Topics ke Bareme AApko Samjata Rahunga . Iss Video me mene AApko Customer Master Kese Create Karte He Design Kese Banate He Data Save Kese Karte He Microsoft Access me Database Kese Banate He Customer Table Kese Banate He Sab Step by Step Samjaya he.

Vo bhi Bahot Easily AAp Samaj Sakenge Kyunki Mene Hindi me Pura Video Banaya he.

Ye Hamara Medical Store Maangement System ka Pehla Hi Video He .

Next video me.
Me AApko Customer Master Form me Kese Delete Karte He
Kese Update Karte He
Kese Record Form me Display Kar Sakte He vo Samjaunga.


To Bane Rahiye Mere Sath Or Dekhte Rahi.

Dosto Agar AApko meri Ye Video Usefule Lage to Please Like and Share Jarur kijiyega me AAp Sabhi ke Liye Esehi Video Banata Rahunga

Dosto Channel ko Subscribe Karna Na Bhule...


Thank You for Watching my Video.


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.OleDb;

namespace Medical_Store_Managment_System
{
    public partial class Form1 : Form
    {
        String scon="Provider=Microsoft.ACE.OLEDB.12.0;Data Source="+Application.StartupPath+"\\DB_Medical.accdb;Persist Security Info=True";
        OleDbConnection con;
        OleDbCommand cmd = new OleDbCommand();

        public Form1()
        {
            InitializeComponent();
        }
        private void cleartext()
        {
            txt_name.Text = "";
            txt_address.Text = "";
            txt_city.Text = "";
            txt_mobile.Text = "";
            txt_phone.Text = "";
            txt_name.Focus();
        }
        private void savedata()
        {
            string strquery="insert into tbl_customer (Cust_Name , Cust_Address , Cust_City ,             Cust_Mobile , Cust_Phone ) Values ('"+txt_name.Text.ToUpper () +"','"+txt_address .Text +"','"+txt_city .Text +"','"+txt_mobile .Text +"','"+txt_phone .Text +"')";

            con = new OleDbConnection(scon);
            con.Open();
            cmd.Connection = con;
            cmd.CommandText = strquery;
            cmd.ExecuteNonQuery();
            MessageBox.Show("Save Data Successfully");
            cleartext();
       
       
        }
        private void button7_Click(object sender, EventArgs e)
        {
            savedata();
        }

        private void button1_Click(object sender, EventArgs e)
        {
           
        }
    }
}


Post a Comment

3 Comments