我如何在文件功能后面编码 [英] how i can code behind file function

查看:46
本文介绍了我如何在文件功能后面编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个带有所有html控件的小型asp.net应用程序.我需要在html输入按钮单击上调用c#文件的功能,以将数据插入数据库.这对我来说很重要请尽快给我答复.

I am developing a small asp.net application with all html controls. I need to call a function of c# file on html input button click for inserting data into a database. It''s very important for me please give me reply as possible as quick. Thanks.

推荐答案

a)为什么不为此目的使用asp.net文件上传控件?
b)如果必须,您需要添加id="whatever" runat="server"并创建OnClick事件.
c)尽量不要在问题中使用txtspk或请求快速答复.这里的每个人都和您一样忙于解决自己的问题:不要提出要求!
a) Why not use the asp.net file upload control for this purpose?
b) if you must you''d need to add id="whatever" runat="server" and create an OnClick event.
c) Try not to use txtspk in questions or beg for a quick reply. Everyone here is just as busy as you with their own issues: don''t make demands!


这篇关于我如何在文件功能后面编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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