Click here to Skip to main content
15,894,362 members
Home / Discussions / C#
   

C#

 
QuestionDebug Pin
rakesh_nits31-Jan-06 20:49
rakesh_nits31-Jan-06 20:49 
AnswerRe: Debug Pin
lordofcsharp31-Jan-06 20:59
lordofcsharp31-Jan-06 20:59 
AnswerRe: Debug Pin
Divyang Mithaiwala31-Jan-06 21:23
Divyang Mithaiwala31-Jan-06 21:23 
Questionretrive the value from datagrid with checkbox Pin
Navas.M31-Jan-06 20:01
Navas.M31-Jan-06 20:01 
AnswerRe: retrive the value from datagrid with checkbox Pin
luckyv1-Feb-06 6:17
luckyv1-Feb-06 6:17 
QuestionSimple XML Parsing? Pin
davedunn31-Jan-06 19:54
davedunn31-Jan-06 19:54 
AnswerRe: Simple XML Parsing? Pin
Kodanda Pani31-Jan-06 20:29
Kodanda Pani31-Jan-06 20:29 
QuestionDataBinding 2 tables Pin
elraton31-Jan-06 18:35
elraton31-Jan-06 18:35 
Hi.

I'm having a little trouble getting this thing to work.

I have two tables Houses and People

Every "Person" belongs to a House, but only one per house is the "OwnerOfHouse".
So I made a colum named "HouseOwner" in the "House" table, which has the PersonID. And every person has a "HouseID_FK" which tells them to which house they belog.

SO here is the thing. I'm working with ADO.NET 2.0, and using BindingSource. So I have a BindingSource that has my Houses in a nice DataGridView, and when I click on any of them, I have another DataGridView which displays the people that live there.
That works Fine.

Now, when I chose one of the inhabitants, and press a button, His ID is updated on the Houses table, and I have a reference that tells me he is the Owner. So far so good.

What I want to do is that when I choose a House in my first DataGridView, The Owner is selected automaticlly in the People DataGridView. So far I've tried everything I could thinf of, but it allways selects the first element (the first person on the list).

Thanks in advance.
QuestionDetailed Steps to code migration Pin
MACODER31-Jan-06 18:31
MACODER31-Jan-06 18:31 
AnswerRe: Detailed Steps to code migration Pin
Dave Kreskowiak1-Feb-06 5:42
mveDave Kreskowiak1-Feb-06 5:42 
QuestionSpecifying range to the property in PropertyGrid Pin
mr_tawan31-Jan-06 18:17
mr_tawan31-Jan-06 18:17 
AnswerRe: Specifying range to the property in PropertyGrid Pin
Kodanda Pani31-Jan-06 20:10
Kodanda Pani31-Jan-06 20:10 
GeneralRe: Specifying range to the property in PropertyGrid Pin
mr_tawan31-Jan-06 20:24
mr_tawan31-Jan-06 20:24 
GeneralRe: Specifying range to the property in PropertyGrid Pin
mr_tawan31-Jan-06 20:37
mr_tawan31-Jan-06 20:37 
GeneralRe: Specifying range to the property in PropertyGrid Pin
leppie31-Jan-06 22:17
leppie31-Jan-06 22:17 
QuestionHow to convert a VB 6.0 project to C# .NET project Pin
MACODER31-Jan-06 18:14
MACODER31-Jan-06 18:14 
AnswerRe: How to convert a VB 6.0 project to C# .NET project Pin
Ingo1-Feb-06 3:39
Ingo1-Feb-06 3:39 
AnswerRe: How to convert a VB 6.0 project to C# .NET project Pin
Dave Kreskowiak1-Feb-06 5:40
mveDave Kreskowiak1-Feb-06 5:40 
AnswerRe: How to convert a VB 6.0 project to C# .NET project Pin
Dave Doknjas1-Feb-06 16:21
Dave Doknjas1-Feb-06 16:21 
QuestionBuilt-in class for messagebox Pin
2hdass31-Jan-06 17:30
2hdass31-Jan-06 17:30 
AnswerRe: Built-in class for messagebox Pin
Vikram A Punathambekar31-Jan-06 19:34
Vikram A Punathambekar31-Jan-06 19:34 
GeneralRe: Built-in class for messagebox Pin
2hdass2-Feb-06 10:07
2hdass2-Feb-06 10:07 
QuestionAvoid fetching hidden rows from excel Pin
DirectDraw31-Jan-06 17:12
DirectDraw31-Jan-06 17:12 
QuestionDeploying the application Pin
2hdass31-Jan-06 16:53
2hdass31-Jan-06 16:53 
AnswerRe: Deploying the application Pin
Vikram A Punathambekar31-Jan-06 19:38
Vikram A Punathambekar31-Jan-06 19:38 

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.