Click here to Skip to main content
16,011,702 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to change the default property of the form Pin
HemJoshi7-Oct-08 4:19
HemJoshi7-Oct-08 4:19 
Question[Message Deleted] Pin
EliottA7-Oct-08 2:33
EliottA7-Oct-08 2:33 
AnswerRe: Excel Weird Behavior Pin
EliottA7-Oct-08 3:42
EliottA7-Oct-08 3:42 
Questionsearch within excel file Pin
jhyn7-Oct-08 2:23
jhyn7-Oct-08 2:23 
AnswerRe: search within excel file Pin
Ashfield7-Oct-08 3:09
Ashfield7-Oct-08 3:09 
QuestionCombobox in DataGrid Pin
neha.lad7-Oct-08 1:05
neha.lad7-Oct-08 1:05 
AnswerRe: Combobox in DataGrid Pin
Ashfield7-Oct-08 1:18
Ashfield7-Oct-08 1:18 
QuestionDataGridView HELL!!! what am I doing wrong Pin
GDMFSOB6-Oct-08 20:56
GDMFSOB6-Oct-08 20:56 
Ok have a simple datagridview well at Least I thought so.... its bound to a typed dataset, it does not do what its supposed to do, when I edit a cell in the row just above the new row line at the bottom and hit ENTER it creates a new bloody row but not really it only actualy creates the new row if I type something, I only wanted to edit the cell I was just in, but now eveytime I change a cell and hit enter it tries to validate the new row with no input in it after it has updated the database, how the hell do you get arroud this, also previuosly, one of my other problems was I would edit a cell and then on CellEndEdit I wanted it to update the database but it would not really run the update I stepped through the code and could see the data in the cell had changed and the tableadapter.update had run but no change to the DB at All, until I edited another cell.

Please if any of you know what is goig on with the first problem of createing a new row on hitting enter in a non new row please assist.

Thanks

 <br />
Private Sub TRecieptsTableBindingSource_ListChanged(ByVal sender As Object, ByVal e As System.ComponentModel.ListChangedEventArgs) Handles TRecieptsTableBindingSource.ListChanged        <br />
If Me.StockDB.HasChanges Then<br />
            Me.UpdatePending = True<br />
        End If<br />
    End Sub<br />
<br />
    Private Sub DataGridView1_RowValidated(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.RowValidated<br />
        If UpdatePending And ValidRow = True Then<br />
            Me.TRecieptsTableTableAdapter.Update(Me.StockDB.tRecieptsTable)<br />
            Me.UpdatePending = False<br />
            ValidRow = False<br />
        End If<br />
    End Sub<br />

AnswerRe: DataGridView HELL!!! what am I doing wrong Pin
Mycroft Holmes6-Oct-08 23:09
professionalMycroft Holmes6-Oct-08 23:09 
GeneralRe: DataGridView HELL!!! what am I doing wrong Pin
GDMFSOB6-Oct-08 23:28
GDMFSOB6-Oct-08 23:28 
GeneralRe: DataGridView HELL!!! what am I doing wrong Pin
Mycroft Holmes7-Oct-08 0:47
professionalMycroft Holmes7-Oct-08 0:47 
AnswerRe: DataGridView HELL!!! what am I doing wrong Pin
dan!sh 6-Oct-08 23:31
professional dan!sh 6-Oct-08 23:31 
GeneralRe: DataGridView HELL!!! what am I doing wrong Pin
GDMFSOB6-Oct-08 23:37
GDMFSOB6-Oct-08 23:37 
Questionchecking whether the folder is readonly or not using VB6.0 Pin
anu_sam7776-Oct-08 18:50
anu_sam7776-Oct-08 18:50 
AnswerRe: checking whether the folder is readonly or not using VB6.0 Pin
Dave Kreskowiak7-Oct-08 3:30
mveDave Kreskowiak7-Oct-08 3:30 
QuestionCreating a file directory VB Pin
New_Coder6-Oct-08 14:36
New_Coder6-Oct-08 14:36 
AnswerRe: Creating a file directory VB Pin
Dave Kreskowiak6-Oct-08 16:04
mveDave Kreskowiak6-Oct-08 16:04 
Questionvb.net to vb script converter Pin
lostboy2416-Oct-08 9:13
lostboy2416-Oct-08 9:13 
AnswerRe: vb.net to vb script converter Pin
Paul Conrad6-Oct-08 9:48
professionalPaul Conrad6-Oct-08 9:48 
AnswerRe: vb.net to vb script converter Pin
Dave Kreskowiak6-Oct-08 10:38
mveDave Kreskowiak6-Oct-08 10:38 
GeneralRe: vb.net to vb script converter Pin
lostboy2416-Oct-08 14:01
lostboy2416-Oct-08 14:01 
QuestionRight fax issue with email ID format Pin
lostboy2416-Oct-08 4:25
lostboy2416-Oct-08 4:25 
QuestionLSA Functions Problems Pin
cyberhiker6-Oct-08 4:21
cyberhiker6-Oct-08 4:21 
QuestionPrimary key problem from .csv file ODBC Pin
cstrader2326-Oct-08 2:20
cstrader2326-Oct-08 2:20 
AnswerRe: Primary key problem from .csv file ODBC Pin
Dave Kreskowiak6-Oct-08 6:25
mveDave Kreskowiak6-Oct-08 6:25 

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.