Click here to Skip to main content
15,914,500 members
Home / Discussions / Database
   

Database

 
GeneralRe: need help with stored procedure Pin
astanton197826-Nov-07 7:14
astanton197826-Nov-07 7:14 
QuestionHow to get ride of this Error::IErrorInfo.GetDescription failed with E_FAIL(0x80004005)???? Pin
Deepak Koduri25-Nov-07 20:53
Deepak Koduri25-Nov-07 20:53 
QuestionHow to add autonumber in sql server 2005 Pin
Kiran S. S.25-Nov-07 19:44
Kiran S. S.25-Nov-07 19:44 
AnswerRe: How to add automunber in sql server 2005 Pin
soni uma25-Nov-07 19:48
soni uma25-Nov-07 19:48 
GeneralRe: How to add automunber in sql server 2005 Pin
Kiran S. S.27-Nov-07 22:07
Kiran S. S.27-Nov-07 22:07 
QuestionHow to list stored procedure parameter list and its return type Pin
NK725-Nov-07 18:39
NK725-Nov-07 18:39 
AnswerRe: How to list stored procedure parameter list and its return type Pin
Cristian Amarie26-Nov-07 7:50
Cristian Amarie26-Nov-07 7:50 
Questionconcatenating strings into one datagrid cell Pin
falles0125-Nov-07 16:06
falles0125-Nov-07 16:06 
Hello if anyone can please give me just a tiny sample of how I'd do this, not just what to do I will be so grateful.

Just so you know. I have been googling for days on this and I'm not sure what to do as I am still pretty new to c#.

This is what I want to do. I have a dataset and datagrid(search results table) displaying results like this.

Siann Skills1
Siann Skills2
Siann Skills3

I want it to show this

Siann Skills1,Skills2,Skills3.

I have my select statement, then I have created a new datacolumn as I was told to do as below. Now after that, what do I do? How do I get all the skills in one column. I know I have to concatenate, and I have tried searching the net, but I can't find anything useful. is there any possibility for an example?

dgSearchResults.Columns.Add(new DataColumn("skills", GetType()));

I then have my foreach. I need to put something in the foreach.
foreach (DataSet1.EmpSkillsRow empskillsRow in empskillsDT.Rows)
{
}

I was told on the C# forum to try here. I am not using sql 2005 so I can't use cte.

AnswerRe: concatenating strings into one datagrid cell Pin
astanton197826-Nov-07 7:32
astanton197826-Nov-07 7:32 
Questionn00bish SQL Question Pin
sonywar25-Nov-07 6:58
sonywar25-Nov-07 6:58 
AnswerRe: n00bish SQL Question Pin
Colin Angus Mackay25-Nov-07 7:26
Colin Angus Mackay25-Nov-07 7:26 
GeneralRe: n00bish SQL Question Pin
sonywar25-Nov-07 14:29
sonywar25-Nov-07 14:29 
AnswerRe: n00bish SQL Question Pin
DQNOK26-Nov-07 6:05
professionalDQNOK26-Nov-07 6:05 
AnswerRe: n00bish SQL Question Pin
TJoe30-Nov-07 2:36
TJoe30-Nov-07 2:36 
QuestionSQL Server 2000 Backup Pin
Ali el25-Nov-07 4:15
Ali el25-Nov-07 4:15 
QuestionSQL 2005 Imports Pin
Vimalsoft(Pty) Ltd25-Nov-07 1:13
professionalVimalsoft(Pty) Ltd25-Nov-07 1:13 
AnswerRe: SQL 2005 Imports Pin
pmarfleet25-Nov-07 3:53
pmarfleet25-Nov-07 3:53 
GeneralRe: SQL 2005 Imports Pin
Vimalsoft(Pty) Ltd25-Nov-07 19:13
professionalVimalsoft(Pty) Ltd25-Nov-07 19:13 
QuestionDate of Birth Pin
Brendan Vogt24-Nov-07 22:08
Brendan Vogt24-Nov-07 22:08 
AnswerRe: Date of Birth Pin
Christian Graus24-Nov-07 23:13
protectorChristian Graus24-Nov-07 23:13 
AnswerRe: Date of Birth Pin
Cristian Amarie26-Nov-07 7:54
Cristian Amarie26-Nov-07 7:54 
AnswerRe: Date of Birth Pin
PIEBALDconsult26-Nov-07 11:42
mvePIEBALDconsult26-Nov-07 11:42 
GeneralRe: Date of Birth Pin
Cristian Amarie26-Nov-07 23:11
Cristian Amarie26-Nov-07 23:11 
QuestionSP with create table Pin
kimo code23-Nov-07 23:42
kimo code23-Nov-07 23:42 
AnswerRe: SP with create table Pin
John-ph24-Nov-07 0:19
John-ph24-Nov-07 0:19 

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.