Ionut's Profile
Reputation: 385
Architect
- Group:
- Expert
- Active Posts:
- 1,053 (1.01 per day)
- Joined:
- 17-July 10
- Profile Views:
- 7,787
- Last Active:
Mar 06 2013 07:47 AM- Currently:
- Offline
Previous Fields
- Country:
- RO
- OS Preference:
- Windows
- Favorite Browser:
- Internet Explorer
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- PC
- Your Car:
- Who Cares
- Dream Kudos:
- 0
- Expert In:
- VB.NET, Databases
Latest Visitors
-
CodingSup3rna... 
06 Mar 2013 - 00:54 -
jmProg 
02 Mar 2013 - 03:28 -
lucky3 
23 Nov 2012 - 08:32 -
nighttrain 
12 Nov 2012 - 14:21 -
samanx 
09 Nov 2012 - 06:15 -
coder3788 
08 Nov 2012 - 05:47 -
JerK H 
06 Nov 2012 - 13:22 -
ijazahmad 
05 Nov 2012 - 01:42 -
darek9576 
25 Oct 2012 - 13:08 -
abhishek415 
14 Oct 2012 - 08:34
Posts I've Made
-
In Topic: Check if SQL Server Job already running?
Posted 1 Mar 2013
-
In Topic: Can't cast unknown type to iOrderedEnumerable(Of TYPE)
Posted 26 Feb 2013
Well, you cannot. A Linq statement(query) doesn't inherit IOrderedEnumerable. You can use extension methods OrderBy and OrderByDescending of the type returned by the query(which, if I'm not mistaken, is of type IEnumarable(of T)). These two functions return an IOrderedEnumerable(of T) object.
Example
If SortAscending Then Sorted = (From MusicCard As SongCardNFO In SongCard Select MusicCard).OrderBy(Function(music) music.SetProperty1) Else Sorted = (From MusicCard As SongCardNFO In SongCard Select MusicCard).OrderByDescending(Function(music) music.SetProperty2) End If -
In Topic: Read each line of comma-delimited file into separate array
Posted 24 Feb 2013
put the code in a while -> while not end of file, read a new line
Dim EeErString() As String If EeErTextFieldParser.EndOfData Then MessageBox.Show("No records to display.", "End of Data") Else while not EeErTextFieldParser.EndOfData EeErString = EeErTextFieldParser.ReadFields() EmployeeLabel1.Text = EeErString(0) ' First field. EmployerLabel1.Text = EeErString(1) ' Second field. EmployeeLabel2.Text = EeErString(2) ' etc EmployerLabel2.Text = EeErString(3) end while End If -
In Topic: import data from excel 2010 to sqlexpress(vb.net windows application)
Posted 22 Feb 2013
well, do you want to use Excel VBA or VB.NET? If you want VBA , move the question in VB6 section.
For VB.NET:
-create a new Windows Forms Application
- add a button to the form
- double click the button
- write the code
Next step:
- get the path of the Excel file
- use TheKirk's link to read from Excel
- look in tutorial section for a basic example of working with ADO.NET.
- if you get stuck with a piece of code, come back with a question and we will help you from that point. -
In Topic: Visual Studio 2012 SQL CE 4 Error!?!
Posted 22 Feb 2013
What assembly does your application uses? If you go to C:\Windows\assembly, probably you will have two versions of System.Data.SqlServerCe: 3.5.1.0 and 4.0.0.0(or whatever version is Ce 4). You said you use the code that worked with VS2010, have you changed the reference to the right assembly? It appears to be a compatibility issue.
My Information
- Member Title:
- D.I.C Lover
- Age:
- 25 years old
- Birthday:
- August 27, 1987
- Gender:
-
- Location:
- Bucharest
- Full Name:
- Ionut Dragu
- Years Programming:
- 2
- Programming Languages:
- Delphi, C#, VBA, SQL
Contact Information
- E-mail:
- Click here to e-mail me
- MSN:
-
ionut.dragu
- Yahoo:
-
dragu.ionut
- Skype:
-
ionut_dragu
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
Bluezap
17 Jul 2012 - 08:05http://www.dreamincode.net/forums/topic/285850-read-file-in-ftp-server-and-execute-a-fuction/
Bluezap
15 Jul 2012 - 02:36http://www.dreamincode.net/forums/topic/285850-read-file-in-ftp-server-and-execute-a-fuction/
nK0de
17 May 2012 - 10:48thought it would be interesting! :)
giorgospsk
02 Jan 2012 - 07:59smohd
02 Sep 2011 - 11:31Tareshukla
26 Feb 2011 - 09:06cornetto456
16 Feb 2011 - 08:49cornetto456
13 Feb 2011 - 09:55