我不知道代码! :( [英] I don't know the code! :(

查看:92
本文介绍了我不知道代码! :(的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

向大家致意,

我是VB.NET的新手,我需要创建一个项目:我需要找到一种方法,当我按下一个特定的按钮,它去获取数据库单元格的内容(我在SQL Server 17上有它并在VS上连接)并将其粘贴到按钮文本(以文本框提供
),然后我可以用它来计算。

I'm completely new to VB.NET, and I need to make a project: I need to find a way that when I press a specific button, it goes and fetches the content of a database cell (I have it on SQL Server 17 and connected on VS) and pastes it unto a button text(serving as textbox), so then I can use it to calculate.

(这是商店的计算器:我将按钮X编程为一个值,当客户要求该产品和/或更多时,我们只需按下该键:例如牛奶3€和3,00出现在文本框中,然后我按下按钮Y用于谷物,它在屏幕上给出1,00€
,按等按钮显示4,00。)  ;

我谷歌很多,我几乎找不到任何类似的东西,只是查询,查询和查询。我可以获得关于标记捕获内容的创业公司吗?以及如何从数据库中捕获内容。

I've google alot and I can find barely anything similiar, just query and query and query. Can I get a startup on what tags catch content? And how to make those catch content from a DB.

尝试了类似的事情

  Private Sub Cinz11_Click(sender As Object, e As EventArgs) Handles Cinz11.Click

        Dim SQL As String = "SELECT 1 FROM bcinz1 WHERE 1 IS NOT NULL;"
        While Dim reader As SqlDataReader = String
        RCT.Text = 0
            RCT.Text = String

        End While

    End Sub


来自网上的剪贴簿,但这不合法,我是neaR吗?

From scraps online, but that's not legit the thing, am I neaR?

提前致谢。

推荐答案

嗨Fmdsma,

Hi Fmdsma,

感谢您在此发帖。

根据您的问题更多转发给VB,我会将其移至
Visual Basic
 论坛以获得合适的支持。

According to your question is more relayed to VB, I will move it to Visual Basic forum for suitable support.

CLR论坛讨论并提出有关.NET Framework基类(BCL)的问题,例如集合,I / O,Regigistry,Globalization,Reflection。还讨论了构建或扩展.NET Framework的所有其他Microsoft库,包括Managed
可扩展性框架(MEF),图表控件,CardSpace,Windows Identity Foundation(WIF),销售点(POS),事务处理。

The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

最好的问候,

Wendy


这篇关于我不知道代码! :(的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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