| re: Table In VB.net Application Form
To illustrate my issue
for the asp table i could do if varDay = "Monday" and varHour = "08" then
table.Rows(x).colums(y).value = varNumber + varValueAlreadyThere
loop through how many hours the child is with my wife. Updating each field
This works great as i can loop though the fields and assign values
But using textboxes in the standalone app i have to if varDay = "Monday" and varHour = "08" then
textbox1.text = 1 + textbox1.text
loop through how many hours the child is with my wife by assigning each individual textbox eg
if varNextHour = true then textbox2.text = varnumber + textbox2.text
if varNextHour = true then textbox3.text = varnumber + textbox3.text
if varNextHour = true then textbox4.text = varnumber + textbox4.text
and so on, loads of code. there must be a better way to do it.
I support i could make the gridview look better if there's is no other way
Or, is it possible to import the table used for ASP.net into vb.net stand alone app by referencing the resource ?
|