Click here to Skip to main content
15,914,820 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Help in ASP.NET web service Pin
akosidandan15-Apr-11 17:31
akosidandan15-Apr-11 17:31 
QuestionPage Life Cycle Pin
CodingLover14-Apr-11 18:18
CodingLover14-Apr-11 18:18 
AnswerRe: Page Life Cycle Pin
Ravi Sant14-Apr-11 23:36
Ravi Sant14-Apr-11 23:36 
GeneralRe: Page Life Cycle Pin
gavindon15-Apr-11 3:26
gavindon15-Apr-11 3:26 
AnswerRe: Page Life Cycle Pin
Pravin Patil, Mumbai15-Apr-11 0:38
Pravin Patil, Mumbai15-Apr-11 0:38 
GeneralRe: Page Life Cycle Pin
Prasanta_Prince15-Apr-11 3:02
Prasanta_Prince15-Apr-11 3:02 
AnswerRe: Page Life Cycle Pin
TweakBird15-Apr-11 18:02
TweakBird15-Apr-11 18:02 
QuestionASP .NET 4.0 (C#) - Access 2007 Table Relationships and DataGrid Pin
Matt U.14-Apr-11 11:06
Matt U.14-Apr-11 11:06 
Hello CP. I have a question regarding table relationships in an Access 2007 database in combination with the DataGrid in ASP .NET 4.0 (C#). In Access I have two tables set up like this:

Table1 Columns: ID, ObjName, Phone

Table2 Columns: ID, TheTitle, Obj

The field "Obj" in Table 2 stores a value from Table 1. In Access, I have it set so that it stores Table1.ID as the Table2.Obj value. However, I set it to display Table1.ObjName rather than Table1.ID. This is what I wish to achieve in an ASP .NET DataGrid.

I have read up on the DataRelation object and I have Google'd quite a bit. I have had no luck in finding the solution that I need. I have my ASP .NET page running a basic SELECT query, selecting all records in Table2. All is well, except the third column in the DataGrid displays the "Obj" column's value (from Table1.ID) rather than displaying the "Table1.ObjName" associated with said Table1.ID. How would I go about doing this?

Would I be better off creating my own table-like layout and parsing each record? Or am I missing something? Smile | :) I am not asking for the "code that will solve my problem without me doing it myself". But some sort of related code example and/or pseudo code would be fine if possible.

Thanks CP.
Questiontop% filter in ssrs report Pin
gavindon14-Apr-11 9:13
gavindon14-Apr-11 9:13 
QuestionCounting nodes in treeview Pin
sarang_k13-Apr-11 23:48
sarang_k13-Apr-11 23:48 
AnswerRe: Counting nodes in treeview [modified] Pin
Pravin Patil, Mumbai15-Apr-11 0:42
Pravin Patil, Mumbai15-Apr-11 0:42 
QuestionISPostBack return wrongly Pin
anishkannan13-Apr-11 22:54
anishkannan13-Apr-11 22:54 
AnswerRe: ISPostBack return wrongly Pin
Jassim Makki13-Apr-11 23:25
Jassim Makki13-Apr-11 23:25 
AnswerRe: ISPostBack return wrongly Pin
mksharma3814-Apr-11 0:03
mksharma3814-Apr-11 0:03 
GeneralRe: ISPostBack return wrongly Pin
anishkannan14-Apr-11 0:14
anishkannan14-Apr-11 0:14 
AnswerRe: ISPostBack return wrongly Pin
Prasanta_Prince14-Apr-11 0:47
Prasanta_Prince14-Apr-11 0:47 
Questionetched border Pin
C#Coudou13-Apr-11 16:24
C#Coudou13-Apr-11 16:24 
AnswerRe: etched border Pin
GenJerDan14-Apr-11 4:44
GenJerDan14-Apr-11 4:44 
Questionproblem with asp.net 4 themes and skins Pin
Jassim Makki13-Apr-11 4:08
Jassim Makki13-Apr-11 4:08 
AnswerRe: problem with asp.net 4 themes and skins Pin
Anurag Gandhi13-Apr-11 21:06
professionalAnurag Gandhi13-Apr-11 21:06 
GeneralRe: problem with asp.net 4 themes and skins Pin
Jassim Makki13-Apr-11 21:25
Jassim Makki13-Apr-11 21:25 
GeneralRe: problem with asp.net 4 themes and skins Pin
Jassim Makki13-Apr-11 22:22
Jassim Makki13-Apr-11 22:22 
Questionproblem in publishing website Pin
S.Aijaz13-Apr-11 0:04
S.Aijaz13-Apr-11 0:04 
AnswerRe: problem in publishing website Pin
Not Active13-Apr-11 2:23
mentorNot Active13-Apr-11 2:23 
AnswerRe: problem in publishing website Pin
Prasanta_Prince14-Apr-11 0:51
Prasanta_Prince14-Apr-11 0:51 

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.