Click here to Skip to main content
11,805,035 members (65,976 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: SQL-server-2005 C# SQL-Server , +
i have a list view(listView1) which has 5 rows.
i want to insert those 5 rows in to database.
how is it possible
is it possible to edit listview and update the database accordingly

thanks in advance

Posted 5-Mar-13 4:50am
ThePhantomUpvoter at 5-Mar-13 10:53am
It is possible by connecting to your database and running an INSERT query with your data.
Sandeep Mewara at 5-Mar-13 11:25am
Yes possible. Now, please try out and post specific issue if you face any.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

For this datagridview have much bate option .

by this you can do more the your expectation
Nelek at 5-Mar-13 19:15pm
Don't forget that you can use the "have a question or comment?". This is a bit vague to be a solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 305
1 Sergey Alexandrovich Kryukov 268
2 CPallini 210
3 Richard Deeming 190
4 CHill60 150
0 OriginalGriff 3,255
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,855
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 5 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100