Click here to Skip to main content
15,889,034 members
Home / Discussions / C#
   

C#

 
GeneralRe: PrintPreviewControl and HTML Pin
dSolariuM12-Jun-11 2:33
dSolariuM12-Jun-11 2:33 
AnswerRe: PrintPreviewControl and HTML Pin
Luc Pattyn12-Jun-11 2:55
sitebuilderLuc Pattyn12-Jun-11 2:55 
GeneralRe: PrintPreviewControl and HTML Pin
BobJanova12-Jun-11 22:11
BobJanova12-Jun-11 22:11 
QuestionSuggestions On How To Refactor This Pin
Kevin Marois10-Jun-11 14:02
professionalKevin Marois10-Jun-11 14:02 
AnswerRe: Suggestions On How To Refactor This Pin
BobJanova12-Jun-11 23:44
BobJanova12-Jun-11 23:44 
QuestionSaving changed data from a BindingSource Pin
tekturtle10-Jun-11 4:26
tekturtle10-Jun-11 4:26 
AnswerRe: Saving changed data from a BindingSource Pin
BobJanova10-Jun-11 6:05
BobJanova10-Jun-11 6:05 
GeneralRe: Saving changed data from a BindingSource Pin
tekturtle10-Jun-11 10:04
tekturtle10-Jun-11 10:04 
I'm not sure what you mean by "show ActiveFillBy and ActiveGetDataBy". They are queries attached to the htcTableAdapter in the dataset designer. However, I stumbled upon a way to make it work, but I'm not sure exactly why it works. If I alter the code like this before the UpdateAll, then it works:
this.htcActiveBindingSource.EndEdit();
this.htcTableAdapter.Update((cramdDataSet.htcRow)((DataRowView)this.htcActiveBindingSource.Current).Row);

I get what the update is doing: taking the current row from the BindingSource and applying it back to the TableAdapter. What I don't get is the parameter value (starting w/ the first double parentheses). I found that online somewhere a while ago, but I don't understand what it is doing. Is there a better way to pass the current row into the update? More importantly, is there a way to pass the entire set of rows from the binding source? The vetActiveBindingSource and vetCancelledBindingSource can have multiple records in them that can all be edited. Since one overload of the BindingSource.Update method can take a collection of rows, I'd rather do it like that, rather than looping thru all the records and passing them in one at a time. I looked thru the BindingSource properties and methods but didn't see anything that looked promising.
GeneralRe: Saving changed data from a BindingSource Pin
BobJanova12-Jun-11 22:14
BobJanova12-Jun-11 22:14 
GeneralRe: Saving changed data from a BindingSource Pin
tekturtle15-Jun-11 11:57
tekturtle15-Jun-11 11:57 
GeneralRe: Saving changed data from a BindingSource [modified] Pin
BobJanova15-Jun-11 13:20
BobJanova15-Jun-11 13:20 
Questionsetup - include driver installation Pin
lukeer10-Jun-11 2:10
lukeer10-Jun-11 2:10 
AnswerRe: setup - include driver installation Pin
Dave Kreskowiak10-Jun-11 3:05
mveDave Kreskowiak10-Jun-11 3:05 
GeneralRe: setup - include driver installation Pin
lukeer10-Jun-11 3:31
lukeer10-Jun-11 3:31 
GeneralRe: setup - include driver installation Pin
Dave Kreskowiak10-Jun-11 3:53
mveDave Kreskowiak10-Jun-11 3:53 
QuestionList Of DataRow Pin
om_metab9-Jun-11 22:50
om_metab9-Jun-11 22:50 
AnswerRe: List Of DataRow Pin
V.9-Jun-11 22:57
professionalV.9-Jun-11 22:57 
AnswerRe: List Of DataRow Pin
BobJanova9-Jun-11 23:47
BobJanova9-Jun-11 23:47 
AnswerRe: List Of DataRow Pin
Pete O'Hanlon10-Jun-11 0:13
mvePete O'Hanlon10-Jun-11 0:13 
GeneralRe: List Of DataRow Pin
om_metab10-Jun-11 0:35
om_metab10-Jun-11 0:35 
QuestionDetecting USB devices Pin
majamer9-Jun-11 21:46
majamer9-Jun-11 21:46 
AnswerRe: Detecting USB devices Pin
Kim Togo10-Jun-11 0:23
professionalKim Togo10-Jun-11 0:23 
GeneralRe: Detecting USB devices Pin
majamer13-Jun-11 3:17
majamer13-Jun-11 3:17 
QuestionCopying List into KeyValuePair Pin
AmbiguousName9-Jun-11 20:38
AmbiguousName9-Jun-11 20:38 
AnswerRe: Copying List into KeyValuePair Pin
Pete O'Hanlon9-Jun-11 23:24
mvePete O'Hanlon9-Jun-11 23: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.