Click here to Skip to main content
15,889,650 members
Home / Discussions / C#
   

C#

 
GeneralRe: Pls Answer this one Pin
Shaik Haneef24-Nov-09 21:58
Shaik Haneef24-Nov-09 21:58 
AnswerRe: Pls Answer this one Pin
TheFoZ24-Nov-09 21:40
TheFoZ24-Nov-09 21:40 
QuestionConvert decimal value to exponential value Pin
Pankaj Saha24-Nov-09 20:18
Pankaj Saha24-Nov-09 20:18 
AnswerRe: Convert decimal value to exponential value Pin
dan!sh 24-Nov-09 21:53
professional dan!sh 24-Nov-09 21:53 
GeneralRe: Convert decimal value to exponential value Pin
Pankaj Saha24-Nov-09 23:35
Pankaj Saha24-Nov-09 23:35 
GeneralRe: Convert decimal value to exponential value Pin
Pankaj Saha24-Nov-09 23:56
Pankaj Saha24-Nov-09 23:56 
GeneralRe: Convert decimal value to exponential value Pin
Pankaj Saha25-Nov-09 0:33
Pankaj Saha25-Nov-09 0:33 
QuestionHow to Join Two Table in Dataset and show in Gridview Joined Both Tables... Pin
Shaik Haneef24-Nov-09 20:08
Shaik Haneef24-Nov-09 20:08 
I have two table Employee and EmployeeAddress and Both Cotain ID filed with integer, I want to Join both in DataSet How can i do it ???

select * from Employee, EmployeeAddress where Employee.ID= EmployeeAddress.ID

I want to do the the above sql operation in my Dataset & need to display in girdview

My Dataset Contain two Table one is for Results of Employee another table contains details of EmployeeAddress. How can Provide First Table as Primary and Second Table as Forign Key

I tried that

Dataset objds=new Dataset();
......
......

//Analyse that Dataset contain two tables of data now then How can I provide relation and need to give to Gridview

objds.Relations.Add("Relation",objds.Tables[0].Column["ID"],objds.Tables[1].Column["ID"]);

Gridview1.Datasource = objds;
Gridview1.DataBind();


But it showing only First Table Data only I want to Join both tables as one and need to show in Gridview How can do It ?


Regars,
Shaik Haneef
sk.haneef@gmail.com
AnswerRe: How to Join Two Table in Dataset and show in Gridview Joined Both Tables... Pin
dojohansen25-Nov-09 1:17
dojohansen25-Nov-09 1:17 
AnswerRe: How to Join Two Table in Dataset and show in Gridview Joined Both Tables... Pin
Mycroft Holmes25-Nov-09 3:06
professionalMycroft Holmes25-Nov-09 3:06 
AnswerRe: How to Join Two Table in Dataset and show in Gridview Joined Both Tables... Pin
Gerry Schmitz25-Nov-09 3:20
mveGerry Schmitz25-Nov-09 3:20 
QuestionSerial Port Communication Pin
Sifar - 024-Nov-09 18:51
Sifar - 024-Nov-09 18:51 
AnswerRe: Serial Port Communication Pin
TAFIN24-Nov-09 20:46
TAFIN24-Nov-09 20:46 
GeneralRe: Serial Port Communication Pin
Sifar - 024-Nov-09 22:13
Sifar - 024-Nov-09 22:13 
AnswerRe: Serial Port Communication Pin
Gideon Engelberth25-Nov-09 2:51
Gideon Engelberth25-Nov-09 2:51 
Questionadding column in a listview Pin
TAFIN24-Nov-09 18:20
TAFIN24-Nov-09 18:20 
AnswerRe: adding column in a listview Pin
Abhijit Jana24-Nov-09 18:35
professionalAbhijit Jana24-Nov-09 18:35 
AnswerRe: adding column in a listview Pin
Mycroft Holmes24-Nov-09 18:40
professionalMycroft Holmes24-Nov-09 18:40 
AnswerRe: adding column in a listview Pin
TAFIN24-Nov-09 20:38
TAFIN24-Nov-09 20:38 
AnswerRe: adding column in a listview Pin
carlecomm26-Nov-09 14:29
carlecomm26-Nov-09 14:29 
QuestionRemembering Variables Pin
johntwebb24-Nov-09 17:34
johntwebb24-Nov-09 17:34 
AnswerRe: Remembering Variables Pin
PIEBALDconsult24-Nov-09 17:56
mvePIEBALDconsult24-Nov-09 17:56 
AnswerRe: Remembering Variables Pin
Abhijit Jana24-Nov-09 18:04
professionalAbhijit Jana24-Nov-09 18:04 
GeneralRe: Remembering Variables Pin
johntwebb24-Nov-09 18:24
johntwebb24-Nov-09 18:24 
JokeRe: Remembering Variables Pin
Mycroft Holmes24-Nov-09 18:43
professionalMycroft Holmes24-Nov-09 18:43 

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.