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

C#

 
AnswerRe: event for app window Pin
Judah Gabriel Himango4-Apr-06 8:34
sponsorJudah Gabriel Himango4-Apr-06 8:34 
QuestionCommuniacting with DLL in c# Pin
t4ure4n4-Apr-06 6:22
t4ure4n4-Apr-06 6:22 
AnswerRe: Communiacting with DLL in c# Pin
Antony M Kancidrowski4-Apr-06 6:28
Antony M Kancidrowski4-Apr-06 6:28 
QuestionRe: Communiacting with DLL in c# Pin
t4ure4n4-Apr-06 6:46
t4ure4n4-Apr-06 6:46 
AnswerRe: Communiacting with DLL in c# Pin
Judah Gabriel Himango4-Apr-06 9:10
sponsorJudah Gabriel Himango4-Apr-06 9:10 
QuestionRe: Communiacting with DLL in c# Pin
t4ure4n5-Apr-06 7:24
t4ure4n5-Apr-06 7:24 
AnswerRe: Communiacting with DLL in c# Pin
Judah Gabriel Himango5-Apr-06 8:15
sponsorJudah Gabriel Himango5-Apr-06 8:15 
Questionproblem with datasource for DataGridView !!! Pin
mrkeivan4-Apr-06 6:13
mrkeivan4-Apr-06 6:13 
Hey, I’m trying to search for an ID and get the results from two tables as you can see in the below code.
The problem is that the fields that I save in dataset are from two tables but what can I do about datasource for my DatagrideVeiw there is no specific table ??!!
And when I use this code
dataGridView1.DataSource = myDS;
It doesn’t show anything !!!

string cmd = "SELECT UniversityDB.ID, UniversityDB.UniID, UniversityDB.UniCode, UniversityDB.UniName, UniversityDB.UniAddress, UniversityDB.UniDetail, UniMajorDB.Major, UniMajorDB.Level " + <br />
"FROM UniversityDB INNER JOIN UniMajorDB ON UniversityDB.UniCode = UniMajorDB.UniCode = '" + UniCode_tb.Text + "'"; <br />
<br />
MyAd.SelectCommand = new OleDbCommand(cmd, MyConn); <br />
MyAd.Fill(myDS); <br />
dataGridView1.DataSource = myDS.Tables[TableName]; 


can you help me out or if there is another way to show the results in DataGridView please let me know.

Thanx Cool | :cool:
Mr.K
AnswerRe: problem with datasource for DataGridView !!! Pin
leppie4-Apr-06 6:50
leppie4-Apr-06 6:50 
GeneralRe: problem with datasource for DataGridView !!! Pin
mrkeivan4-Apr-06 8:13
mrkeivan4-Apr-06 8:13 
QuestionFindinga bitmap in another bitmap... Pin
HjalleBK4-Apr-06 6:12
HjalleBK4-Apr-06 6:12 
AnswerRe: Findinga bitmap in another bitmap... Pin
Antony M Kancidrowski4-Apr-06 6:44
Antony M Kancidrowski4-Apr-06 6:44 
GeneralRe: Findinga bitmap in another bitmap... Pin
HjalleBK4-Apr-06 7:53
HjalleBK4-Apr-06 7:53 
GeneralRe: Findinga bitmap in another bitmap... Pin
Antony M Kancidrowski4-Apr-06 10:26
Antony M Kancidrowski4-Apr-06 10:26 
GeneralRe: Findinga bitmap in another bitmap... Pin
HjalleBK4-Apr-06 12:06
HjalleBK4-Apr-06 12:06 
GeneralRe: Findinga bitmap in another bitmap... Pin
Antony M Kancidrowski4-Apr-06 14:01
Antony M Kancidrowski4-Apr-06 14:01 
QuestionCommunicating with a USB Device Pin
t4ure4n4-Apr-06 6:09
t4ure4n4-Apr-06 6:09 
AnswerRe: Communicating with a USB Device Pin
Richard Parsons4-Apr-06 11:15
Richard Parsons4-Apr-06 11:15 
QuestionReading JPG height and width without loading image Pin
Ach1lles4-Apr-06 5:41
Ach1lles4-Apr-06 5:41 
QuestionAssembly Directory Pin
peppepinna4-Apr-06 5:09
peppepinna4-Apr-06 5:09 
AnswerRe: Assembly Directory Pin
alexey N5-Apr-06 23:58
alexey N5-Apr-06 23:58 
Questionusing another program in your app Pin
naglbitur4-Apr-06 3:26
naglbitur4-Apr-06 3:26 
AnswerRe: using another program in your app Pin
Marc L4-Apr-06 3:58
Marc L4-Apr-06 3:58 
GeneralRe: using another program in your app Pin
naglbitur4-Apr-06 4:55
naglbitur4-Apr-06 4:55 
GeneralRe: using another program in your app Pin
Marc L4-Apr-06 7:36
Marc L4-Apr-06 7:36 

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.