Click here to Skip to main content
15,915,603 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Error, cant update access..?? Pin
Agus Budianto24-Aug-06 22:14
Agus Budianto24-Aug-06 22:14 
QuestionSortable Objects Pin
Mark069-Aug-06 22:38
Mark069-Aug-06 22:38 
AnswerRe: Sortable Objects Pin
Dave Sexton10-Aug-06 0:22
Dave Sexton10-Aug-06 0:22 
GeneralRe: Sortable Objects Pin
Mark0610-Aug-06 0:26
Mark0610-Aug-06 0:26 
GeneralRe: Sortable Objects Pin
Kevin McFarlane10-Aug-06 0:46
Kevin McFarlane10-Aug-06 0:46 
QuestionProblem with RTF Text in Crystal report 8 Pin
iamalik9-Aug-06 20:29
professionaliamalik9-Aug-06 20:29 
Questiondatagrid Pin
vengaqua9-Aug-06 20:15
vengaqua9-Aug-06 20:15 
AnswerRe: datagrid Pin
vbdotnetcoder200510-Aug-06 5:34
vbdotnetcoder200510-Aug-06 5:34 
As far as deleting from a data grid it depends on how you are populating the data grid and how you normally delete rows from you database. I usually use straight SQL statements with a OleDbCommand, so it that case you would execute the command and then refresh the datagrid to redisplay your results. I'm just guessing but it sounds like you might be trying to delete the row in the data grid that user selected?

You can get the selected value of a column in a row based on a double click like this:

dgResults.Item(dgResults.CurrentRowIndex, 4)

I do this on a double click, and this should give you the selected value you need.

Good Luck,
Curtis


GeneralRe: datagrid Pin
vengaqua10-Aug-06 18:31
vengaqua10-Aug-06 18:31 
GeneralRe: datagrid Pin
vbdotnetcoder200511-Aug-06 10:59
vbdotnetcoder200511-Aug-06 10:59 
GeneralRe: datagrid Pin
vengaqua16-Aug-06 22:12
vengaqua16-Aug-06 22:12 
GeneralRe: datagrid Pin
vengaqua10-Aug-06 18:34
vengaqua10-Aug-06 18:34 
QuestionCrystal Report Invalid Key Pin
iamalik9-Aug-06 20:09
professionaliamalik9-Aug-06 20:09 
AnswerRe: Crystal Report Invalid Key Pin
Dave Sexton9-Aug-06 22:10
Dave Sexton9-Aug-06 22:10 
GeneralRe: Crystal Report Invalid Key Pin
iamalik10-Aug-06 0:32
professionaliamalik10-Aug-06 0:32 
QuestionDo I need to delete the class? Pin
IlanTal9-Aug-06 19:33
IlanTal9-Aug-06 19:33 
AnswerRe: Do I need to delete the class? Pin
Dave Sexton9-Aug-06 22:05
Dave Sexton9-Aug-06 22:05 
GeneralRe: Do I need to delete the class? Pin
IlanTal10-Aug-06 3:30
IlanTal10-Aug-06 3:30 
GeneralRe: Do I need to delete the class? Pin
Dave Sexton10-Aug-06 21:35
Dave Sexton10-Aug-06 21:35 
AnswerRe: Do I need to delete the class? Pin
Dave Kreskowiak10-Aug-06 2:39
mveDave Kreskowiak10-Aug-06 2:39 
QuestionAccess DB - Some columns not updating Pin
draynumfa9-Aug-06 12:54
draynumfa9-Aug-06 12:54 
QuestionPlz can anyone help?? Pin
Paul Ferris9-Aug-06 10:39
Paul Ferris9-Aug-06 10:39 
AnswerRe: Plz can anyone help?? Pin
Christian Graus9-Aug-06 11:44
protectorChristian Graus9-Aug-06 11:44 
GeneralRe: Plz can anyone help?? Pin
Paul Ferris10-Aug-06 3:21
Paul Ferris10-Aug-06 3:21 
GeneralRe: Plz can anyone help?? Pin
Christian Graus10-Aug-06 10:59
protectorChristian Graus10-Aug-06 10:59 

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.