Brett
Brett

Reputation: 391

How to write ASP.NET webform data to SQL

I am a total beginner of ASP.NET. I have created a webform in Visual Studio and now I need to figure out how to make the webform submit the data to a record in SQL. I assume there are thousands of tutorials out there for this but I can't seem to find any. Everything I find seems wildly over-complicated to just simply write data to a record. (or maybe its just my lack of understanding .NET that makes it seem over-complicated.)

I dont need to exchange data, or update live data on a page form the db, I just need to write the data to a record.

Can anyone point me in the right direction?

Upvotes: 0

Views: 1556

Answers (2)

Icaro Camelo
Icaro Camelo

Reputation: 382

You could use the scaffolding feature to generate your application.

All you need to do is setup your connection string (pointing to your database) and follow this tutorial (http://www.c-sharpcorner.com/UploadFile/4b0136/getting-started-with-web-forms-scaffolding-in-Asp-Net/).

As simple as this!

Upvotes: 1

Related Questions