Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
Questionloop dictionary Pin
arkiboys8-May-07 5:39
arkiboys8-May-07 5:39 
AnswerRe: loop dictionary Pin
Judah Gabriel Himango8-May-07 5:57
sponsorJudah Gabriel Himango8-May-07 5:57 
AnswerRe: loop dictionary Pin
Martin#8-May-07 6:06
Martin#8-May-07 6:06 
QuestionCreating a Windows Service account... Pin
ccitt8-May-07 5:19
ccitt8-May-07 5:19 
AnswerRe: Creating a Windows Service account... Pin
ccitt8-May-07 6:45
ccitt8-May-07 6:45 
Questionproblem to change color of custom words in RichTextBox Pin
hdv2128-May-07 5:17
hdv2128-May-07 5:17 
AnswerRe: problem to change color of custom words in RichTextBox Pin
Judah Gabriel Himango8-May-07 5:24
sponsorJudah Gabriel Himango8-May-07 5:24 
QuestionPlease Help Me: DataBinding Pin
Phoenix1018-May-07 4:44
Phoenix1018-May-07 4:44 
Hey everyone,
I have a dataset which stores the results of a query that retrieves information from three tables Wink | ;) . The thing is i bound it to a binding navigator and now i want to display the fields in text boxes or labels Sigh | :sigh: . My problem is, i dont know how to bind the navigator to the text boxes. The navigor has information in it, 3 records to be exact which was returned from my query, but now i dont know how to view it in a series of text boxes Cry | :(( .

This is a code sample:
where bs is my binding source,
bngLoop is my binding Navigator,
and ds is my data set;

{
ds.Load(read, LoadOption.OverwriteChanges,
new string[{ "Result" });

bs.DataMember = "Result";
bs.DataSource = ds;


bngLoop.BindingSource = bs;

txtName.DataBindings.Add(new Binding("Text", bs, "Result.Client_Name", false));
}

i keep on getting this error:
DataMember Property 'Result' cannot be found on the DataSource.

Please help me


Phoenix



Phoenix

QuestionPropertyGrid & TimeSpan type Pin
michaelbarner8-May-07 4:34
michaelbarner8-May-07 4:34 
AnswerRe: PropertyGrid & TimeSpan type Pin
visualhint31-May-07 3:18
visualhint31-May-07 3:18 
QuestionReflections Pin
eunderwo008-May-07 4:31
eunderwo008-May-07 4:31 
AnswerRe: Reflections Pin
Jon Hulatt8-May-07 4:53
Jon Hulatt8-May-07 4:53 
GeneralRe: Reflections Pin
Paul Conrad12-May-07 11:08
professionalPaul Conrad12-May-07 11:08 
AnswerRe: Reflections Pin
Colin Angus Mackay12-May-07 7:54
Colin Angus Mackay12-May-07 7:54 
Questionhow to toggle network connection in c# Pin
aviron1238-May-07 4:09
aviron1238-May-07 4:09 
AnswerRe: how to toggle network connection in c# Pin
Paul Brower8-May-07 4:27
Paul Brower8-May-07 4:27 
GeneralRe: how to toggle network connection in c# Pin
aviron1239-May-07 5:16
aviron1239-May-07 5:16 
QuestionDoubleBuffer problem Pin
Eduard Keilholz8-May-07 3:40
Eduard Keilholz8-May-07 3:40 
AnswerRe: DoubleBuffer problem Pin
Gil.Schmidt8-May-07 3:54
Gil.Schmidt8-May-07 3:54 
QuestionL2 Cache Programming Pin
kkchh8-May-07 3:27
kkchh8-May-07 3:27 
AnswerRe: L2 Cache Programming Pin
Dan Neely8-May-07 3:44
Dan Neely8-May-07 3:44 
GeneralRe: L2 Cache Programming Pin
kkchh8-May-07 4:10
kkchh8-May-07 4:10 
QuestionCrystal / MySQL / VS2005 Pin
Russell Jones8-May-07 3:16
Russell Jones8-May-07 3:16 
AnswerRe: Crystal / MySQL / VS2005 Pin
Gopal.S8-May-07 10:39
Gopal.S8-May-07 10:39 
QuestionHelp with looping thru a dataset with a binding navigator. Pin
Phoenix1018-May-07 3:03
Phoenix1018-May-07 3:03 

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.