如何制作一个从数据库导入数据的简单工具 [英] How to make a simple tool to import data from database

查看:104
本文介绍了如何制作一个从数据库导入数据的简单工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



我是编程初学者,我想制作一个简单的工具来帮助我完成工作。



我会尝试尽可能多地描述我想要的东西。



该程序将包含一些列表。我们假设我们将有两个列表。第一个列表是类号。 1,2,3,...等第二个列表包含一些名字Ahmed,Osama,...等这些数据是从数据库导入的



我会还有一个面板,所以当用户从第一个列表和第二个列表中选择一个选项并按下生成代码时,应该根据数据库中提供的信息在此面板中生成代码。



所以当用户选择1和Osama并按下面板中的生成时。

Hello

I am a beginner in programming and I want to make a simple tool to help me in my work.

I will try to describe what I want as much as I can.

The program will consists of some lists. Let's assume that we will have two lists. The first list is the class no. 1,2,3, ... etc and the second list contains some names Ahmed, Osama , ... etc these data are imported from the database

I will have also a panel so when the user select a choice from the first list and the second list and press generate a code should be generated in this panel according to the the information provided in the database.

so when the user selects 1 and Osama and press generated in the panel.

推荐答案

制作一个带有两个单一可选列表和生成按钮。



如果按下按钮,则询问列表中的所选项目并将其写入数据库。



PLZ:谷歌提供一些示例代码。
make an app with two single selectable lists and a generate button.

If the button is pressed than ask the lists for its selected item and write them to the database.

PLZ: Google for some sample code.


这篇关于如何制作一个从数据库导入数据的简单工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆