Click here to Skip to main content
16,006,531 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: hello Pin
Mycroft Holmes5-Nov-13 11:32
professionalMycroft Holmes5-Nov-13 11:32 
QuestionMVVM WPF Datatable to Datagrid binding issue Pin
Member 98926063-Nov-13 8:07
Member 98926063-Nov-13 8:07 
AnswerRe: MVVM WPF Datatable to Datagrid binding issue Pin
Mycroft Holmes3-Nov-13 12:09
professionalMycroft Holmes3-Nov-13 12:09 
QuestionHow to make an ad blocker for web browser? Pin
AdvantageSoft31-Oct-13 13:05
AdvantageSoft31-Oct-13 13:05 
AnswerRe: How to make an ad blocker for web browser? Pin
Eddy Vluggen1-Nov-13 7:23
professionalEddy Vluggen1-Nov-13 7:23 
AnswerRe: How to make an ad blocker for web browser? Pin
TnTinMn1-Nov-13 8:44
TnTinMn1-Nov-13 8:44 
AnswerRe: How to make an ad blocker for web browser? Pin
Chaim Tovim13-Nov-13 1:22
Chaim Tovim13-Nov-13 1:22 
QuestionProblem regarding datagrid viewbutton column Pin
Member 1019283531-Oct-13 0:54
Member 1019283531-Oct-13 0:54 
Dear Sir

i made a datagrid and two button column by using New datagridveiwbuttoncolumn, "Edit" and "X"
I want that when i click on edit button then the selected record displayed in the text box, but the click event is not working in the ode. following is the code:

Private Sub dgvLorryMaster_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgvLorryMaster.CellClick
       Try
           If e.RowIndex >= 0 AndAlso e.ColumnIndex = dgvLorryMaster.Columns("Edit").Index Then
               Displaylorry(Convert.ToInt32(idString))
           End If


           If e.RowIndex <> 0 AndAlso e.ColumnIndex = dgvLorryMaster.Columns("X").Index Then
               Dim num As DialogResult = MessageBox.Show("Are you want to delete the record !!!.", "", MessageBoxButtons.YesNo)
               If num = DialogResult.Yes Then
                   Dim result As Boolean = lbll.deletelorry(Convert.ToInt32(idString))
                   If result = True Then
                       ClearText()
                       MessageBox.Show("Deleted Successfully")
                       bindgrid()
                   End If
               Else
                   ClearText()
               End If
           End If
       Catch ex As Exception
           MessageBox.Show(ex.Message)
       End Try
   End Sub

the error comes "null exception handles"

please suggest me what should ido for generate click event

thanx
QuestionRe: Problem regarding datagrid viewbutton column Pin
Eddy Vluggen31-Oct-13 8:15
professionalEddy Vluggen31-Oct-13 8:15 
Questioneror ,operator' = 'is not defined for system.windows.forms.datagridviewcolumn and system.windows.forms.datagridviewbuttoncolumn Pin
Member 1019283530-Oct-13 1:22
Member 1019283530-Oct-13 1:22 
AnswerRe: eror ,operator' = 'is not defined for system.windows.forms.datagridviewcolumn and system.windows.forms.datagridviewbuttoncolumn Pin
Richard MacCutchan30-Oct-13 2:04
mveRichard MacCutchan30-Oct-13 2:04 
GeneralRe: eror ,operator' = 'is not defined for system.windows.forms.datagridviewcolumn and system.windows.forms.datagridviewbuttoncolumn Pin
Member 1019283530-Oct-13 20:41
Member 1019283530-Oct-13 20:41 
SuggestionRe: eror ,operator' = 'is not defined for system.windows.forms.datagridviewcolumn and system.windows.forms.datagridviewbuttoncolumn Pin
Richard MacCutchan30-Oct-13 22:00
mveRichard MacCutchan30-Oct-13 22:00 
AnswerRe: eror ,operator' = 'is not defined for system.windows.forms.datagridviewcolumn and system.windows.forms.datagridviewbuttoncolumn Pin
TnTinMn31-Oct-13 9:27
TnTinMn31-Oct-13 9:27 
GeneralRe: eror ,operator' = 'is not defined for system.windows.forms.datagridviewcolumn and system.windows.forms.datagridviewbuttoncolumn Pin
Member 101928351-Nov-13 21:11
Member 101928351-Nov-13 21:11 
Questionproblem not solved Pin
coolerfantasy29-Oct-13 19:31
coolerfantasy29-Oct-13 19:31 
AnswerRe: problem not solved Pin
Richard MacCutchan30-Oct-13 2:07
mveRichard MacCutchan30-Oct-13 2:07 
AnswerRe: problem not solved Pin
Dave Kreskowiak30-Oct-13 2:32
mveDave Kreskowiak30-Oct-13 2:32 
AnswerRe: problem not solved Pin
Vaclav_3-Nov-13 14:36
Vaclav_3-Nov-13 14:36 
QuestionCheckPIDDll Pin
Member 1027776329-Oct-13 9:34
Member 1027776329-Oct-13 9:34 
AnswerRe: CheckPIDDll Pin
Dave Kreskowiak29-Oct-13 10:27
mveDave Kreskowiak29-Oct-13 10:27 
QuestionProblem in opening forms Pin
SPSandy27-Oct-13 7:43
SPSandy27-Oct-13 7:43 
AnswerRe: Problem in opening forms Pin
Dave Kreskowiak27-Oct-13 10:20
mveDave Kreskowiak27-Oct-13 10:20 
AnswerRe: Problem in opening forms Pin
Chaim Tovim13-Nov-13 1:24
Chaim Tovim13-Nov-13 1:24 
QuestionLAN Port Controlling Relay Pin
coolerfantasy26-Oct-13 21:45
coolerfantasy26-Oct-13 21:45 

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.