Click here to Skip to main content
15,895,740 members
Home / Discussions / C#
   

C#

 
AnswerRe: Thread NOT aborting nicely!!!! Pin
leppie29-Jan-06 18:34
leppie29-Jan-06 18:34 
GeneralRe: Thread NOT aborting nicely!!!! Pin
WetRivrRat30-Jan-06 2:32
WetRivrRat30-Jan-06 2:32 
GeneralRe: Thread NOT aborting nicely!!!! Pin
WetRivrRat30-Jan-06 3:59
WetRivrRat30-Jan-06 3:59 
QuestionRefreshing DataSet Pin
emran83429-Jan-06 13:57
emran83429-Jan-06 13:57 
AnswerRe: Refreshing DataSet Pin
imsathy29-Jan-06 20:12
imsathy29-Jan-06 20:12 
GeneralRe: Refreshing DataSet Pin
emran83430-Jan-06 5:58
emran83430-Jan-06 5:58 
AnswerRe: Refreshing DataSet Pin
Drew McGhie30-Jan-06 3:38
Drew McGhie30-Jan-06 3:38 
GeneralRe: Refreshing DataSet Pin
emran83430-Jan-06 6:14
emran83430-Jan-06 6:14 
Hi Drew McGhie,
Thanks for responding to my request.

I have tried with myDataGrid.Refresh(), but still i dont see any updates. In order to specify my problem more accurately, I am quoting the reply here That I replid to Sathy.

Ok, I am working on Windows Form. I have a Combo Box which is bounded with a dataSource named "MyDataBindingSource" and I have a DataGrid named "MyDataGrid" which is also bounded with the same dataSource "MyDataBindingSource" . Now, In order to Insert new Row or Delete existing row I use an external button which manually open database connection, Insert or Delete Rows and then close the Connection. After performing this task, I am having hard time to Update my that Combo Box and that DataGrid with the new data. I am trying so many approoach like, myTableAdapter.fill(myDataSet.MyTable) but nothing is being updated. Looks like all data which is available in the main datasource is staying in Cache and When I restart the application, then i see the new data available both in combo box and dataGrid. So, that means, My user will have to restart the application everytime they insert or delete rows and if they want to see the effect.

Please help me, I think i am missing some snippet of code which can solve this issue but as I am new, I dont know.

I appreciate your time, Thanks and regards
Emran.

GeneralRe: Refreshing DataSet Pin
Drew McGhie30-Jan-06 10:15
Drew McGhie30-Jan-06 10:15 
GeneralRe: Refreshing DataSet Pin
emran83430-Jan-06 11:52
emran83430-Jan-06 11:52 
GeneralRe: Refreshing DataSet Pin
imsathy30-Jan-06 18:27
imsathy30-Jan-06 18:27 
GeneralRe: Successful but had to modify little. Pin
emran83431-Jan-06 17:04
emran83431-Jan-06 17:04 
Questionsql server license Pin
fmardani29-Jan-06 12:54
fmardani29-Jan-06 12:54 
AnswerRe: sql server license Pin
bootn29-Jan-06 17:21
bootn29-Jan-06 17:21 
AnswerRe: sql server license Pin
Dario Solera29-Jan-06 22:22
Dario Solera29-Jan-06 22:22 
QuestionAudio Problem Pin
snouto29-Jan-06 12:44
snouto29-Jan-06 12:44 
QuestionWindows Media Player Remote Control Pin
pittuck29-Jan-06 12:32
pittuck29-Jan-06 12:32 
QuestionMigration from .NET 1.1 to 2.0 Pin
MrEyes29-Jan-06 11:28
MrEyes29-Jan-06 11:28 
AnswerRe: Migration from .NET 1.1 to 2.0 Pin
User 665829-Jan-06 11:39
User 665829-Jan-06 11:39 
AnswerRe: Migration from .NET 1.1 to 2.0 Pin
leppie29-Jan-06 17:56
leppie29-Jan-06 17:56 
QuestionDatabase search Pin
BH Serpa29-Jan-06 10:36
BH Serpa29-Jan-06 10:36 
QuestionWPF in VSTS ? Pin
Christian Graus29-Jan-06 9:53
protectorChristian Graus29-Jan-06 9:53 
AnswerRe: WPF in VSTS ? Pin
User 665829-Jan-06 10:14
User 665829-Jan-06 10:14 
AnswerRe: WPF in VSTS ? Pin
Joshua Quick29-Jan-06 10:18
Joshua Quick29-Jan-06 10:18 
GeneralRe: WPF in VSTS ? Pin
Christian Graus29-Jan-06 10:31
protectorChristian Graus29-Jan-06 10:31 

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.