Click here to Skip to main content
15,908,675 members
Home / Discussions / C#
   

C#

 
AnswerRe: Apparently i have a control of type '7' Pin
Guffa7-Mar-07 14:04
Guffa7-Mar-07 14:04 
GeneralRe: Apparently i have a control of type '7' Pin
Anthony Mushrow7-Mar-07 14:23
professionalAnthony Mushrow7-Mar-07 14:23 
AnswerRe: Apparently i have a control of type '7' Pin
Guffa7-Mar-07 14:32
Guffa7-Mar-07 14:32 
GeneralRe: Apparently i have a control of type '7' Pin
Anthony Mushrow7-Mar-07 14:38
professionalAnthony Mushrow7-Mar-07 14:38 
QuestionService Detection [modified] Pin
Darkness847-Mar-07 12:15
Darkness847-Mar-07 12:15 
AnswerRe: Service Detection Pin
pbraun7-Mar-07 15:55
pbraun7-Mar-07 15:55 
GeneralRe: Service Detection Pin
Darkness847-Mar-07 16:30
Darkness847-Mar-07 16:30 
QuestionDatagridview Pin
babbelfisken7-Mar-07 10:20
babbelfisken7-Mar-07 10:20 
Hi,

I'm using MSVS 2005 .N_ET 2.0
Seems that one should use datagridview instead of datagrid?

I have a MS Access database and in that db a table called Cancelled which
contains colums in order [Employee,Booker,Tele,CancelDate,Reason] and i have no problem
writing data to this db.

Here is what i want to do:

1. If i click some button, a window appear with a datagridview object in it containing
the whole database row by row.

2. What i have trouble doing is reading the database so all information is displayed in the
datagridview object.

Since i use OleDbConnection to my db i looked into the OleDbAdapter.fill method that reads into a dataset. I've also tried to drop from the toolbox a dgv object onto the window and tried to bind datasource and all that came with it like connectionstring(that went totally wrong), but i didn't think i knew what i was doing Wink | ;)

I think my problem is very easy to solve ? I think i can build the dgv object's structure and simply read all records from the database and then insert records one by one in some manor..

But since i'm new to this i would like some starting point if someone can help me?

Thanks from Daniel, Sweden


QuestionCalling functions from VC++6 DLL Pin
MinaFawzi7-Mar-07 10:00
MinaFawzi7-Mar-07 10:00 
AnswerRe: Calling functions from VC++6 DLL Pin
Ravi Bhavnani7-Mar-07 10:30
professionalRavi Bhavnani7-Mar-07 10:30 
Questionhow can i create a variable Pin
marwan_siala7-Mar-07 9:47
marwan_siala7-Mar-07 9:47 
AnswerRe: how can i create a variable Pin
Luc Pattyn7-Mar-07 9:58
sitebuilderLuc Pattyn7-Mar-07 9:58 
GeneralRe: how can i create a variable Pin
marwan_siala7-Mar-07 10:19
marwan_siala7-Mar-07 10:19 
QuestionMenu to MenuStrip Changed Client Area Pin
Neal Conrardy7-Mar-07 8:23
Neal Conrardy7-Mar-07 8:23 
AnswerRe: Menu to MenuStrip Changed Client Area Pin
Neal Conrardy11-Mar-07 13:27
Neal Conrardy11-Mar-07 13:27 
QuestionNeed help string[string] arrays Pin
_CloudyOne_7-Mar-07 7:03
_CloudyOne_7-Mar-07 7:03 
AnswerRe: Need help string[string] arrays Pin
Edmundisme7-Mar-07 7:09
Edmundisme7-Mar-07 7:09 
GeneralRe: Need help string[string] arrays [modified] Pin
_CloudyOne_7-Mar-07 18:40
_CloudyOne_7-Mar-07 18:40 
GeneralRe: Need help string[string] arrays Pin
_CloudyOne_7-Mar-07 19:04
_CloudyOne_7-Mar-07 19:04 
GeneralRe: Need help string[string] arrays Pin
Edmundisme8-Mar-07 4:32
Edmundisme8-Mar-07 4:32 
GeneralRe: Need help string[string] arrays Pin
Edmundisme8-Mar-07 4:23
Edmundisme8-Mar-07 4:23 
QuestionDataGridView and NextControl Pin
aranhamarvel7-Mar-07 6:19
aranhamarvel7-Mar-07 6:19 
AnswerRe: DataGridView and NextControl Pin
freshonlineMax7-Mar-07 18:47
freshonlineMax7-Mar-07 18:47 
GeneralRe: DataGridView and NextControl Pin
aranhamarvel8-Mar-07 2:22
aranhamarvel8-Mar-07 2:22 
QuestionLooking for a nice, user-editable ListView Pin
goldoche7-Mar-07 6:00
goldoche7-Mar-07 6:00 

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.