|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Datagrid relationshipsdata connected by a relationship to another table (as like when you create a relationship between tables in Access). I have two tables 1 tblSurvey Survey_ID Q1 Q2 Q3 2 tblSurveyExtra QuestionID SurveyID Answer I want to be able to view the tblSurveyExtra.Answer for each Survey_ID from tblSurvey Dallas,
In a winform you cannot. In a webpage I thought it was possible but I don't know how. Therefore for others who maybe know this, what kind of datagrid Cor Show quoteHide quote "dallasfreeman" <dallas.free***@sjk.net.au> schreef in bericht news:1155879984.733253.318700@74g2000cwt.googlegroups.com... > How do you make a datagrid show an additional row under each row with > data connected by a relationship to another table (as like when you > create a relationship between tables in Access). > > I have two tables > 1 > tblSurvey > Survey_ID > Q1 > Q2 > Q3 > > 2 > tblSurveyExtra > QuestionID > SurveyID > Answer > > I want to be able to view the tblSurveyExtra.Answer for each Survey_ID > from tblSurvey > Have you considered creating a view in SQL that joins the two tables on
Survey_ID and then using that view as your data source for your datagrid, or are specifically wanting the data only to appear when the user clicks on the survey data? Hope this helps, dkb
DateTime conversion to Integer
Parsing between a character and sysmbol A little help with an array & 'NullReferenceException was unhandled' ?? VB 2005 Syntax A windows service question Detecting if a printer is connected to the PC Component UI CAB Architecture Guide??? For Dummies Book? :-) SqlDataAdapter.FillSchema Math question: Based on excel Send SMS from PC through fixed land line |
|||||||||||||||||||||||