Click here to Skip to main content
15,921,905 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
Hello

I m getting error that Operator '=' is not defined for types 'System.Windows.Forms.DataGridViewColumn' and 'System.Windows.Forms.DataGridViewButtonColumn'


Private Sub dgvLorryMaster_CellContentClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgvLorryMaster.CellContentClick
Dim currentrow As Integer = Integer.Parse(e.RowIndex.ToString())
Try
If currentrow = -1 Then
Else
idString = dgvLorryMaster(2, currentrow).Value.ToString()
If dgvLorryMaster.Columns(e.ColumnIndex) = editbutton AndAlso currentrow >= 0 Then ''Error here

VB


Displaylorry(Convert.ToInt32(idString))
Dim datadeletelorry As New DataSet()
End If
If dgvLorryMaster.Columns(e.ColumnIndex) = delbutton AndAlso currentrow >= 0 Then ''Error Here

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
End If
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Sub
End Class
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 
AnswerRe: LAN Port Controlling Relay Pin
Jonathan Davies27-Oct-13 2:13
Jonathan Davies27-Oct-13 2:13 
AnswerRe: LAN Port Controlling Relay Pin
Dave Kreskowiak27-Oct-13 5:31
mveDave Kreskowiak27-Oct-13 5:31 

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.