想要帮助用ASP.NET和SQL Server开发网站 [英] Want help in developing website with ASP.NET and sql server

查看:90
本文介绍了想要帮助用ASP.NET和SQL Server开发网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想保存数据库中的产品名称,联系电话等某些详细信息,并在网页上检索。我想从用户填写网页详细信息并点击提交按钮的用户处获取详细信息。详细信息应该转到数据库,应该可以在webpahe上看到。



请提供提交按钮代码,该代码可以捕获详细信息并将其保存到数据库中

还提供在网页上检索数据的代码。



谢谢你

I want to save certain details like product name , contact number in the database and retrieve it on the webpage. i want to take details from the user where user fill in details on webpage and clicks submit button. details should go to database and should be visible on webpahe.

Kindly provide me the submit button code which captures details and save it to dataase
also provide code for retrieval of data on webpage.

thank you

推荐答案

你可以插入详细信息到您的数据库&检索要在asp.net中的CRUD操作中显示的数据。以下是完成数据插入和数据插入要求的基本示例。在网页上获取数据。



查看以下链接。谢谢。





ASP.NET GridView:CRUD操作 [ ^ ]





http://www.c-sharpcorner.com/uploadfile/ raj1979 / select-add-update-and-delete-data-in-a-Asp-net-gridview-control / [ ^ ]
You can insert the details to your database & retrieve data to display from CRUD operations in asp.net. Here are basic examples to do so which fulfill your requirement of data insertion & get data on webpage.

Look into below links. Thanks.


ASP.NET GridView: CRUD Operations[^]


http://www.c-sharpcorner.com/uploadfile/raj1979/select-add-update-and-delete-data-in-a-Asp-Net-gridview-control/[^]


这篇关于想要帮助用ASP.NET和SQL Server开发网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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