TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rbutch
NA
1
0
Doing it all in Code - No Server Explorer
Oct 12 2004 7:23 AM
hey guys, for so long i've been using the Server Explorer to make the connection, config the adapter and the dataset (just like i was taught in school), but that's not really the real world. so, i started doing this all in code, which is great. but, it means that the table, columns arent really known until runtime. now, i have no problem filling a datagrid, HOWEVER a simple little for loop like: Dim info As String Dim i as Integer For i = 0 To (Ds.Cont_Payroll.Count - 1) info += (Ds.Cont_Payroll(i).Empl_id) & _ (Ds.ContPayroll(i).Reg_Hours) Next i messagebox.show(info.tostring) The error message is "Cont_Payroll" is not a member of System.Data.Dataset Should i have taken care of that when i called the dataset class. here's all i used: Dim Ds as New Dataset Do i need to assign something. Again, this was so easy When using the Server Explorer thanks rik
Reply
Answers (
0
)
How to code a screen recording software?
System.InvalidCastException