473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Thinking through a project design....

vb.net windows app to be used on college campuses.

I need to somehow think this through and come up with some ideas . You guys
have been good to me as far as helping me think things through so I felt
pretty confident coming here.

I have a situation where I need to account for 28 different types of data
entering situations each having about 35 textboxes and corresponding labels
and each textbox has a variable. If the textbox is empty when they click
submit the variable is left blank which is important for how I format the
data. When clicking submit these variables would be recorded to a access
database.

If you were me, how would you approach this situation? Would you use a tab
control? Do you think it would be poor practice to have 2 tabs where the
user had to click a second tab(planning for a min 800x600 screen and not all
textboxes would fit on one tab).

Your thoughts please and they are much appreciated.
Nov 20 '05 #1
5 945
yust some thoughts

1) a tabcontrol w 28 pages w a datagrid (in the datagrid you would have 2
cols 1 for the question 2nd for the answer)

2) a treeview 28 main nodes
option a) clicking under the main node you split thing up a bit in
subnodes
clicking a subnode would show a panel w your
textboxes (you could fill this dinamically for the selected node)
b) have a subnode for each detail (you can jump to the next
detail automatically when the user made a valid input)
3) a listbox, or combo w your 28 main items calling a panel again (w the
textboxes) keep in mind panels give scrollbars so the limited resolution
dousnt have to be a problem

hope it helped

eric

"scorpion53061" <sc****************************@yahoo.com> wrote in message
news:uy**************@TK2MSFTNGP11.phx.gbl...
vb.net windows app to be used on college campuses.

I need to somehow think this through and come up with some ideas . You guys have been good to me as far as helping me think things through so I felt
pretty confident coming here.

I have a situation where I need to account for 28 different types of data
entering situations each having about 35 textboxes and corresponding labels and each textbox has a variable. If the textbox is empty when they click
submit the variable is left blank which is important for how I format the
data. When clicking submit these variables would be recorded to a access
database.

If you were me, how would you approach this situation? Would you use a tab
control? Do you think it would be poor practice to have 2 tabs where the
user had to click a second tab(planning for a min 800x600 screen and not all textboxes would fit on one tab).

Your thoughts please and they are much appreciated.

Nov 20 '05 #2
Hi eric

Thank you for your advice.

I need to somehow on the datagrid control allow this to be a control a user
can enter data and then I can assign its contents to variables (first column
e.g. say "Author" then the next column the user would enter a value which
when they clicked submit I would read and assign to variable.

Do you know of a link that would help with this?
"EricJ" <ericRéMo**@ThiSomnipack.be> wrote in message
news:3f**********************@reader0.news.skynet. be...
yust some thoughts

1) a tabcontrol w 28 pages w a datagrid (in the datagrid you would have 2
cols 1 for the question 2nd for the answer)

2) a treeview 28 main nodes
option a) clicking under the main node you split thing up a bit in
subnodes
clicking a subnode would show a panel w your
textboxes (you could fill this dinamically for the selected node)
b) have a subnode for each detail (you can jump to the next detail automatically when the user made a valid input)
3) a listbox, or combo w your 28 main items calling a panel again (w the
textboxes) keep in mind panels give scrollbars so the limited resolution
dousnt have to be a problem

hope it helped

eric

"scorpion53061" <sc****************************@yahoo.com> wrote in message news:uy**************@TK2MSFTNGP11.phx.gbl...
vb.net windows app to be used on college campuses.

I need to somehow think this through and come up with some ideas . You

guys
have been good to me as far as helping me think things through so I felt
pretty confident coming here.

I have a situation where I need to account for 28 different types of data entering situations each having about 35 textboxes and corresponding

labels
and each textbox has a variable. If the textbox is empty when they click
submit the variable is left blank which is important for how I format the data. When clicking submit these variables would be recorded to a access
database.

If you were me, how would you approach this situation? Would you use a tab control? Do you think it would be poor practice to have 2 tabs where the
user had to click a second tab(planning for a min 800x600 screen and not

all
textboxes would fit on one tab).

Your thoughts please and they are much appreciated.


Nov 20 '05 #3
not really but i think i can set you on the right path adjust this to your
needs
if you create 2 tables in your db
1 will hold an id, a propertytype and a property name (property type would
be 1 of your 28)
2 wil hold an id, a property id, a value and a user (the property's will
belong to someone)

now you can create sets of properties in your db

in the datagrid make a selection of all rows in the 1table connected to the
2nd table (for a prop type)
this gives you a 2 col datagrid
(drgmain is the datagrid)
create a tablestyle and set the first col to readonly (you don't want the
user to edit your property names)
\\
dsForm = New DataSet("data")
dsForm = SqlHelper.ExecuteDataset(gstrCnn, CommandType.Text, strSql)
Dim ts As New DataGridTableStyle
ts.MappingName = "Table"
dgrMain.TableStyles.Clear()
dgrMain.SetDataBinding(dsForm, "Table")
dgrMain.TableStyles.Add(ts)
ts.GridColumnStyles(0).Width = 0
ts.GridColumnStyles(0).ReadOnly = True
ts.GridColumnStyles(1).Width = 100
//

then all you have left is to save the data in the database
i think this could be something that would work wel in a bound structure

anyway i hope it helps

eric

"scorpion53061" <sc****************************@yahoo.com> wrote in message
news:ey**************@TK2MSFTNGP11.phx.gbl...
Hi eric

Thank you for your advice.

I need to somehow on the datagrid control allow this to be a control a user can enter data and then I can assign its contents to variables (first column e.g. say "Author" then the next column the user would enter a value which
when they clicked submit I would read and assign to variable.

Do you know of a link that would help with this?
"EricJ" <ericRéMo**@ThiSomnipack.be> wrote in message
news:3f**********************@reader0.news.skynet. be...
yust some thoughts

1) a tabcontrol w 28 pages w a datagrid (in the datagrid you would have 2
cols 1 for the question 2nd for the answer)

2) a treeview 28 main nodes
option a) clicking under the main node you split thing up a bit in
subnodes
clicking a subnode would show a panel w your
textboxes (you could fill this dinamically for the selected node)
b) have a subnode for each detail (you can jump to the

next
detail automatically when the user made a valid input)
3) a listbox, or combo w your 28 main items calling a panel again (w the
textboxes) keep in mind panels give scrollbars so the limited resolution
dousnt have to be a problem

hope it helped

eric

"scorpion53061" <sc****************************@yahoo.com> wrote in

message
news:uy**************@TK2MSFTNGP11.phx.gbl...
vb.net windows app to be used on college campuses.

I need to somehow think this through and come up with some ideas . You

guys
have been good to me as far as helping me think things through so I felt pretty confident coming here.

I have a situation where I need to account for 28 different types of data entering situations each having about 35 textboxes and corresponding

labels
and each textbox has a variable. If the textbox is empty when they click submit the variable is left blank which is important for how I format the data. When clicking submit these variables would be recorded to a access database.

If you were me, how would you approach this situation? Would you use a tab control? Do you think it would be poor practice to have 2 tabs where the user had to click a second tab(planning for a min 800x600 screen and

not all
textboxes would fit on one tab).

Your thoughts please and they are much appreciated.



Nov 20 '05 #4
Hi Eric,

Thank you for your help.

I did what you said, created another table in the database which will hold
the fields for this grid.

Do you think I am going to have to using this method create a new datagrid
for each tab control form?

"EricJ" <ericRéMo**@ThiSomnipack.be> wrote in message
news:3f**********************@reader1.news.skynet. be...
not really but i think i can set you on the right path adjust this to your
needs
if you create 2 tables in your db
1 will hold an id, a propertytype and a property name (property type would
be 1 of your 28)
2 wil hold an id, a property id, a value and a user (the property's will
belong to someone)

now you can create sets of properties in your db

in the datagrid make a selection of all rows in the 1table connected to the 2nd table (for a prop type)
this gives you a 2 col datagrid
(drgmain is the datagrid)
create a tablestyle and set the first col to readonly (you don't want the
user to edit your property names)
\\
dsForm = New DataSet("data")
dsForm = SqlHelper.ExecuteDataset(gstrCnn, CommandType.Text, strSql) Dim ts As New DataGridTableStyle
ts.MappingName = "Table"
dgrMain.TableStyles.Clear()
dgrMain.SetDataBinding(dsForm, "Table")
dgrMain.TableStyles.Add(ts)
ts.GridColumnStyles(0).Width = 0
ts.GridColumnStyles(0).ReadOnly = True
ts.GridColumnStyles(1).Width = 100
//

then all you have left is to save the data in the database
i think this could be something that would work wel in a bound structure

anyway i hope it helps

eric

"scorpion53061" <sc****************************@yahoo.com> wrote in message news:ey**************@TK2MSFTNGP11.phx.gbl...
Hi eric

Thank you for your advice.

I need to somehow on the datagrid control allow this to be a control a user
can enter data and then I can assign its contents to variables (first

column
e.g. say "Author" then the next column the user would enter a value which
when they clicked submit I would read and assign to variable.

Do you know of a link that would help with this?
"EricJ" <ericRéMo**@ThiSomnipack.be> wrote in message
news:3f**********************@reader0.news.skynet. be...
yust some thoughts

1) a tabcontrol w 28 pages w a datagrid (in the datagrid you would have 2 cols 1 for the question 2nd for the answer)

2) a treeview 28 main nodes
option a) clicking under the main node you split thing up a bit in
subnodes
clicking a subnode would show a panel w your
textboxes (you could fill this dinamically for the selected node)
b) have a subnode for each detail (you can jump to the

next
detail automatically when the user made a valid input)
3) a listbox, or combo w your 28 main items calling a panel again (w
the textboxes) keep in mind panels give scrollbars so the limited resolution dousnt have to be a problem

hope it helped

eric

"scorpion53061" <sc****************************@yahoo.com> wrote in

message
news:uy**************@TK2MSFTNGP11.phx.gbl...
> vb.net windows app to be used on college campuses.
>
> I need to somehow think this through and come up with some ideas . You guys
> have been good to me as far as helping me think things through so I felt > pretty confident coming here.
>
> I have a situation where I need to account for 28 different types of

data
> entering situations each having about 35 textboxes and corresponding
labels
> and each textbox has a variable. If the textbox is empty when they click > submit the variable is left blank which is important for how I
format the
> data. When clicking submit these variables would be recorded to a access > database.
>
> If you were me, how would you approach this situation? Would you use
a tab
> control? Do you think it would be poor practice to have 2 tabs where

the > user had to click a second tab(planning for a min 800x600 screen and not all
> textboxes would fit on one tab).
>
> Your thoughts please and they are much appreciated.
>
>



Nov 20 '05 #5
if you make a good structure for your property data (w i gave you w the 2
tables was out the top of my head youll have to think about it a bit more)
you should be able to do it w 1 datagrid (you would be feeding the datagrid
new sql querries) to select w querry you have to show you could use a
listbox next to the datagrid (this way you wont need a tabcontrol w 28
datagrids, and i think it wil look better, certainly if you adjust the
datagrid and col properties a bit)

eric

"scorpion53061" <sc****************************@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi Eric,

Thank you for your help.

I did what you said, created another table in the database which will hold
the fields for this grid.

Do you think I am going to have to using this method create a new datagrid
for each tab control form?

"EricJ" <ericRéMo**@ThiSomnipack.be> wrote in message
news:3f**********************@reader1.news.skynet. be...
not really but i think i can set you on the right path adjust this to your
needs
if you create 2 tables in your db
1 will hold an id, a propertytype and a property name (property type would be 1 of your 28)
2 wil hold an id, a property id, a value and a user (the property's will
belong to someone)

now you can create sets of properties in your db

in the datagrid make a selection of all rows in the 1table connected to the
2nd table (for a prop type)
this gives you a 2 col datagrid
(drgmain is the datagrid)
create a tablestyle and set the first col to readonly (you don't want the user to edit your property names)
\\
dsForm = New DataSet("data")
dsForm = SqlHelper.ExecuteDataset(gstrCnn, CommandType.Text,

strSql)
Dim ts As New DataGridTableStyle
ts.MappingName = "Table"
dgrMain.TableStyles.Clear()
dgrMain.SetDataBinding(dsForm, "Table")
dgrMain.TableStyles.Add(ts)
ts.GridColumnStyles(0).Width = 0
ts.GridColumnStyles(0).ReadOnly = True
ts.GridColumnStyles(1).Width = 100
//

then all you have left is to save the data in the database
i think this could be something that would work wel in a bound structure

anyway i hope it helps

eric

"scorpion53061" <sc****************************@yahoo.com> wrote in

message
news:ey**************@TK2MSFTNGP11.phx.gbl...
Hi eric

Thank you for your advice.

I need to somehow on the datagrid control allow this to be a control a

user
can enter data and then I can assign its contents to variables (first

column
e.g. say "Author" then the next column the user would enter a value which when they clicked submit I would read and assign to variable.

Do you know of a link that would help with this?
"EricJ" <ericRéMo**@ThiSomnipack.be> wrote in message
news:3f**********************@reader0.news.skynet. be...
> yust some thoughts
>
> 1) a tabcontrol w 28 pages w a datagrid (in the datagrid you would have
2
> cols 1 for the question 2nd for the answer)
>
> 2) a treeview 28 main nodes
> option a) clicking under the main node you split thing up a bit in > subnodes
> clicking a subnode would show a panel w your
> textboxes (you could fill this dinamically for the selected node)
> b) have a subnode for each detail (you can jump to the next
> detail automatically when the user made a valid input)
> 3) a listbox, or combo w your 28 main items calling a panel again (w

the > textboxes) keep in mind panels give scrollbars so the limited resolution > dousnt have to be a problem
>
> hope it helped
>
> eric
>
> "scorpion53061" <sc****************************@yahoo.com> wrote in
message
> news:uy**************@TK2MSFTNGP11.phx.gbl...
> > vb.net windows app to be used on college campuses.
> >
> > I need to somehow think this through and come up with some ideas . You > guys
> > have been good to me as far as helping me think things through so I felt
> > pretty confident coming here.
> >
> > I have a situation where I need to account for 28 different types
of data
> > entering situations each having about 35 textboxes and corresponding > labels
> > and each textbox has a variable. If the textbox is empty when they

click
> > submit the variable is left blank which is important for how I format the
> > data. When clicking submit these variables would be recorded to a

access
> > database.
> >
> > If you were me, how would you approach this situation? Would you
use a tab
> > control? Do you think it would be poor practice to have 2 tabs

where the
> > user had to click a second tab(planning for a min 800x600 screen
and not
> all
> > textboxes would fit on one tab).
> >
> > Your thoughts please and they are much appreciated.
> >
> >
>
>



Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

51
by: nospam | last post by:
THIS IS the DOTNETJUNKIES MESSAGE ------------------------- We're Sorry As many of you know we have recently launched SqlJunkies.com. We have overhauled our runtime and will be using it on...
1
by: athos | last post by:
Hi all, Believe you have sound experience in development, however, if we look at the whole Software Development Life Cycle (SDLC) of the project, say, 1. Project Initiation, 2. Gathering...
1
by: John Smith | last post by:
Hi, How can I get the project folder programmatically at design time? I'd like to use it in the Forms Designer during dialog design process... And another question... how can I create a custom...
8
by: Adam Clauss | last post by:
I have a folder containing many subfolders (and subfolders and....) all containing various .cs files. Is there any "easy" way to get them all added to the solution. Preferable would be that the...
4
by: randfish | last post by:
We're seeking to hire a local (Seattle-based) PHP/MySQL coder to handle a project, but have been having no success. I was hoping to get your feedback on whether the pricing, timeframe and job...
11
by: John Fly | last post by:
I'm working on a large project(from scratch). The program is essentially a data file processor, the overall view is this: A data file is read in, validated and stored in a memory structure...
1
by: Nemisis | last post by:
hi guys, Currently converting an old classic asp system to a OOP asp.net application. We are building the new application using a 3 tier arcitecture and i was wondering about the following. ...
10
by: AG | last post by:
I am trying to use a ReportViewer control in a VS 2005 web application project (not Website project). When I try to create a new report (local), I can't seem to find any method to create a...
1
by: Tim | last post by:
Dear All, In my opinion, there are so many possible designs for a project, even small up to a class. How can I know which one is better? Is there any important point I should consider in the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.