I am using windows forms and VS 2010. I have a datagridview and I want to populate this datagridview with data. I wrote a stored procedure on database and created binding source in my project, from which I call stored procedure. I can even see data in the databinding's preview, but I don't know how to show that data in my datagridview. I have set datasource property in datagridview, but it is still not showing any data. Should I use some extra method to populate datagridview with data from databindings ?
EDIT:
I have used this in my code:
dgvKorisnici.DataSource = bsCM_USER_LIST.DataSource;
Aucun commentaire:
Enregistrer un commentaire