我们如何使用doChat()将数据保存在数据库中并在文本框中显示消息 [英] How can we use doChat() with save data in database and show message in textbox

查看:140
本文介绍了我们如何使用doChat()将数据保存在数据库中并在文本框中显示消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个应用程序doChat,当我启动线程并从客户端接收数据后调用dochat()时,我想保存此数据并在文本框中显示字符串.在后台保存数据,并在前面显示字符串.


我不知道如何使用线程.我认为它陷入了僵局.

请帮我:(


谢谢

Hi,
I have a application doChat, when I start thread and call dochat() after receiving data from the client I want to save this data and display the string on text box. in background save data and front show the string.


I don''t know how to use thread. I think it goes in deadlock.

Please help me :(


Thank you

推荐答案

如果您不知道如何正确使用线程,请尝试使用
If you don''t know how to properly use threads, then try some of these tutorials.




谢谢大家,我使用代表.它解决了我的问题.


问候
Seema:)
Hi,

Thank You All,I use delegates. It solved my problem.


Regards
Seema :)


这篇关于我们如何使用doChat()将数据保存在数据库中并在文本框中显示消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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