Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# SQL
i am having problem for displaying a selected record in a table from two table in sql?
Posted 7-Mar-13 3:01am
kysor389
Comments
ryanb31 at 7-Mar-13 8:04am
   
And the problem is?
kysor at 7-Mar-13 8:08am
   
the problem is how can i display the selected record in table
ryanb31 at 7-Mar-13 8:14am
   
In a gridview, in controls, on buttons? You have to give A LOT more details.
kysor at 7-Mar-13 8:17am
   
in gridview...as we can see records in restaurant bill.
ThePhantomUpvoter at 7-Mar-13 8:19am
   
You will have to supply a lot more information if you expect to get a decent answer. You say you have a problem but you fail to describe any kind of a problem. Putting a ? at the end of a vague sentence does not make it a question. What is your problem? What is the schema of the data? What database?
Anurag Sinha V at 7-Mar-13 8:36am
   
mate,
what's a selected record as per you?
Are you talking about, when you select something from a dropdownlist, then the corresponding record should be displayed in the gridview? Its my wild guess.
Can you please be more detailed? Or post the code in which you are having problem.
 
regards
anurag
kysor at 7-Mar-13 8:55am
   
yes that is the thing i want
ThePhantomUpvoter at 7-Mar-13 10:27am
   
Yes, what is the thing you want?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Could you explain what is the problem...?
  Permalink  
Comments
ThePhantomUpvoter at 7-Mar-13 8:17am
   
This is not an answer to the question. It is at best a comment and should be deleted.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

i cant get ur problem can you please explain..? Are you asking about join?
  Permalink  
v2
Comments
kysor at 7-Mar-13 8:15am
   
join display all the record from both table.but i would like to display selected record only. anyway thank you
itsmehaboob at 7-Mar-13 8:19am
   
i cant get you clearly I'm sorry..
ThePhantomUpvoter at 7-Mar-13 8:17am
   
This is not an answer to the question. It is at best a comment and should be deleted.
Sergey Alexandrovich Kryukov at 5-Mar-14 1:12am
   
Please stop posting non-answers as answers; this is considered as abuse.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 474
1 ridoy 420
2 DamithSL 180
3 OriginalGriff 179
4 Richard MacCutchan 160
0 OriginalGriff 8,033
1 DamithSL 6,179
2 Sergey Alexandrovich Kryukov 5,538
3 Maciej Los 5,508
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 7 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100