如何保存用户定义的条目..? [英] How to save user defined entries..?
问题描述
我已经使用HTML编码创建了一个网页,现在我需要通过此页面访问我的sqlite数据库。我的意思是,如果我在表中添加应该直接添加到我的数据库中的新条目。就像远程访问一样。
我的代码,我在其中创建了用于输入数据的文本字段..但我无法定义提交按钮的操作以保存这个数据在表格(手动创建)或我的数据库表格中..
< FORM METHOD =LINKACTION =C:\ Users \Om\Desktop\biometric5.html>
< INPUT TYPE =submit VALUE =添加>
< / FORM>
< FORM METHOD =LINKACTION =C: \ Users \Om\Desktop\biometric5.html>
< INPUT TYPE =submitVALUE =Delete>
< / FORM>
< / FORM>
Id | 名称 | Phone_no | 指定 | Security_level | 照片 |
---|---|---|---|---|---|
< INPUT id =人[N.Id]> | < INPUT name =person [N.fname]> | < INPUT phone_no。=person [N.phone_no]> | < INPUT designation =person [N.Designation]> | < INPUT security_level =person [N.Security_level]> | < INPUT表单操作= UploadServlet方法= post enctype =multipart / form-data < input type =filename =filesize = 50/> < / form> |
< FORM display:inline-blocktext-align: 正确METHOD =LINK>
< INPUT TYPE =submitname =buttonid =buttonönclick=window.location ='file:/// C :/Users/Om/Desktop/Biometric2.html; VALUE =提交>
< / form>
< / form>
请
help
阅读以下博客并搜索您的解决方案
https:/ /kenai.com/projects/ahstsa [ ^ ]
i have created a web page using HTML coding now i need to access my sqlite database through this page. i mean if i add new entry in table that should be directly added into my database. just like remote access.
My Code in which i have created text fields for entering data.. but i couldn't able to define the action for submit button to save this data in table(manually created) or in my database table..
<FORM METHOD="LINK" ACTION="C:\Users\Om\Desktop\biometric5.html">
<INPUT TYPE="submit" VALUE="Add">
</FORM>
<FORM METHOD="LINK" ACTION="C:\Users\Om\Desktop\biometric5.html">
<INPUT TYPE="submit" VALUE="Delete">
</FORM>
</FORM>
Id | Name | Phone_no | Designation | Security_level | Photo |
---|---|---|---|---|---|
<INPUT id="person[N.Id]"> | <INPUT name="person[N.fname]"> | <INPUT phone_no.="person[N.phone_no]"> | <INPUT designation="person[N.Designation]"> | <INPUT security_level="person[N.Security_level]"> | <INPUT form action=UploadServlet method=post enctype="multipart/form-data" <input type="file" name="file" size="50" /> </form> |
<FORM display:"inline-block" text-align:"right" METHOD="LINK" >
<INPUT TYPE="submit" name="button" id="button" önclick="window.location='file:///C:/Users/Om/Desktop/Biometric2.html"; VALUE="Submit">
</form>
</form>
Please
help
Read below blog and search your solution
https://kenai.com/projects/ahstsa[^]
这篇关于如何保存用户定义的条目..?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!