473,396 Members | 2,158 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.

Some ADO.NET Mobile Advice please.



Hi all

I am building an Windows Mobile 5 forms control in C#, for a Windows Mobile
5 application. I am using CF2.0 and SQL Mobile 2005.

The control is a Questions and answer control.

Basically I have 3 applications using the same code to dynamically display
questions and save the answers.

I am trying to consolidate it all into 1 control for easer maintenance.

I need to pass the control the questions and meta data for the questions.
And when the last question has been completed the control should hand back
the Answers for saving.

What is the best why of doing this? I really would like to get this right
the first time.

I know I am developing with the CF2 platform. So I am concerned about
getting the most efficient why of doing this.

Possible scenarios I are.

1.. Pass the control a Questions DataTable and an Answers DataTable (Flat
File), use the Questions DataTable to load up an array and loop through the
array asking questions and saving the answers to Answers DataTable. When
the Questions are finished raise an event handing the Answers table as an
Event Arg.
2.. Pass the control a QuestionsAnswers DataSet with a Questions DataTable
and an Answers DataTable in it, use the Questions DataTable to loop round
asking questions and saving the answers to Answers DataTable. When the
Questions are finished raise an event handing the QuestionsAnswers DataSet
as an Event Arg.
3.. Hand the control a Connection and get it to read the questions
directly from the Database and save the answers directly to the database.
I really am lost.

I don't what to take the wrong path and I don't have enough background
experience to make an informed decision about what the best way to handle
this with ADO.NET and the CF would be.

Any suggestions would be welcomed.

Thanks,

ink


Mar 9 '07 #1
3 1621
I think i am going to go with option 2.

It seems to give me the most functionality with Filtering and navigation
back and forth through the questions.



"iKiLL" <iK***@NotMyEmail.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
>

Hi all

I am building an Windows Mobile 5 forms control in C#, for a Windows
Mobile 5 application. I am using CF2.0 and SQL Mobile 2005.

The control is a Questions and answer control.

Basically I have 3 applications using the same code to dynamically display
questions and save the answers.

I am trying to consolidate it all into 1 control for easer maintenance.

I need to pass the control the questions and meta data for the questions.
And when the last question has been completed the control should hand back
the Answers for saving.

What is the best why of doing this? I really would like to get this right
the first time.

I know I am developing with the CF2 platform. So I am concerned about
getting the most efficient why of doing this.

Possible scenarios I are.

1.. Pass the control a Questions DataTable and an Answers DataTable (Flat
File), use the Questions DataTable to load up an array and loop through
the array asking questions and saving the answers to Answers DataTable.
When the Questions are finished raise an event handing the Answers table
as an Event Arg.
2.. Pass the control a QuestionsAnswers DataSet with a Questions
DataTable and an Answers DataTable in it, use the Questions DataTable to
loop round asking questions and saving the answers to Answers DataTable.
When the Questions are finished raise an event handing the
QuestionsAnswers DataSet as an Event Arg.
3.. Hand the control a Connection and get it to read the questions
directly from the Database and save the answers directly to the database.
I really am lost.

I don't what to take the wrong path and I don't have enough background
experience to make an informed decision about what the best way to handle
this with ADO.NET and the CF would be.

Any suggestions would be welcomed.

Thanks,

ink


Mar 9 '07 #2
I don't know anything about programming for mobile devices, but option 2
gives you the best disconnectedness. The only question is, what if there's
a problem in the middle -- are all the answers lost? I would probably
choose option 3, but only if it didn't have performance problems. If
retrieving the info dynamically didn't have as good of performance as
option 2, I would choose option 2.

Good luck.
Robin S.
---------------------------------------------
"iKiLL" <iK***@NotMyEmail.comwrote in message
news:uS**************@TK2MSFTNGP05.phx.gbl...
>I think i am going to go with option 2.

It seems to give me the most functionality with Filtering and navigation
back and forth through the questions.



"iKiLL" <iK***@NotMyEmail.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
>>

Hi all

I am building an Windows Mobile 5 forms control in C#, for a Windows
Mobile 5 application. I am using CF2.0 and SQL Mobile 2005.

The control is a Questions and answer control.

Basically I have 3 applications using the same code to dynamically
display questions and save the answers.

I am trying to consolidate it all into 1 control for easer maintenance.

I need to pass the control the questions and meta data for the
questions. And when the last question has been completed the control
should hand back the Answers for saving.

What is the best why of doing this? I really would like to get this
right the first time.

I know I am developing with the CF2 platform. So I am concerned about
getting the most efficient why of doing this.

Possible scenarios I are.

1.. Pass the control a Questions DataTable and an Answers DataTable
(Flat File), use the Questions DataTable to load up an array and loop
through the array asking questions and saving the answers to Answers
DataTable. When the Questions are finished raise an event handing the
Answers table as an Event Arg.
2.. Pass the control a QuestionsAnswers DataSet with a Questions
DataTable and an Answers DataTable in it, use the Questions DataTable to
loop round asking questions and saving the answers to Answers
DataTable. When the Questions are finished raise an event handing the
QuestionsAnswers DataSet as an Event Arg.
3.. Hand the control a Connection and get it to read the questions
directly from the Database and save the answers directly to the
database.
I really am lost.

I don't what to take the wrong path and I don't have enough background
experience to make an informed decision about what the best way to
handle this with ADO.NET and the CF would be.

Any suggestions would be welcomed.

Thanks,

ink



Mar 9 '07 #3
Thanks for your input Robin.



"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:Jv******************************@comcast.com. ..
>I don't know anything about programming for mobile devices, but option 2
gives you the best disconnectedness. The only question is, what if there's
a problem in the middle -- are all the answers lost? I would probably
choose option 3, but only if it didn't have performance problems. If
retrieving the info dynamically didn't have as good of performance as
option 2, I would choose option 2.

Good luck.
Robin S.
---------------------------------------------
"iKiLL" <iK***@NotMyEmail.comwrote in message
news:uS**************@TK2MSFTNGP05.phx.gbl...
>>I think i am going to go with option 2.

It seems to give me the most functionality with Filtering and navigation
back and forth through the questions.



"iKiLL" <iK***@NotMyEmail.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
>>>

Hi all

I am building an Windows Mobile 5 forms control in C#, for a Windows
Mobile 5 application. I am using CF2.0 and SQL Mobile 2005.

The control is a Questions and answer control.

Basically I have 3 applications using the same code to dynamically
display questions and save the answers.

I am trying to consolidate it all into 1 control for easer maintenance.

I need to pass the control the questions and meta data for the
questions. And when the last question has been completed the control
should hand back the Answers for saving.

What is the best why of doing this? I really would like to get this
right the first time.

I know I am developing with the CF2 platform. So I am concerned about
getting the most efficient why of doing this.

Possible scenarios I are.

1.. Pass the control a Questions DataTable and an Answers DataTable
(Flat File), use the Questions DataTable to load up an array and loop
through the array asking questions and saving the answers to Answers
DataTable. When the Questions are finished raise an event handing the
Answers table as an Event Arg.
2.. Pass the control a QuestionsAnswers DataSet with a Questions
DataTable and an Answers DataTable in it, use the Questions DataTable to
loop round asking questions and saving the answers to Answers
DataTable. When the Questions are finished raise an event handing the
QuestionsAnswers DataSet as an Event Arg.
3.. Hand the control a Connection and get it to read the questions
directly from the Database and save the answers directly to the
database.
I really am lost.

I don't what to take the wrong path and I don't have enough background
experience to make an informed decision about what the best way to
handle this with ADO.NET and the CF would be.

Any suggestions would be welcomed.

Thanks,

ink




Mar 12 '07 #4

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

Similar topics

3
by: Newsscanner | last post by:
Hello, Everything is beginning to work, but there are still a few issues left. Please forgive my ignorance and hence stupid questions (Newbie). I can now enter data with no problem, I get no...
3
by: Sara | last post by:
HI, I want to code a program to detect GSM mobile (any kind) which connected through serial port to computer and then be able to send SMS through this mobile phone to other mobile phones, could...
0
by: Steven Blair | last post by:
I have existing ASP.Net web applications, but would like a few screens to be available via mobile phones. 1. First question, is this actually possible with ASP.Net? I would expect standard...
6
by: psylencer | last post by:
Hi guys, I'm working on my first ASP web site. The idea of the site is to calculate which mobile phone plan is right for you. The idea is that the user answers a few questions about their...
3
by: =?Utf-8?B?Q2hyaXM=?= | last post by:
Hi, I am developing an app where customer post request via a website, the request, upon receipt by the office, must the be pushed to respective mobile PDAs.n The requests are sort of order pickup....
3
by: siquick | last post by:
Hi All, Hope I've posted this in the right forum as I will be using PH I am currently in the process of designing a php based web site that will display info about new bands etc. The users will...
2
by: siquick | last post by:
Hi All, Hope I've posted this in the right forum as I will be using PH I am currently in the process of designing a php based web site that will display info about new bands etc. The users will...
3
by: Chazam | last post by:
I am a C# programmer. I'm looking for a good book about .NET MOBILE development any advice. Thanks in advanced. I already post this on the mobile group like a week a go I think that group is dead....
7
by: cj2 | last post by:
I saw a MS demo a few years back where they developed a web page and the software automatically rendered it for different devices. Is this what I'm looking for? http://www.asp.net/mobile/ ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.