473,545 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 QuestionsAnswer s 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 QuestionsAnswer s 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 1634
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***@NotMyEma il.comwrote in message
news:%2******** *******@TK2MSFT NGP05.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 QuestionsAnswer s 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
QuestionsAnswer s 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 disconnectednes s. 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***@NotMyEma il.comwrote in message
news:uS******** ******@TK2MSFTN GP05.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***@NotMyEma il.comwrote in message
news:%2******** *******@TK2MSFT NGP05.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 QuestionsAnswer s 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
QuestionsAnswe rs 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 disconnectednes s. 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***@NotMyEma il.comwrote in message
news:uS******** ******@TK2MSFTN GP05.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***@NotMyEma il.comwrote in message
news:%2******* ********@TK2MSF TNGP05.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 QuestionsAnswer s 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
QuestionsAnsw ers 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
1287
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 errors, however, when I check the contents of my DB, 2 fields display nothing. The Fields PostCode (VARCHAR(10)) NOT NULL and Email (VARCHAR(80)) NOT...
3
9092
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 anyone help me and guide me, I wrote a program which could open COM port but still couldn't detect mobile phone and send SMS through it. I searched...
0
1027
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 mobile phones that use WAP to be able to access the pages. 2. Would the wap pages sit under IIS like my application but the phone redirect to a...
6
1676
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 calling habits, and the server calculates the ammount of talk time for each plan and then recommends on or two. I've created 2 excell sheets already....
3
1120
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. My initial design is based on polling, so my mobile users PDA will poll the server every 2 minutes. Is there a better way to push the order...
3
1649
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 be able to add their own articles such as reviews, tour dates, photos, videos etc. There will also be a mobile site which will allow the user to add...
2
1852
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 be able to add their own articles such as reviews, tour dates, photos, videos etc. There will also be a mobile site which will allow the user to add...
3
2058
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. no one answer
7
3236
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/ Much of the info looks old. I have a MSDN account where can I download it or is it already in VS 2008 and I just don't know how to find it? I'm...
0
7459
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7393
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7803
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7411
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7749
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5965
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4942
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1871
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1012
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.