Click here to Skip to main content
15,892,298 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Inheriting CommonDialog / implementing CommonDialog::RunDialog() Pin
Robert Rohde21-May-05 0:50
Robert Rohde21-May-05 0:50 
GeneralRe: Inheriting CommonDialog / implementing CommonDialog::RunDialog() Pin
zorifila23-May-05 6:07
zorifila23-May-05 6:07 
Generalfile uploading and downloaidng in vb.net with FTP Pin
Kurasala Karuna Das20-May-05 4:57
Kurasala Karuna Das20-May-05 4:57 
GeneralADOCE.NET Pin
Abbas_Riazi20-May-05 0:15
professionalAbbas_Riazi20-May-05 0:15 
GeneralWhy any of the mouse events not working on lonhorn? :-( Pin
mmsspp19-May-05 22:14
mmsspp19-May-05 22:14 
GeneralInterop Call to FindWindow() Pin
RFID Chris19-May-05 13:34
RFID Chris19-May-05 13:34 
GeneralMy blog! Pin
Carl Mercier19-May-05 9:25
Carl Mercier19-May-05 9:25 
GeneralProblem in Compact Framework with DataGrid Pin
gnewtzie19-May-05 4:07
gnewtzie19-May-05 4:07 
I have a problem with setting the datasource property of a datagrid in the compact framework 1.0.

Here's the senario:

I'm making an asyncronous web service call that returns a dataset with one table. This could be any data in the table. From within the thread for the web service call, I want to get the data and then set the datasource property of the datagrid to ds1.Tables[0];. When reaching that line of code the entire application hangs. I have to stop debugging to return to normal state. Now I at first thought this was a problem with my coding, but the more I delve into it I find that it seems to be a threading problem in the framework. I do not have this problem with any other control, be it a listview, combobox... I can set their display member property while in the other thread with no problem. Now I can change the web service call syncronous and it works fine. The problem seems to center around the thread issue. Has anyone seen this before on a datagrid? Also this problem is inherited by ComponentOne's mobile datagrid since it does the same thing. I have tried converting the dataset to an arraylist and loading it that way... no juice... I have tried creating another dataset at intialization and creating a dumby table with the same charitoristic as the one coming from the web service. set the datasource property of the datagrid to the table, then in the asycronous web service call actually use the dataset.ImportRow in a foreach statement from the dataset the webservice call returns and it will hang on the first record. I guess because the secondary thread is trying to change the datagrid...

Any suggestions?
General64 bit Platform Pin
sukasukabo19-May-05 0:29
sukasukabo19-May-05 0:29 
GeneralReference variables aready initialized Pin
KaptinKrunch18-May-05 8:38
KaptinKrunch18-May-05 8:38 
GeneralRe: Reference variables aready initialized Pin
Robert Rohde18-May-05 8:52
Robert Rohde18-May-05 8:52 
GeneralRe: Reference variables aready initialized Pin
KaptinKrunch18-May-05 11:08
KaptinKrunch18-May-05 11:08 
GeneralRe: Reference variables aready initialized Pin
Marc Clifton18-May-05 9:32
mvaMarc Clifton18-May-05 9:32 
General.net Setup Project......want to read registry key Pin
Stakale18-May-05 7:35
Stakale18-May-05 7:35 
GeneralRe: .net Setup Project......want to read registry key Pin
MoustafaS18-May-05 8:00
MoustafaS18-May-05 8:00 
GeneralDeserialization from an unserialized file Pin
eussam18-May-05 4:30
eussam18-May-05 4:30 
GeneralRe: Deserialization from an unserialized file Pin
S. Senthil Kumar18-May-05 5:51
S. Senthil Kumar18-May-05 5:51 
GeneralRe: Deserialization from an unserialized file Pin
eussam18-May-05 6:10
eussam18-May-05 6:10 
General.Net file format Pin
852y3agnna18-May-05 1:18
852y3agnna18-May-05 1:18 
GeneralRe: .Net file format Pin
Mike Dimmick18-May-05 1:43
Mike Dimmick18-May-05 1:43 
GeneralCustom toolbar control in .Net framework Pin
agrafov17-May-05 9:59
agrafov17-May-05 9:59 
GeneralRe: Custom toolbar control in .Net framework Pin
John Arlen117-May-05 10:23
John Arlen117-May-05 10:23 
GeneralRe: Custom toolbar control in .Net framework Pin
Carl Mercier17-May-05 11:13
Carl Mercier17-May-05 11:13 
GeneralRe: Custom toolbar control in .Net framework Pin
Sebrell22-May-05 15:50
Sebrell22-May-05 15:50 
GeneralDetermining logon provider Pin
Ryan McCauley17-May-05 6:24
Ryan McCauley17-May-05 6:24 

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.