Click here to Skip to main content
16,005,038 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionNative look in WinForms Pin
Leafy16-May-08 9:46
Leafy16-May-08 9:46 
AnswerRe: Native look in WinForms Pin
Thomas Stockwell18-May-08 4:10
professionalThomas Stockwell18-May-08 4:10 
GeneralRe: Native look in WinForms Pin
Leafy18-May-08 4:49
Leafy18-May-08 4:49 
AnswerRe: Native look in WinForms Pin
Brady Kelly18-May-08 8:09
Brady Kelly18-May-08 8:09 
GeneralRe: Native look in WinForms Pin
Leafy19-May-08 7:55
Leafy19-May-08 7:55 
QuestionError while dragging the usercontrol from ToolBox to Form Pin
poornima.s16-May-08 2:13
poornima.s16-May-08 2:13 
AnswerRe: Error while dragging the usercontrol from ToolBox to Form Pin
michaelbarb16-Aug-19 9:08
michaelbarb16-Aug-19 9:08 
QuestionDatarows are moved instead of copy Pin
Sabahat Hussain16-May-08 0:29
Sabahat Hussain16-May-08 0:29 
I wanted to have button through which user can copy the [order details] from one order id to anoth order id. For example order id: 10248 have 10 detail item and I wanted all these items to append in order id: 200.

My problem is that below mentioned code is copying the detail items but it also removes the source detail record. Any clue!
--------------------------------------------------------------------
Private Sub btnCopyOrderID_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCopyOrderID.Click
Dim DataTable2 As DataTable = New DataTable
DataTable2 = obj.GetDataSet.Tables(1).Clone
'
' copy required record into a new table: DataTable2
For Each MydataRow In obj.GetDataSet.Tables(1).Select("OrderID = " & xcopyOrderID.Text)
DataTable2.ImportRow(MydataRow)
Next MydataRow
'
' change order id in DataTable2
For i = 0 To DataTable2.Rows.Count - 1
DataTable2.Rows(i).Item("OrderID") = OrderID.Text
Next
'
'paste records from DataTable2 to Original Table
For Each NewdataRow In DataTable2.Rows
obj.GetDataSet.Tables(1).ImportRow(NewdataRow)
Next NewdataRow
End Sub
AnswerRe: Datarows are moved instead of copy Pin
David Sofia30-Jul-20 7:15
David Sofia30-Jul-20 7:15 
QuestionUncheck "Automatically Detect Settings" checkbox in IE Pin
sandeep kumar pundhir15-May-08 18:52
sandeep kumar pundhir15-May-08 18:52 
QuestionProblem in sending mails through smtp Pin
mrcsn14-May-08 19:00
mrcsn14-May-08 19:00 
QuestionHi The text size gets changed when exported [modified] Pin
ananthrahul14-May-08 1:38
ananthrahul14-May-08 1:38 
AnswerRe: Hi The text size gets changed when exported Pin
Christian Graus14-May-08 2:55
protectorChristian Graus14-May-08 2:55 
GeneralRe: Hi The text size gets changed when exported Pin
ananthrahul14-May-08 3:00
ananthrahul14-May-08 3:00 
QuestionConsuming corel dll in .net Pin
raja baireddy13-May-08 23:50
raja baireddy13-May-08 23:50 
AnswerRe: Consuming corel dll in .net Pin
Christian Graus13-May-08 23:59
protectorChristian Graus13-May-08 23:59 
GeneralRe: Consuming corel dll in .net Pin
raja baireddy14-May-08 0:14
raja baireddy14-May-08 0:14 
GeneralRe: Consuming corel dll in .net Pin
Christian Graus14-May-08 2:54
protectorChristian Graus14-May-08 2:54 
GeneralRe: Consuming corel dll in .net Pin
raja baireddy14-May-08 18:32
raja baireddy14-May-08 18:32 
QuestionUse of Localization for multiple language support Pin
sanpune13-May-08 22:53
sanpune13-May-08 22:53 
AnswerRe: Use of Localization for multiple language support Pin
Christian Graus13-May-08 22:58
protectorChristian Graus13-May-08 22:58 
GeneralRe: Use of Localization for multiple language support Pin
sanpune13-May-08 23:29
sanpune13-May-08 23:29 
GeneralRe: Use of Localization for multiple language support Pin
Christian Graus13-May-08 23:59
protectorChristian Graus13-May-08 23:59 
GeneralRe: Use of Localization for multiple language support Pin
sanpune14-May-08 0:17
sanpune14-May-08 0:17 
GeneralRe: Use of Localization for multiple language support Pin
sanpune14-May-08 21:57
sanpune14-May-08 21:57 

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.