Click here to Skip to main content
15,913,669 members
Home / Discussions / Database
   

Database

 
AnswerRe: SSRS 2005 Pin
pmarfleet27-Nov-07 5:26
pmarfleet27-Nov-07 5:26 
GeneralRe: SSRS 2005 Pin
MSinha28-Nov-07 5:00
MSinha28-Nov-07 5:00 
GeneralRe: SSRS 2005 Pin
pmarfleet28-Nov-07 8:28
pmarfleet28-Nov-07 8:28 
QuestionMissing Data - Not Pin
No-e27-Nov-07 4:46
No-e27-Nov-07 4:46 
AnswerRe: Missing Data - Not Pin
Colin Angus Mackay27-Nov-07 5:34
Colin Angus Mackay27-Nov-07 5:34 
Questionerror in login to my sql account via query analyzer??? Pin
mr.mohsen27-Nov-07 4:27
mr.mohsen27-Nov-07 4:27 
AnswerRe: error in login to my sql account via query analyzer??? Pin
Vimalsoft(Pty) Ltd27-Nov-07 23:32
professionalVimalsoft(Pty) Ltd27-Nov-07 23:32 
Questiondisplaying a dataset in a datagrid Pin
imonfiredammit27-Nov-07 3:56
imonfiredammit27-Nov-07 3:56 
Hello,
I am new to ADO and have to learn it for work so im playing aroud with it...my problem is that I have a blank datagrid on my form. I am trying to make a connection to an oracle database and create an SQL statement to retrieve the data I want and then display this in my datagrid...this is my code:

Dim dsWorkGroup As New DataSet 'New data set

'New connection string and variable to hold connection string ( i am sending the actual user name and password in the string)
Dim connectionString As String = "Data Source=PIDBDEV;User ID=######; Password=######;Unicode=True"
Dim connection1 As New OracleClient.OracleConnection(connectionString)

'Sql statement to retrieve the fields to fill the dataset
Dim selectStatement As String = "SELECT Group_Name FROM BASE_CALC_CODES"

Dim selectCommand As New OracleClient.OracleCommand(selectStatement, connection1)

Dim daWorkGroup As New OracleClient.OracleDataAdapter(selectCommand)
daWorkGroup.Fill(dsWorkGroup)

also I do have a datasourse attached to the datagrd. What am I doing wrong??? It isnt displaying the results from the query...it displays the entire table.



Erica

AnswerRe: displaying a dataset in a datagrid Pin
Vimalsoft(Pty) Ltd27-Nov-07 23:23
professionalVimalsoft(Pty) Ltd27-Nov-07 23:23 
QuestionProbably an old Insert question Pin
ffowler27-Nov-07 3:40
ffowler27-Nov-07 3:40 
AnswerRe: Probably an old Insert question Pin
pmarfleet27-Nov-07 4:02
pmarfleet27-Nov-07 4:02 
GeneralRe: Probably an old Insert question Pin
ffowler27-Nov-07 4:30
ffowler27-Nov-07 4:30 
GeneralRe: Probably an old Insert question Pin
pmarfleet27-Nov-07 4:34
pmarfleet27-Nov-07 4:34 
GeneralRe: Probably an old Insert question Pin
ffowler27-Nov-07 4:41
ffowler27-Nov-07 4:41 
Questionimport HOST file into a table Pin
solutionsville27-Nov-07 2:46
solutionsville27-Nov-07 2:46 
AnswerRe: import HOST file into a table Pin
pmarfleet27-Nov-07 3:29
pmarfleet27-Nov-07 3:29 
GeneralRe: import HOST file into a table Pin
solutionsville27-Nov-07 3:34
solutionsville27-Nov-07 3:34 
GeneralRe: import HOST file into a table [modified] Pin
pmarfleet27-Nov-07 3:57
pmarfleet27-Nov-07 3:57 
AnswerRe: import HOST file into a table Pin
solutionsville27-Nov-07 4:04
solutionsville27-Nov-07 4:04 
Questionupdate a field in a specified record in sql from asp.net Pin
Big Ralph27-Nov-07 0:44
Big Ralph27-Nov-07 0:44 
QuestionBreakPoints in Stored Procedures Pin
Zuhair Rizvi27-Nov-07 0:38
Zuhair Rizvi27-Nov-07 0:38 
AnswerRe: BreakPoints in Stored Procedures Pin
Vasudevan Deepak Kumar27-Nov-07 0:43
Vasudevan Deepak Kumar27-Nov-07 0:43 
GeneralRe: BreakPoints in Stored Procedures Pin
Zuhair Rizvi27-Nov-07 0:54
Zuhair Rizvi27-Nov-07 0:54 
QuestionRestore Database from C# Pin
tr_thorn26-Nov-07 20:23
tr_thorn26-Nov-07 20:23 
AnswerRe: Restore Database from C# Pin
SimulationofSai26-Nov-07 21:11
SimulationofSai26-Nov-07 21:11 

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.