Click here to Skip to main content
15,895,667 members
Home / Discussions / Database
   

Database

 
QuestionGROUP BY problem (MSSQL) Pin
Yaron Ben-Ami14-Aug-07 5:48
Yaron Ben-Ami14-Aug-07 5:48 
AnswerRe: GROUP BY problem (MSSQL) Pin
Colin Angus Mackay14-Aug-07 5:51
Colin Angus Mackay14-Aug-07 5:51 
AnswerRe: GROUP BY problem (MSSQL) Pin
Colin Angus Mackay15-Aug-07 13:18
Colin Angus Mackay15-Aug-07 13:18 
QuestionProblems connecting to old DBF with OleDB and .NET (C#) Pin
MSgt~Nesher14-Aug-07 3:56
MSgt~Nesher14-Aug-07 3:56 
AnswerRe: Problems connecting to old DBF with OleDB and .NET (C#) Pin
Michael Potter14-Aug-07 9:23
Michael Potter14-Aug-07 9:23 
GeneralRe: Problems connecting to old DBF with OleDB and .NET (C#) Pin
MSgt~Nesher14-Aug-07 20:52
MSgt~Nesher14-Aug-07 20:52 
GeneralRe: Problems connecting to old DBF with OleDB and .NET (C#) Pin
MSgt~Nesher14-Aug-07 22:19
MSgt~Nesher14-Aug-07 22:19 
QuestionHow to Get Primary Key From the Table Return From Database Pin
N a r e s h P a t e l14-Aug-07 3:44
N a r e s h P a t e l14-Aug-07 3:44 
Hi Friends,
I need the Primary Key of the Table return from DataBase.
Eg: I am useing the following code:

DataTable dt=new DataTable();
dt=GetDataTable();
DataColumn[] columns;
columns =dt.PrimaryKey;
for (int col = 0; col < columns.Length; col++)
{
///Process the Primary Key
}

But the above code-dt.PrimaryKey always returns dimansion[0] means nothing.

Is there any idea regarding this.
Please help.
Thanks in advance.
Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose]
Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose] Rose | [Rose]

Naresh Patel

AnswerRe: How to Get Primary Key From the Table Return From Database Pin
Blue_Boy14-Aug-07 4:45
Blue_Boy14-Aug-07 4:45 
QuestionConnecting to SQL 2005 Express remotely Pin
GermanDM14-Aug-07 3:20
GermanDM14-Aug-07 3:20 
Questionfatch specified no Pin
MHASSANF14-Aug-07 3:09
MHASSANF14-Aug-07 3:09 
AnswerRe: fatch specified no Pin
Krish - KP14-Aug-07 3:17
Krish - KP14-Aug-07 3:17 
QuestionRe: fatch specified no Pin
MHASSANF14-Aug-07 3:26
MHASSANF14-Aug-07 3:26 
AnswerRe: fatch specified no Pin
N a v a n e e t h14-Aug-07 3:30
N a v a n e e t h14-Aug-07 3:30 
AnswerRe: fatch specified no Pin
Krish - KP14-Aug-07 3:55
Krish - KP14-Aug-07 3:55 
QuestionSQL Query reverse LIKE [modified] Pin
Ronni Marker14-Aug-07 0:11
Ronni Marker14-Aug-07 0:11 
AnswerRe: SQL Query reverse LIKE Pin
Rami Said Abd Alhalim14-Aug-07 0:24
Rami Said Abd Alhalim14-Aug-07 0:24 
GeneralRe: SQL Query reverse LIKE Pin
Ronni Marker14-Aug-07 0:28
Ronni Marker14-Aug-07 0:28 
GeneralRe: SQL Query reverse LIKE Pin
Rami Said Abd Alhalim14-Aug-07 0:32
Rami Said Abd Alhalim14-Aug-07 0:32 
GeneralRe: SQL Query reverse LIKE Pin
Ronni Marker14-Aug-07 0:47
Ronni Marker14-Aug-07 0:47 
GeneralRe: SQL Query reverse LIKE Pin
Rami Said Abd Alhalim14-Aug-07 2:28
Rami Said Abd Alhalim14-Aug-07 2:28 
AnswerRe: SQL Query reverse LIKE Pin
andyharman14-Aug-07 1:04
professionalandyharman14-Aug-07 1:04 
GeneralRe: SQL Query reverse LIKE Pin
Ronni Marker14-Aug-07 2:45
Ronni Marker14-Aug-07 2:45 
QuestionProblem in inserting date for datetime field Pin
potlakayala14-Aug-07 0:09
potlakayala14-Aug-07 0:09 
AnswerRe: Problem in inserting date for datetime field Pin
Rami Said Abd Alhalim14-Aug-07 0:29
Rami Said Abd Alhalim14-Aug-07 0:29 

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.