UrbanPro

Learn .NET MVC from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

How to insert the list View data to database SQL using C# windows form?

Asked by Last Modified  

Follow 2
Answer

Please enter your answer

Trainer

Your SQL should look like: SqlCommand cmd = new SqlCommand("insert into AMICIZIA (IdUtente1) values('" + l.Text; + "')", myconn);
Comments

Trainer

Your SQL should look like: SqlCommand cmd = new SqlCommand("insert into AMICIZIA (IdUtente1) values('" + l.Text; + "')", myconn);
Comments

IT Business Owner and Trainer with 15 plus years of coding experience

Loop through each item and insert one at a time if you need separate rows for each item. Else, concatenate as a string into a single column in the database table. Also, it depends on how you want to store data.
Comments

View 1 more Answers

Related Questions

What is dot net MVC?
It is a design pattern. .NET MVC is a successful template above asp.net framework. .NET MVC is used to develop web applications from the scratch
Tina
How to use .net mvc?
visual studio 2012 or after that version supports mvc application, but you should also need to understand razor view, html5, linq for working on mvc.
Jayant
When do you use Html.Action over Html.Partial ?
Html.Action() will call action method. e.g. Html.Action("Test") Html.Partial() just renders partial view. e.g Html.Partial("PartialName");
JK IT Training
what is asp .net in future
No future in asp.net, only Future in MVC.Net. Thanks
Ajaz

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

ASP.NET Web API 2 action method return types
Here, in this article we will learn ASP.NET Web API 2 action method return types. A Web API 2 action method return types can be any of the following : Void HttpResponseMessage IHttpActionResult Other...

ASP.Net MVC 5 Error: The controller for path '/' was not found or does not implement IController
When a page, that is located inside an area, wants to access a controller that is located outside of this area (such as a shared layout page or a certain page inside a different area), the area of this...
M

Mohammad Shafi

0 0
0

Steps to fill drop-down value from database to view page in ASP.Net MVC Application
In simple few steps you can fill the dynamic data from database to HTML page in MVC Application Write connection string in web config file Create table related getter setter in model Fetch data...

Trends in .Net Platform
.NET Framework is a software framework developed by Microsoft. It includes a large class library named Framework Class Library (FCL) and provides language interoperability (each language can use code written...

Be prepared to get trained--init
Before starting the training,students must be mentally prepared for acceptance of new knowledge. Students must attend training with open minded forgetting the position they are working.This will help...
S

Smartnub Softsolutions

0 0
0

Looking for .NET MVC ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for .NET MVC Classes?

The best tutors for .NET MVC Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn .NET MVC with the Best Tutors

The best Tutors for .NET MVC Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more