Click here to Skip to main content
15,881,248 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Using VB.net 2005, How to populate the Column header to all records. Pin
Member 402761712-Jun-09 4:44
Member 402761712-Jun-09 4:44 
AnswerRe: Using VB.net 2005, How to populate the Column header to all records. Pin
_Damian S_9-Jun-09 20:36
professional_Damian S_9-Jun-09 20:36 
GeneralRe: Using VB.net 2005, How to populate the Column header to all records. Pin
Member 402761712-Jun-09 4:37
Member 402761712-Jun-09 4:37 
QuestionProblem with DataGridView Pin
Jack Brando9-Jun-09 15:50
Jack Brando9-Jun-09 15:50 
AnswerRe: Problem with DataGridView Pin
Christian Graus9-Jun-09 16:13
protectorChristian Graus9-Jun-09 16:13 
GeneralRe: Problem with DataGridView Pin
Jack Brando9-Jun-09 16:31
Jack Brando9-Jun-09 16:31 
GeneralRe: Problem with DataGridView Pin
Christian Graus9-Jun-09 17:13
protectorChristian Graus9-Jun-09 17:13 
QuestionCouple questions regarding binding a datagridviewcolumn to an auto increment database column Pin
Jon_Boy9-Jun-09 8:39
Jon_Boy9-Jun-09 8:39 
I'm using a fairly basic Select statement that is bound to a datagridview )SELECT ID, Desc, Default, Name FROM Table1)

The ID column is an auto-incrementing integer column in Table1. The dataset is strongly typed with commands for insert, delete and update.

Winform setup:
BindingSource1.DataSource = dsData
BindingSource1.DataMember = Table1
Datagridview1.DataSource = BindingSource1


I'm confused on how to properly handle inserts (specifically with the ID column). I'm assuming you would insert the row and return the ID to set the ID column in the grid but am a little lost on what method(s) to use (esp. to cancel the addition in the case the user presses escape). Just looking for a little guidance.

Hope this question makes sense.

"There's no such thing as a stupid question, only stupid people." - Mr. Garrison

AnswerRe: Couple questions regarding binding a datagridviewcolumn to an auto increment database column Pin
Johan Hakkesteegt9-Jun-09 22:10
Johan Hakkesteegt9-Jun-09 22:10 
AnswerRe: Couple questions regarding binding a datagridviewcolumn to an auto increment database column Pin
Jon_Boy11-Jun-09 9:09
Jon_Boy11-Jun-09 9:09 
QuestionHow read a url from xml and open a tab in the webrowser? Pin
Dynamic12349-Jun-09 7:02
Dynamic12349-Jun-09 7:02 
AnswerRe: How read a url from xml and open a tab in the webrowser? Pin
Christian Graus9-Jun-09 10:50
protectorChristian Graus9-Jun-09 10:50 
GeneralRe: How read a url from xml and open a tab in the webrowser? Pin
Dynamic12349-Jun-09 22:32
Dynamic12349-Jun-09 22:32 
QuestionPadding is invalid and cannot be removed Pin
Raheem MA9-Jun-09 4:00
Raheem MA9-Jun-09 4:00 
AnswerRe: Padding is invalid and cannot be removed Pin
Dave Kreskowiak10-Jun-09 1:59
mveDave Kreskowiak10-Jun-09 1:59 
QuestionVB6.0 with Registered OCX control Pin
vhassan9-Jun-09 2:55
vhassan9-Jun-09 2:55 
AnswerRe: VB6.0 with Registered OCX control Pin
Dave Kreskowiak9-Jun-09 6:32
mveDave Kreskowiak9-Jun-09 6:32 
GeneralRe: VB6.0 with Registered OCX control Pin
vhassan9-Jun-09 19:16
vhassan9-Jun-09 19:16 
GeneralRe: VB6.0 with Registered OCX control Pin
Dave Kreskowiak10-Jun-09 1:57
mveDave Kreskowiak10-Jun-09 1:57 
AnswerRe: VB6.0 with Registered OCX control Pin
Jon_Boy9-Jun-09 7:58
Jon_Boy9-Jun-09 7:58 
QuestionProblem with restarting thread Pin
sohaib_a9-Jun-09 2:49
sohaib_a9-Jun-09 2:49 
AnswerRe: Problem with restarting thread Pin
Johan Hakkesteegt9-Jun-09 3:12
Johan Hakkesteegt9-Jun-09 3:12 
AnswerRe: Problem with restarting thread Pin
LCARS x329-Jun-09 22:43
LCARS x329-Jun-09 22:43 
QuestionReading application .config file Pin
WorkingAcc9-Jun-09 2:36
WorkingAcc9-Jun-09 2:36 
AnswerRe: Reading application .config file Pin
Dave Kreskowiak9-Jun-09 6:28
mveDave Kreskowiak9-Jun-09 6:28 

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.