Click here to Skip to main content
15,920,687 members
Home / Discussions / C#
   

C#

 
GeneralRe: Code editor is not organizing my code Pin
leppie30-Jan-06 1:40
leppie30-Jan-06 1:40 
QuestionC#,Close Excel whitout the save as dialog Pin
jzb29-Jan-06 20:43
jzb29-Jan-06 20:43 
AnswerRe: C#,Close Excel whitout the save as dialog Pin
Guffa29-Jan-06 21:02
Guffa29-Jan-06 21:02 
AnswerRe: C#,Close Excel whitout the save as dialog Pin
AB777129-Jan-06 23:11
AB777129-Jan-06 23:11 
GeneralRe: C#,Close Excel whitout the save as dialog Pin
jzb30-Jan-06 20:14
jzb30-Jan-06 20:14 
AnswerRe: C#,Close Excel whitout the save as dialog Pin
Drew McGhie30-Jan-06 3:35
Drew McGhie30-Jan-06 3:35 
QuestionPassing Data Pin
bootn29-Jan-06 17:15
bootn29-Jan-06 17:15 
AnswerRe: Passing Data Pin
Colin Angus Mackay29-Jan-06 17:40
Colin Angus Mackay29-Jan-06 17:40 
GeneralRe: Passing Data Pin
bootn29-Jan-06 17:51
bootn29-Jan-06 17:51 
GeneralRe: Passing Data Pin
Colin Angus Mackay29-Jan-06 18:04
Colin Angus Mackay29-Jan-06 18:04 
GeneralRe: Passing Data Pin
bootn29-Jan-06 20:15
bootn29-Jan-06 20:15 
QuestionThread NOT aborting nicely!!!! Pin
WetRivrRat29-Jan-06 17:13
WetRivrRat29-Jan-06 17:13 
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 

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.