Click here to Skip to main content
15,922,584 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: effective designing Pin
darkelv26-Jan-08 2:55
darkelv26-Jan-08 2:55 
QuestionWindows Installer CustomActionData parameters Pin
mrgubbels25-Jan-08 11:43
mrgubbels25-Jan-08 11:43 
GeneralDisplaying Rows from a DataTable in a DataGrid Pin
AAGTHosting25-Jan-08 7:35
AAGTHosting25-Jan-08 7:35 
GeneralRe: Displaying Rows from a DataTable in a DataGrid Pin
Kschuler25-Jan-08 8:11
Kschuler25-Jan-08 8:11 
GeneralRe: Displaying Rows from a DataTable in a DataGrid Pin
AAGTHosting25-Jan-08 10:05
AAGTHosting25-Jan-08 10:05 
GeneralRe: Displaying Rows from a DataTable in a DataGrid Pin
Kschuler25-Jan-08 11:07
Kschuler25-Jan-08 11:07 
GeneralRe: Displaying Rows from a DataTable in a DataGrid Pin
AAGTHosting25-Jan-08 14:08
AAGTHosting25-Jan-08 14:08 
GeneralRe: Displaying Rows from a DataTable in a DataGrid Pin
Kschuler28-Jan-08 3:25
Kschuler28-Jan-08 3:25 
I'm still not sure I know what you are asking...you need to remember that we don't know your table structures and naming conventions so it's hard to understand what you mean when you say things like "what line of code represents row one of the ss_day column"... So this is what I'm thinking you are asking...
You have a table of days that a teacher has on his/her schedule. You loop through this table and for each day in it, you add a column to another table (we'll call it table 2). Now you want to know how to access the new columns in table 2 and fill them with data? Right?

Well, for each day that you add a column for, you are going to have name the column something different. I do not think you are even allowed to add two columns to a table with the same name. Then you will access the data by refering to that name. For example, you may do something like this:
Dim intCount as Integer = 0<br />
For Each row as DataRow In dtTeachSched.Rows<br />
lpDataSet.Tables(0).Columns.Add(New DataColumn("Day_" & intCount, GetType(String)))<br />
Next

Then when you are ready to fill the data in later, you would access data the first row of the first new column like this:
strDataFromNewColumn = lpDataSet.Tables(0).Row(0)("Day_1")

I hope this helps point you in the right direction.
GeneralDoes any one know what i have done wrong Pin
solarthur0125-Jan-08 6:04
solarthur0125-Jan-08 6:04 
GeneralRe: Does any one know what i have done wrong Pin
Paul Conrad25-Jan-08 7:24
professionalPaul Conrad25-Jan-08 7:24 
GeneralRe: Does any one know what i have done wrong Pin
solarthur0125-Jan-08 7:45
solarthur0125-Jan-08 7:45 
GeneralRe: Does any one know what i have done wrong Pin
Paul Conrad25-Jan-08 7:48
professionalPaul Conrad25-Jan-08 7:48 
GeneralRe: Does any one know what i have done wrong Pin
solarthur0125-Jan-08 7:50
solarthur0125-Jan-08 7:50 
GeneralRe: Does any one know what i have done wrong Pin
Christian Graus25-Jan-08 12:42
protectorChristian Graus25-Jan-08 12:42 
QuestionHow to read text present on a image Pin
harivinod25-Jan-08 2:39
harivinod25-Jan-08 2:39 
AnswerRe: How to read text present on a image Pin
Justin Perez25-Jan-08 3:02
Justin Perez25-Jan-08 3:02 
AnswerRe: How to read text present on a image Pin
Paul Conrad25-Jan-08 3:48
professionalPaul Conrad25-Jan-08 3:48 
AnswerRe: How to read text present on a image Pin
Steven J Jowett25-Jan-08 5:45
Steven J Jowett25-Jan-08 5:45 
AnswerRe: How to read text present on a image Pin
eyes200729-Jan-08 19:28
eyes200729-Jan-08 19:28 
QuestionHow to get file name from openfiledialog without file path Pin
ejaz_pk25-Jan-08 1:31
ejaz_pk25-Jan-08 1:31 
GeneralRe: How to get file name from openfiledialog without file path Pin
Johan Hakkesteegt25-Jan-08 2:30
Johan Hakkesteegt25-Jan-08 2:30 
AnswerRe: How to get file name from openfiledialog without file path Pin
Ashfield25-Jan-08 2:52
Ashfield25-Jan-08 2:52 
Question[Message Deleted] Pin
Francis K Antony25-Jan-08 0:23
Francis K Antony25-Jan-08 0:23 
GeneralRe: VB.net (Visual studio 2005) Pin
Justin Perez25-Jan-08 3:04
Justin Perez25-Jan-08 3:04 
GeneralRe: VB.net (Visual studio 2005) Pin
Paul Conrad25-Jan-08 3:50
professionalPaul Conrad25-Jan-08 3:50 

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.