如何隐藏客户端ID并将其显示在消息框中? [英] How to hide a client ID and show it in messsage box?

查看:109
本文介绍了如何隐藏客户端ID并将其显示在消息框中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的...我需要隐藏客户端的ID号,但是当我将其他数据(例如姓名,地点,电话,职业)插入数据库时​​,我需要一个消息框来说; 这是客户号码95";并且此号码必须自动保存在数据库中:),而其他客户号码必须自动为96,请:)

我与数据库有关.

Hi, I''m new here... I need to hide an ID number of the client but when I insert other data into the database like name, place, phone, occupation I need a message box to say; "This was client number 95"; and this number must be automatically saved in the database :) and for the other client number must be 96 automatically please :)

I have connection with database.

推荐答案

假设(基于此处的评论)您的核心问题是id字段是自动生成的,并且您想访问插入操作后使用此值,请看一下本文:

http://msdn.microsoft.com/en-us/library/ks9f57t0 (v = VS.100).aspx [
Assuming (based on the comments here) that your core issue is that your id field is auto-generated, and you want to access this value after an insert operation, take a look at this article:

http://msdn.microsoft.com/en-us/library/ks9f57t0(v=VS.100).aspx[^]


这篇关于如何隐藏客户端ID并将其显示在消息框中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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