Skip to main content

Posts

Showing posts from March, 2022

Breaking News Ticker HTML Code

  In this tutorial, how to create a breaking news ticker HTML code and stylish looks and delay vertical scrolls text.        The breaking news ticker is used to display headlines for the latest news on a webpage and it scrolls from bottom to top .    Create an HTML and CSS use keyframes for animation and the use of animation makes infinite scroll on the full-width bar . Here, I present ticker helps of wrap <li> items vertical instead of a horizontal line.    In the horizontal ticker, it continuously scrolls and we have to wait for a long scroll but in the vertical, the news is separate and easy to read news or post. Read Also: How to create python program to fetch and display the data from sql server database Python Flask tutorial Setting up a Flask and SQL Database Connection   How to create a python flask with mysql database  Python Flask Student List CRUD System Using MySQL Database for Beginners Break...

Python Flask Student List CRUD System Using MySQL Database for Beginners

  In this tutorial, we are going to learn the python flask student list crud system using MySQL database for beginners. Before you have to learn how to python flask setting up and connect MySQL database connection and templates uses.    Read also: Python Flask tutorial Setting up a Flask and Sql Database on the create project folder you have to install two things to fetch data and flask. Here, below code to install using python terminal, and for MySQL, am using xampp software and database inside environment to turn on the apache server and MySQL database.   Read also: Python Flask with Mysql Database Import Flask and MySQL: from flask import Flask, render_template, request, redirect, url_for from flask_mysqldb import MySQL MySQL Database Connection: app = Flask(__name__) app.config['MYSQL_HOST'] = 'localhost' app.config['MYSQL_USER'] = 'root' app.config['MYSQL_PASSWORD'] = '' app.config['MYSQL_DB'] ...

How to create a Python Flask with Mysql Database

  In this tutorial, how to create a python flask with MySQL database. so let's get started.   SQL  SQL is the access and manipulates databases system used to require RDMS like MySQL, Microsoft SQL Server, PostgreSQL , etc.  It's used for all users and easy to learn and the perform various tasks such as:  creating tables  CRUD operations (Create,Read,Update,Delete)   Read also: Python Flask tutorial Setting up a Flask and Sql Database   Install Xampp server  Here, I will work with PHPMyAdmin. Xampp software is the familiar to use in Cpanel most and provides a web interface.  Just download from google or click here to download   After the installation of Xampp.we need two things to start: Apache and MySQL .one thing you have to know is MySQL port is 3306, some time python is not allowed to run Xampp. Before the coding on the Xampp server and know to create the database in PHPMyAdmin here, I already created th...

Python Flask tutorial Setting up a Flask and SQL Database Connection

  In this tutorial, we are going to learn how to Python Flask tutorial Setting up a Flask and SQL Database Connection and how to use templates for HTML pages to show the fetch data in the SQL server database. First of all, we need to install flask and it's too simple to install just " pip install flask " once on your terminal on pycharm or any code editor on your computer, and here am using pycharm.   Read also: How to create python program to fetch and display the data from sql server database   Setting up a Flask pip install flask ok, once the flask is installed, let's check the flask is installed correctly. just type " flask --version " it shows the version on the terminal. Let's make to create a file named main.py and call the flask application " from flask import Flask " and " app = Flask(__name__) " and test the flask with some example code like "hello world". ok, Let's run the flask using...

How to create python program to fetch and display the data from sql server database

In this tutorial ,we will learn how to create python program to fetch and display the data from sql server database.       SQL Server is the most popular and widely used in many different platforms without failure, and in this tutorial, we will show python provides support to work with SQL server databases. python program is simple code and efficient compared to other languages and easy to use and understand.   In the day-to-day life needs to reduce the code and be efficient to work is main the programming and python should give the set of useful libraries and packages to minimize the use of code.    Python need a sql server driver to access the database. Here I have sql server management studio 2018. And just you need to install the driver to add on python in your system environment. pip install pyodbc And install a more readable format to better understand the data. we need to install Tabulate function in python. it's easy to transform well-fo...

Write a code to retrieve data from table into a datagridview in CSharp

  In this tutorial, we are going to learn a code to retrieve data from the table into a datagridview in CSharp. Datagridview control is a powerful way to display data in tabular format.    And you can create a control of datagridview has to show the read-only amount of data and show the editable amount of data by clicking the items to easily control and update it.    Let's started with a few steps and easy to understand what is datagridview in CSharp .    In datagridview control, we have to connect with SQL Server and Microsoft visual studio and get the select the database table to show in the datagridview with some codes.    First, we have to create the database and table, I named it as a phone for table and database name blogger.    Here is the code, create table phone ( id int primary key identity(1,1), firstname varchar(50) not null, lastname varchar(50) not null, mobileno varchar(25) not null, emailid varchar(20...