Click here to Skip to main content
16,005,178 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Copy zip folder to back folder Pin
nlarson1118-Oct-06 5:35
nlarson1118-Oct-06 5:35 
GeneralRe: Copy zip folder to back folder Pin
jds120718-Oct-06 5:51
jds120718-Oct-06 5:51 
GeneralRe: Copy zip folder to back folder Pin
nlarson1118-Oct-06 6:37
nlarson1118-Oct-06 6:37 
GeneralRe: Copy zip folder to back folder Pin
jds120718-Oct-06 7:28
jds120718-Oct-06 7:28 
GeneralRe: Copy zip folder to back folder Pin
Dave Kreskowiak18-Oct-06 7:31
mveDave Kreskowiak18-Oct-06 7:31 
Questionconnecting access database Pin
pusha18-Oct-06 3:41
pusha18-Oct-06 3:41 
AnswerRe: connecting access database Pin
Christian Graus18-Oct-06 4:32
protectorChristian Graus18-Oct-06 4:32 
QuestionDatagridview not refreshing Pin
Rey999918-Oct-06 3:07
Rey999918-Oct-06 3:07 
Hello Everyone.
I hope someone can help me with this problem. i have a datatable bound to a bindingsource, and i display its content through a datagridview in this way:
bindingSource1.DataSource = dataTable1
dataGridView1.DataSource = bindingSource1

My problem is that when i update the data contained in the table through the bindingsource, my datagridview does not refresh and keeps displaying the old values. but the strangest thing is that if i manually sort the datagridview by clicking a column header, the datagrid refreshes and displays the updated values. this occurs only if i manually click on the headers, it does not work if i sort the grid in the code or if i call datagridview1.refresh()

I desperately need the datagrid to update its values as i update the bindingsource, without clicking anything. how can i do that?

Thanks in Advance,
Rey9999

~~~ From Milano to The Hague, easy as it goes ~~~

AnswerRe: Datagridview not refreshing Pin
Sebrell18-Oct-06 5:05
Sebrell18-Oct-06 5:05 
QuestionRe: Datagridview not refreshing Pin
Rey999918-Oct-06 5:28
Rey999918-Oct-06 5:28 
AnswerRe: Datagridview not refreshing [modified] Pin
Sebrell18-Oct-06 8:24
Sebrell18-Oct-06 8:24 
GeneralRe: Datagridview not refreshing Pin
Rey999918-Oct-06 20:40
Rey999918-Oct-06 20:40 
AnswerRe: Datagridview not refreshing Pin
Rey999919-Oct-06 4:34
Rey999919-Oct-06 4:34 
QuestionHow to trap keystrokes in .NET controls by using Visual Basic .NET Pin
hisuman10018-Oct-06 2:42
hisuman10018-Oct-06 2:42 
AnswerRe: How to trap keystrokes in .NET controls by using Visual Basic .NET Pin
nlarson1118-Oct-06 3:35
nlarson1118-Oct-06 3:35 
GeneralRe: How to trap keystrokes in .NET controls by using Visual Basic .NET Pin
hisuman10018-Oct-06 19:00
hisuman10018-Oct-06 19:00 
QuestionScreen Scrape - I think? Pin
TommyACN18-Oct-06 2:17
TommyACN18-Oct-06 2:17 
AnswerRe: Screen Scrape - I think? Pin
Dave Kreskowiak18-Oct-06 3:36
mveDave Kreskowiak18-Oct-06 3:36 
QuestionCreating a simple datagrid Pin
dkoco18-Oct-06 2:06
dkoco18-Oct-06 2:06 
AnswerRe: Creating a simple datagrid Pin
nlarson1118-Oct-06 4:17
nlarson1118-Oct-06 4:17 
QuestionFinding subitems in Listview using LVM_FINDITEM Pin
Pradeepkumar79k18-Oct-06 1:19
Pradeepkumar79k18-Oct-06 1:19 
AnswerRe: Finding subitems in Listview using LVM_FINDITEM Pin
Dave Sexton18-Oct-06 2:44
Dave Sexton18-Oct-06 2:44 
QuestionUpdating a database using an adapter and datagrid Pin
Mark0618-Oct-06 0:57
Mark0618-Oct-06 0:57 
AnswerRe: Updating a database using an adapter and datagrid Pin
chirughosh18-Oct-06 1:07
chirughosh18-Oct-06 1:07 
GeneralRe: Updating a database using an adapter and datagrid Pin
Mark0618-Oct-06 2:04
Mark0618-Oct-06 2:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.