So quick fix is to change to using an ArrayList to store the custom objects (if you need sorting try SortedList class). ArrayList stores objects as-is and therefore your code would work without other changes.
The following funtion performs bulk copy in vb.net. The colomns need to be mapped to the data base table. Public Shared Function InsertQueries (ByVal DestinationTable As String, ByVal dt As DataTable, ByVal keepIdentity As Boolean, ByVal ds As DataSet) As Int64 Dim bulkCopy As SqlBulkCopy Dim strConnection As String = ConfigurationManager.ConnectionStrings ("TargetConnection").ConnectionString ...
I have prepared a new model and based on that I prepated few reports using Report Builder. Now, I need to edit existing report to apply few more filter and new column. For that I am opening report in to Report Builder and applying new filters and adding new attribute. Everything is set. I will save this report.
I like to watch the clipboard in an thread. And when there is any changing i like to get an Messagebox Followoing Code I have: using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.ComponentModel; using System.Runtime.InteropServices; using System.Windows.Forms; using System.Drawing; using System.Data; namespace ThreadTest.OwnClass {
i use authentication request on global.asax for attach roles to related user. Now i need to get these roles’ list in my pages. How can i get these roles list to an array,arraylist etc.