Click here to Skip to main content
15,881,803 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: GridView checkbox cell Pin
Wild Thing12-Feb-15 22:31
Wild Thing12-Feb-15 22:31 
QuestionAny tips on how to create a UI like blizzard/origin/steam game clients using WinForms? Pin
vizimuchi11-Feb-15 8:29
vizimuchi11-Feb-15 8:29 
AnswerRe: Any tips on how to create a UI like blizzard/origin/steam game clients using WinForms? Pin
Richard MacCutchan11-Feb-15 21:49
mveRichard MacCutchan11-Feb-15 21:49 
AnswerRe: Any tips on how to create a UI like blizzard/origin/steam game clients using WinForms? Pin
den2k8812-Feb-15 2:01
professionalden2k8812-Feb-15 2:01 
Questionunsure of controls to use Pin
minnie mouse5-Jan-15 11:14
minnie mouse5-Jan-15 11:14 
AnswerRe: unsure of controls to use Pin
Richard MacCutchan5-Jan-15 22:54
mveRichard MacCutchan5-Jan-15 22:54 
QuestionInternship Management System Pin
Member 112919486-Dec-14 22:37
Member 112919486-Dec-14 22:37 
Questiondatagridviewtextboxcell error on 350 characters Pin
Rhyde Marsh12-Nov-14 11:06
Rhyde Marsh12-Nov-14 11:06 
this i my first post, so i hope i am explaining it correctly, have a datagridview with a textboxcolumn. it is bind to a dataset

my problem is when i update a record wiht more that 350 characters it give me a nullrefference error. the database is updated when i check the physical record but the application crash

here is the function

Private Sub m_maintenanceProcessor_WebsiteUpdated(ByVal sender As Object, ByVal e As Processors.EventArgs) Handles m_maintenanceProcessor.WebsiteUpdated
Dim tempTable As MaintenanceDataSet.WebsitePageDownloadDataTable

Try
If e.Data.Contains("ModifiedRows") = False Then Exit Sub
tempTable = CType(e.Data("ModifiedRows"), MaintenanceDataSet.WebsitePageDownloadDataTable)
If tempTable.Rows.Count > 0 Then
RemoveHandler maintenanceDataGridView.RowValidated, AddressOf maintenanceDataGridView_RowValidated
Processor.Data.WebsitePageDownload.LoadingTable = True
Processor.Data.WebsitePageDownload.Merge(tempTable, False)
Processor.Data.WebsitePageDownload.LoadingTable = False
Processor.Data.WebsitePageDownload.RejectChanges()
AddHandler maintenanceDataGridView.RowValidated, AddressOf maintenanceDataGridView_RowValidated


Processor.Data.WebsitePageDownload.Merge(tempTable)

'For Each row As DataRow In tempTable.Rows
' If row.RowError IsNot Nothing AndAlso row.RowError.Length > 0 Then
' MsgBox(row.RowError)
' End If

' ' MsgBox(row("URL").ToString)

'Next

'MsgBox(Processor.Data.WebsitePageDownload.Columns("defaultstatusid").MaxLength)
Processor.Data.WebsitePageDownload.AcceptChanges()
End If
Catch ex As Exception
MsgBox(ex.Message.ToString)
End Try
tempTable = Nothing

Me.StatusMessage = String.Empty

End Sub


error gets thrown on acceptchanges
QuestionRe: datagridviewtextboxcell error on 350 characters Pin
Richard MacCutchan12-Nov-14 21:26
mveRichard MacCutchan12-Nov-14 21:26 
AnswerRe: datagridviewtextboxcell error on 350 characters Pin
Rhyde Marsh13-Nov-14 3:39
Rhyde Marsh13-Nov-14 3:39 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Richard MacCutchan13-Nov-14 4:26
mveRichard MacCutchan13-Nov-14 4:26 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Rhyde Marsh13-Nov-14 5:25
Rhyde Marsh13-Nov-14 5:25 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Richard MacCutchan13-Nov-14 5:38
mveRichard MacCutchan13-Nov-14 5:38 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Rhyde Marsh14-Nov-14 1:27
Rhyde Marsh14-Nov-14 1:27 
QuestionRe: datagridviewtextboxcell error on 350 characters Pin
Eddy Vluggen13-Nov-14 5:38
professionalEddy Vluggen13-Nov-14 5:38 
AnswerRe: datagridviewtextboxcell error on 350 characters Pin
Rhyde Marsh18-Nov-14 5:36
Rhyde Marsh18-Nov-14 5:36 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Eddy Vluggen18-Nov-14 5:50
professionalEddy Vluggen18-Nov-14 5:50 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Rhyde Marsh18-Nov-14 8:33
Rhyde Marsh18-Nov-14 8:33 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Eddy Vluggen18-Nov-14 10:23
professionalEddy Vluggen18-Nov-14 10:23 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Rhyde Marsh19-Nov-14 3:11
Rhyde Marsh19-Nov-14 3:11 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Eddy Vluggen19-Nov-14 5:15
professionalEddy Vluggen19-Nov-14 5:15 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Rhyde Marsh21-Nov-14 11:19
Rhyde Marsh21-Nov-14 11:19 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Eddy Vluggen22-Nov-14 3:55
professionalEddy Vluggen22-Nov-14 3:55 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Rhyde Marsh24-Nov-14 2:36
Rhyde Marsh24-Nov-14 2:36 
GeneralRe: datagridviewtextboxcell error on 350 characters Pin
Eddy Vluggen24-Nov-14 3:38
professionalEddy Vluggen24-Nov-14 3:38 

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.