Click here to Skip to main content
15,941,327 members
Home / Discussions / C#
   

C#

 
GeneralRe: inserting data into a label Pin
Justin Perez27-Aug-07 2:42
Justin Perez27-Aug-07 2:42 
QuestionMessaging between objects? Pin
MeLight27-Aug-07 0:57
MeLight27-Aug-07 0:57 
AnswerRe: Messaging between objects? Pin
Colin Angus Mackay27-Aug-07 0:59
Colin Angus Mackay27-Aug-07 0:59 
GeneralRe: Messaging between objects? Pin
MeLight27-Aug-07 3:01
MeLight27-Aug-07 3:01 
Questionmanage a data base since a user interface Pin
almora00727-Aug-07 0:41
almora00727-Aug-07 0:41 
AnswerRe: manage a data base since a user interface Pin
Colin Angus Mackay27-Aug-07 0:51
Colin Angus Mackay27-Aug-07 0:51 
GeneralRe: manage a data base since a user interface Pin
almora00727-Aug-07 0:57
almora00727-Aug-07 0:57 
GeneralRe: manage a data base since a user interface Pin
Colin Angus Mackay27-Aug-07 1:06
Colin Angus Mackay27-Aug-07 1:06 
almora007 wrote:
i have my database table and i dont now how to bind button te permet the user of the application traversing the table.


You can't bind a button to do that. You have to create an event handler for the button and then write the code to traverse the database.

To create an event handler: Double click the button in the designer. Visual Studio will create an event handler if one does not already exist and take you to that code. You then have to fill in the code yourself.

It is up to you how you want to traverse the data. I'm guessing you have a DataSet somewhere with a populated DataTable in it. You need to store a index to the row in the table somewhere and when the button is pressed the index is updated, you can then get the data from the row at the new index and populate your texts boxes and other controls.


-- Always write code as if the maintenance programmer were an axe murderer who knows where you live.

Upcoming FREE developer events:
* Glasgow: Agile in the Enterprise Vs. ISVs, Mock Objects, SQL Server CLR Integration, Reporting Services, db4o ...
* Reading: SQL Bits


My website

GeneralRe: manage a data base since a user interface Pin
almora00727-Aug-07 1:08
almora00727-Aug-07 1:08 
Questioninserting data into a label Pin
lourensG26-Aug-07 23:19
lourensG26-Aug-07 23:19 
AnswerRe: inserting data into a label Pin
Vasudevan Deepak Kumar26-Aug-07 23:43
Vasudevan Deepak Kumar26-Aug-07 23:43 
GeneralRe: inserting data into a label Pin
lourensG26-Aug-07 23:57
lourensG26-Aug-07 23:57 
GeneralRe: inserting data into a label Pin
Christian Graus27-Aug-07 0:24
protectorChristian Graus27-Aug-07 0:24 
GeneralRe: inserting data into a label Pin
lourensG27-Aug-07 0:55
lourensG27-Aug-07 0:55 
GeneralRe: inserting data into a label Pin
Colin Angus Mackay27-Aug-07 1:07
Colin Angus Mackay27-Aug-07 1:07 
QuestionNew SQL question also urgent Pin
falles0126-Aug-07 22:13
falles0126-Aug-07 22:13 
AnswerRe: New SQL question also urgent Pin
Vikram A Punathambekar26-Aug-07 22:49
Vikram A Punathambekar26-Aug-07 22:49 
GeneralRe: New SQL question also urgent Pin
falles0126-Aug-07 22:56
falles0126-Aug-07 22:56 
GeneralRe: New SQL question also urgent Pin
Martin#26-Aug-07 23:09
Martin#26-Aug-07 23:09 
GeneralRe: New SQL question also urgent Pin
falles0126-Aug-07 23:15
falles0126-Aug-07 23:15 
GeneralRe: New SQL question also urgent Pin
Vasudevan Deepak Kumar26-Aug-07 23:46
Vasudevan Deepak Kumar26-Aug-07 23:46 
GeneralRe: New SQL question also urgent Pin
Vikram A Punathambekar27-Aug-07 1:23
Vikram A Punathambekar27-Aug-07 1:23 
GeneralRe: New SQL question also urgent Pin
Colin Angus Mackay27-Aug-07 0:47
Colin Angus Mackay27-Aug-07 0:47 
GeneralRe: New SQL question also urgent Pin
Paul Conrad16-Sep-07 17:32
professionalPaul Conrad16-Sep-07 17:32 
GeneralRe: New SQL question also urgent Pin
falles0116-Sep-07 18:07
falles0116-Sep-07 18:07 

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.