13. One to one Association (method 2)

Demand: query all order information, and associated query order user information. Note: since an order information can only be an order placed by one person, the associated query of user information is one-to-one query starting from the query of order information. If you start from the user information to query the order infor ...

Posted on Thu, 09 Jan 2020 09:53:08 -0800 by cpetercarter

The way of Asp.Net Mvc to upload files asynchronously

Today, I tried the Ajax provided by mvc, and found that the backend action could not receive the file when uploading the file, neither Request.Files nor HttpPostedFileBase could receive the file..... Later, I found that the Ajax provided by mvc does not support file upload, but I can only use other methods The first way: through jQuery's ajaxSu ...

Posted on Wed, 08 Jan 2020 09:23:32 -0800 by loftystew

ScrollView ScrollView ScrollView in Android through Java Code - Example of Lyrics Scroll

scene The results are as follows     Note: Blog: https://blog.csdn.net/badao_liumang_qizhi Focus on Public Number Domineering program ape Get programming-related e-books, tutorial pushes, and free downloads. Realization Change the layout to LinearLayout and set it to vertical through android:orientation="vertical">then add the id ...

Posted on Tue, 07 Jan 2020 09:13:56 -0800 by cheekydump

Python word cloud [Chinese / English] simple introduction to Xiaobai

1. analysis To build a word cloud, you need to: Raw materials are articles, etc Segmentation of content Using the tool of word cloud construction to construct the content after word segmentation Save as picture 2. Main modules required Chinese word segmentation of jieba wordcloud building word cloud 3. Module principle Implementation princi ...

Posted on Tue, 07 Jan 2020 08:44:23 -0800 by AGISB

Record the process of making pypi package for the first time

Preparation 1. Create a project folder mkdir dada_openapi_python cd dada_openapi_python 2. Create package folder A folder of dada open API client is being created in it. The name of this folder is intentionally different from that of the upper directory to avoid misunderstanding. This folder is actually the package name mkdir dada_openapi_clien ...

Posted on Tue, 07 Jan 2020 02:48:00 -0800 by jikishlove

Education System APP

Registration and Login Interface Design Ideas When we are faced with the implementation of login and registration functions, we need to design the layout of login interface and registration interface first, so that we can have a complete idea before we start to achieve better results. We need to make a title bar, the login interface, the funct ...

Posted on Tue, 07 Jan 2020 02:13:17 -0800 by nitestryker

Using Spring AOP to modify request and return parameters

AOP: a technology for aspect oriented programming to achieve unified maintenance of program functions through precompiling and runtime dynamic agents. By using AOP technology, we can expand the corresponding operations on the tangent point in the customized tangent plane, such as printing logs, converting parameters, etc. In production, in or ...

Posted on Tue, 07 Jan 2020 01:02:10 -0800 by amal.barman

Photo album sliding view via ImageSwitcher in Android (with code download)

scene Effect       Note: Blog: https://blog.csdn.net/badao_liumang_qizhi Focus on Public Number Domineering program ape Get programming-related e-books, tutorial pushes, and free downloads. Realization Copy photos that you need to scroll through to res/drawable Only two bg01.jpg and bg02.jpg are prepared here       You need left-in, right- ...

Posted on Mon, 06 Jan 2020 22:20:55 -0800 by mightymaster

android solves the conflict between NestedScrollView and ListView

When you are doing development, many people need to use sliding scrollview, but there will be a conflict between the event of jam and sliding Note to add dependency in the builder file under app, otherwise the control cannot be used compile 'com.android.support.constraint:constraint-layout:1.0.2' This blog implements a comm ...

Posted on Mon, 06 Jan 2020 10:49:37 -0800 by Zack

How to set background + textview with border (fillet)

There are three ways to do this Method 1: There is nothing good about the background picture with transparent picture. Just make a border picture by yourself, and then set the background Add a background for the TextView to which you want to add a border android:background="@drawable/textview_border"  Method two: Set ba ...

Posted on Mon, 06 Jan 2020 09:52:06 -0800 by Brendan Nolan