473,796 Members | 2,591 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WindowsCe & Autogenerated code

Hi all,
I have been using C# .NET for about 3 months now. I have been
programming in other (Borland C++ Builder, Flash...) environments for
years.
I have to do a small application in WindowsCe, using MS Sql ServerCe,
with datagrids, updates etc.
I started using the autogenerated code with blablaBindingSo urce and
blablaDataSet etc, and was discouraged by the complexity.
I then started reading some books on how to without autogenerated
code, and using DataSets, connections etc programmaticall y, no
autogenerated 2K+ lines code at all.

It is still bumpy, but I am making headway, and I encapsulate most of
what I find out in my own classes (~150 lines, not 2538).

Is that the way to go, or am I missing something? By the way, are
multi K line programs good for handheld devices anyway?

opinions?

Sep 3 '07 #1
1 1393
On 4 Wrz, 00:30, alberto <alber...@spide rnet.com.cywrot e:
Hi all,
I have been using C# .NET for about 3 months now. I have been
programming in other (Borland C++ Builder, Flash...) environments for
years.
I have to do a small application in WindowsCe, using MS Sql ServerCe,
with datagrids, updates etc.
I started using the autogenerated code with blablaBindingSo urce and
blablaDataSet etc, and was discouraged by the complexity.
I then started reading some books on how to without autogenerated
code, and using DataSets, connections etc programmaticall y, no
autogenerated 2K+ lines code at all.

It is still bumpy, but I am making headway, and I encapsulate most of
what I find out in my own classes (~150 lines, not 2538).

Is that the way to go, or am I missing something? By the way, are
multi K line programs good for handheld devices anyway?

opinions?
Hi
I also don't have so much expirence in CE but I think it is much
easier using blablaBindingSo urce and blablaDataSet:) I was also
against those blablaba cuz I like doing things programmaticall y but
now I think it is faster (Im not sure if it is faster for your
programs but for you for sure - you save your time). Believe me you
will quickly adapt to it:)

Sep 4 '07 #2

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

Similar topics

2
2144
by: Pedro Fonseca | last post by:
Greetings! In my PHP website I'm trying to raise a File Download dialog directly in a WindowsCE IE client with the following code: header( "Content-Type: application/octet-stream\n" ); header( "Content-Disposition: attachment; filename=\"$file\"\n" ); header( "Content-Transfer-Encoding: binary\n" ); header( "Content-Length: " . filesize($path.$file) . "\n" );
1
3944
by: babak | last post by:
Hi everyone I'm doing a project in Microsoft embedded Visual C++ 4.0 and I get the following error when I try to compile: LINK : fatal error LNK1195: target machine 'ARM' requires '/SUBSYSTEM:WINDOWSCE' Error executing clarm.exe. Creating browse info file... WVPNCECl.exe - 1 error(s), 2 warning(s)
8
3042
by: Paul Cochrane | last post by:
Hi all, I've got an application that I'm writing that autogenerates python code which I then execute with exec(). I know that this is not the best way to run things, and I'm not 100% sure as to what I really should do. I've had a look through Programming Python and the Python Cookbook, which have given me ideas, but nothing has gelled yet, so I thought I'd put the question to the community. But first, let me be a little more detailed...
1
1581
by: MS | last post by:
Hi, Is there a way to change the forecolor of autogenerated column headers in a datagrid with sorting enabled. If it is possible using CSS then where I need to write the code to change the color Thanks in advance
3
1440
by: Binny | last post by:
I have a DG with autogenerated columns. can i make a column readonly like the data key column. Thanks
8
1841
by: Binny | last post by:
I have a DG with autogenerated columns. can i make a columns readonly like the data key column. when edititemindex is valid. Thanks
0
1747
by: Luis Esteban Valencia | last post by:
Once a user clicks "add new row", a new row is created in my Datagrid. The datasource is huge so they have to scroll to the bottom of the page to edit the data in the new row. I have come across two EE solutions which use javascript to focus on the textbox in the "editcommandcolumn" mode. However, these solutions were made for non-autogenerated columns. I NEED autogenerated columns for my project. Is it possible to give focus to a...
9
6108
by: Steve | last post by:
How I can remove an AutoGenerated column? I wnat to inlcude the primary key in the resultset for creating some custom LinkButtons, but I don't want it (the PK) displayed in the DataGrid. I tried searching the columnheader text, but found that AutoGenerated columns are members of the Columns collection. From the msdn documentation: Note: When the AutoGenerateColumns property is set to true, the columns created by the DataGrid control are...
0
1323
by: alberto | last post by:
I create a DataTable dataTable. Then a BindingSource bindingSource = new BindingSource(dataTable, "") Then: dataGrid.DataSource = bindingSource. All works nicely, navigating the dataGrid changes the bindingSource.Position etc. Then I tried sorting: bindingSource.Sort = "aColumnName ASC". This has the effect of sorting the dataGrid just as expected.
0
9684
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10236
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10182
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10017
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7552
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5445
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5577
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.