Sunday, August 27, 2023

How to enable or disable microphone in windows - google meet or another software

 > In the right corner of taskbar

> Right click on speaker settings

>Click on Open sound settigns

>Click on manage sound devices under (Test your microphone)

>Click on microphone (enable or disable)

Wednesday, August 23, 2023

How to create new user - new account in Window 10

 > Go to control panel

> Go to User accounts

>Click on manage another account

>Click on Add a new user in PC setting

>Click on Add some one else on this PC

> Give the name , password and security questions

> If it asks for phone number etc just skip(I don't have the person information and Click on Add a new user without a microsoft account)

Monday, August 7, 2023

Google API - API Key - API code in different languages - How to create api key

 https://github.com/youtube/api-samples


https://developers.google.com/youtube/v3/docs/?apix=true


Go to credentials menu and there you can create API key.

MYSQL insert update and delete in asp.net c# - with connection string

   private string conString = @"server=localhost;database=stamppaper;port=3306;username=root;password=;SslMode=none";


private void BindGrid()

        {

            using (MySqlConnection con = new MySqlConnection(conString))

            {

                using (MySqlCommand cmd = new MySqlCommand("SELECT * FROM Stamp", con))

                {

                    cmd.CommandType = CommandType.Text;

                    using (MySqlDataAdapter sda = new MySqlDataAdapter(cmd))

                    {

                        using (DataTable dt = new DataTable())

                        {

                            sda.Fill(dt);

                            grdStamp.DataSource = dt;


                            grdStamp.Columns[0].HeaderCell.Value = "Sr. No.";