Click here to Skip to main content
14,544,858 members

.NET Framework

 
PinnedHOW TO ANSWER A QUESTION Pin
Chris Maunder16-Jul-09 3:09
cofounderChris Maunder16-Jul-09 3:09 
PinnedHow to get an answer to your question Pin
Chris Maunder16-Jul-09 3:05
cofounderChris Maunder16-Jul-09 3:05 
QuestionMessage Closed Pin
26-May-20 22:59
MemberMember 1484499326-May-20 22:59 
QuestionMessage Closed Pin
19-May-20 1:08
MemberEvian119-May-20 1:08 
Questionport 5xxxx is already in use, unable to connect to web server IIS Express Pin
Member 109358009-May-20 3:35
MemberMember 109358009-May-20 3:35 
QuestionDiscUtils.dll And DiscUtils.Common.Dll (i can't find them) Pin
Member 147711169-May-20 3:32
MemberMember 147711169-May-20 3:32 
AnswerRe: DiscUtils.dll And DiscUtils.Common.Dll (i can't find them) Pin
Dave Kreskowiak9-May-20 4:06
mveDave Kreskowiak9-May-20 4:06 
Questiondifficulties with AdvancedDatagridView Pin
Member 147338666-May-20 22:44
MemberMember 147338666-May-20 22:44 
AnswerRe: difficulties with AdvancedDatagridView Pin
Richard MacCutchan6-May-20 23:00
mveRichard MacCutchan6-May-20 23:00 
GeneralRe: difficulties with AdvancedDatagridView Pin
Member 147338666-May-20 23:37
MemberMember 147338666-May-20 23:37 
GeneralRe: difficulties with AdvancedDatagridView Pin
Richard MacCutchan7-May-20 0:02
mveRichard MacCutchan7-May-20 0:02 
GeneralRe: difficulties with AdvancedDatagridView Pin
Member 147338667-May-20 0:14
MemberMember 147338667-May-20 0:14 
GeneralRe: difficulties with AdvancedDatagridView Pin
Eddy Vluggen7-May-20 1:05
professionalEddy Vluggen7-May-20 1:05 
GeneralRe: difficulties with AdvancedDatagridView Pin
Member 147338667-May-20 1:46
MemberMember 147338667-May-20 1:46 
GeneralRe: difficulties with AdvancedDatagridView Pin
Pete O'Hanlon7-May-20 1:49
subeditorPete O'Hanlon7-May-20 1:49 
QuestionWindows 1903 Jump Lists Pin
Robert Heath29-Apr-20 19:25
MemberRobert Heath29-Apr-20 19:25 
GeneralRe: Windows 1903 Jump Lists Pin
Richard MacCutchan29-Apr-20 23:10
mveRichard MacCutchan29-Apr-20 23:10 
AnswerRe: Windows 1903 Jump Lists Pin
Eddy Vluggen29-Apr-20 23:29
professionalEddy Vluggen29-Apr-20 23:29 
Questionhow to use datatable as Datasource with Datagridview unless datagridviewrow Pin
Member 1473386629-Apr-20 2:31
MemberMember 1473386629-Apr-20 2:31 
my idea is to use datatable as Datasource to my datagridview which is named : dgvW2PNew

so i tried to convert Datagridviewrow to datarow to import it in datatable just like that

can some one tell me if i am doing wrong or suggest some thing else to me

this is my code:

Try
       MyRow = New DataGridViewRow
       MyRow.CreateCells(dgvW2PNew)
       MyRow.SetValues("0",
                                               imgNotOK.ToBitmap,
                                               sField_CodeID,
                                               sField_ExtOrderID,
                                               sField_pscArticleID,
                                               nField_ItemID,
                                               nField_OrderID,
                                               nField_Quantity,
                                               sField_Art,
                                               sField_ArtIntern,
                                               sField_Ref,
                                               sField_InfoValue,
                                               sField_ShippingCompany,
                                               sField_DeliveryDate,
                                               sField_InsertDate,
                                               sField_ArtExtern,
                                               nField_ProductLength,
                                               nField_ProductWidth,
                                               nField_ProductGrammage,
                                               sField_PrintMaterial,
                                               sField_PrintColor,
                                               )

      dgvW2PNew.Rows.Add(MyRow)

       Dim dt As New DataTable
       dt.ImportRow(MyRow)

       '' bindingSource_data.DataSource = dt
       'dgvW2PNew.DataSource = dt

     Catch ex As Exception
       ErrorLogging(True, "Sub FillW2PGrid: Zeile im Grid ergänzen" & vbCrLf & ex.Message & vbCrLf & "SQL:" & sSQL & vbCrLf & ex.StackTrace.ToString, nErrorLevel_Error)
     Finally
       If Not MyRow Is Nothing Then
         MyRow.Dispose()
         MyRow = Nothing
       End If
     End Try

AnswerRe: how to use datatable as Datasource with Datagridview unless datagridviewrow Pin
Richard MacCutchan29-Apr-20 3:20
mveRichard MacCutchan29-Apr-20 3:20 
QuestionThere is no Unicode byte order mark. Cannot switch to Unicode. Pin
Michele Smith20-Apr-20 12:56
MemberMichele Smith20-Apr-20 12:56 
AnswerRe: There is no Unicode byte order mark. Cannot switch to Unicode. Pin
Richard Deeming21-Apr-20 0:21
mveRichard Deeming21-Apr-20 0:21 
QuestionResource Error Pin
Member 129880739-Apr-20 18:19
MemberMember 129880739-Apr-20 18:19 
QuestionRe: Resource Error Pin
Richard MacCutchan9-Apr-20 21:37
mveRichard MacCutchan9-Apr-20 21:37 
AnswerRe: Resource Error Pin
Dave Kreskowiak10-Apr-20 6:40
mveDave Kreskowiak10-Apr-20 6:40 

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.