473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to display SharePoint List items on windows form datagridview C#

I am a junior developer. I am bit new to C# coding. I am developing a windows application in c# that business wants me to able to sync existing SharePoint List items in the app.

I have used the data source connection wizard on the datagridview control to successfully link the sharePoint List.

However, when I load the form, I could only see the columns displaying on the datagridview but not the data that currently exist on the sharePoint.

I am stuck in how to code this. I was hoping something like what happens in MS Access happens when i load the datagridview put i am not successful.

I don't have a code to start with. I hope to get some assistance in this. Thank you in advance.
Nov 5 '19 #1
1 2310
SioSio
272 256MB
Is AutoGenerateColumns of datagridview set to false?
It seems that the description of AutoGenerateColumns = false is added to Designer.cs when DataSource is set to DataGridView in the designer.
Dec 26 '19 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: owais | last post by:
H I want to display progress bar during execution of windows form. When I execute DTS package the form will idle till the DTS package finishes Please help me in this regard. its an urgen ...
0
by: phamtasmic | last post by:
Hello, I followed MSDN direction to format a datagrid at run time (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconintroductiontothedatagridcontrol.asp). The...
1
by: Val | last post by:
I am just tryong to figure out how to display images in a Windows Form DataGrid. I would apreciate help and code samples. Thanks a lot.
1
by: Diego | last post by:
I need to display a list of ojects (containing few fields like name, surname, adress) in a Grid, is it possible to directly bind the list of objects with the DataGridView? Thanks, Diego
4
by: Dennis | last post by:
Is there any way I can display an html string in a windows form or windows form control like a rich text box. Note, I'm using windows forms, not the web. Thanks for any help. -- Dennis in...
0
by: anate | last post by:
Hi, I would like to display the treeview in windows form always expanded and readonly mode. ExpandAll() is working fine. I have set the Enabled property to false.But it's displaying the fading...
1
by: N4t4lie | last post by:
Hi there, I was wondering if anyone could help me? I have a program which has a form that should display 10 items which are held in a list. This program works fine when its created and run as a...
5
by: Tempo | last post by:
I have a list box control on an Access 2007 Form called "lstReports". I would like to populate this list box with report names like: rptMaintParts, rptMaintWorkorders, rptMaintParts On Order, etc....
3
by: ucu13 | last post by:
I have to display google maps in a windows form. I managed to display the map in the form like this link:...
0
by: Wan Fai | last post by:
I am a beginner in C#. I am curious to know how can I display a ListBox outside of Forms Application. For example, there is one software I heard called "Co:Writer" and its actually a ListBox with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.