I found it a real pain working with the datasets and table adapters and
bound records. Here's why.
During development I find I occasionally have to change some part of a table
definition. Say I forgot to make the primary key an identity column ,yeah
I'm human ;-). Typically I will find this out once the controls using the
erroneous table have been put on a form. I get the error message, fine so
far. Now I go into my sql server database and change the defintion. I click
on refresh for the dataset in the Vs data sources. Try again, still same
error. I found I have to remove the offending table from the dataset
defintion recreate the dataset definition, remove the datagridview and its
supporting table and dataset from the form and all comment out all the code
that I had written to use it. Then recreate the datagridview on the form,
reactivate the uncommented code before I can again try to use my form.
Am I missing something on how to make updates to a table and have these
reflected with a minimum of rework in the forms that. The behaviour that I
found will make it almost impossible to effectively modify an application
after its distributed. Any change would be a major undertaking.
I would appreciate any insights on how to make this process simpler.
Thanks,
Bob 4 1105
Bob,
You did this probably never with the versions 2002/2003. Than you would know
what a pain was.
It is not yet there, however it becomes better. (in windowforms)
Cor
This is one of the reasons I think those design time tools are only really
good for learning. They seem to be more trouble then they are worth when
writing a real life application or application architecture.
"Bob" <bd*****@sgiims.com> wrote in message
news:ez**************@TK2MSFTNGP10.phx.gbl... I found it a real pain working with the datasets and table adapters and bound records. Here's why. During development I find I occasionally have to change some part of a table definition. Say I forgot to make the primary key an identity column ,yeah I'm human ;-). Typically I will find this out once the controls using the erroneous table have been put on a form. I get the error message, fine so far. Now I go into my sql server database and change the defintion. I click on refresh for the dataset in the Vs data sources. Try again, still same error. I found I have to remove the offending table from the dataset defintion recreate the dataset definition, remove the datagridview and its supporting table and dataset from the form and all comment out all the code that I had written to use it. Then recreate the datagridview on the form, reactivate the uncommented code before I can again try to use my form. Am I missing something on how to make updates to a table and have these reflected with a minimum of rework in the forms that. The behaviour that I found will make it almost impossible to effectively modify an application after its distributed. Any change would be a major undertaking.
I would appreciate any insights on how to make this process simpler.
Thanks,
Bob
so true:)
"Marina" wrote: This is one of the reasons I think those design time tools are only really good for learning. They seem to be more trouble then they are worth when writing a real life application or application architecture.
"Bob" <bd*****@sgiims.com> wrote in message news:ez**************@TK2MSFTNGP10.phx.gbl...I found it a real pain working with the datasets and table adapters and bound records. Here's why. During development I find I occasionally have to change some part of a table definition. Say I forgot to make the primary key an identity column ,yeah I'm human ;-). Typically I will find this out once the controls using the erroneous table have been put on a form. I get the error message, fine so far. Now I go into my sql server database and change the defintion. I click on refresh for the dataset in the Vs data sources. Try again, still same error. I found I have to remove the offending table from the dataset defintion recreate the dataset definition, remove the datagridview and its supporting table and dataset from the form and all comment out all the code that I had written to use it. Then recreate the datagridview on the form, reactivate the uncommented code before I can again try to use my form. Am I missing something on how to make updates to a table and have these reflected with a minimum of rework in the forms that. The behaviour that I found will make it almost impossible to effectively modify an application after its distributed. Any change would be a major undertaking.
I would appreciate any insights on how to make this process simpler.
Thanks,
Bob
Yeh! What a pain. We all make those misteaks (=: These tools are next to
useless. This is my first .Net project & I thought it was me at first and
YES, I am using 2003. I gave them up very quickly. However the amount of code
you need has blown out. Development time has increased very significantly.
You get the feeling you are coding in a low level language rather than a,
supposedly, high level language.
"Bob" wrote: I found it a real pain working with the datasets and table adapters and bound records. Here's why. During development I find I occasionally have to change some part of a table definition. Say I forgot to make the primary key an identity column ,yeah I'm human ;-). Typically I will find this out once the controls using the erroneous table have been put on a form. I get the error message, fine so far. Now I go into my sql server database and change the defintion. I click on refresh for the dataset in the Vs data sources. Try again, still same error. I found I have to remove the offending table from the dataset defintion recreate the dataset definition, remove the datagridview and its supporting table and dataset from the form and all comment out all the code that I had written to use it. Then recreate the datagridview on the form, reactivate the uncommented code before I can again try to use my form. Am I missing something on how to make updates to a table and have these reflected with a minimum of rework in the forms that. The behaviour that I found will make it almost impossible to effectively modify an application after its distributed. Any change would be a major undertaking.
I would appreciate any insights on how to make this process simpler.
Thanks,
Bob This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Christine McGavran |
last post by:
To continue a previous thread, sort of...
I have defined a schema for describing a windows-style user interface. My
application correctly parses and uses that schema. I'm now trying to get
that...
|
by: YesGoGoGo |
last post by:
hello!
I use asp+vb before and new to ASP.NET.
And I have to write a new function with C#
I draw a prototype and the picture is here--- http://0rz.net/af1hy
let me explain this process in detail...
|
by: Paul |
last post by:
Cures for Cancer–AIDS–Chronic Fatigue–Chronic Pain–Diabetes…
…and the list could go on. There is a Medical/Pharmaceutical Cartel in America that is more evil than the Arms Dealers and...
|
by: JohnQ |
last post by:
I like, non-copyable, non-assignable and, most often,
non-default-constructable also, as a starting point for class design:
class SomeClass
{
SomeClass(); // disallow default construction...
|
by: Beorn |
last post by:
Consider this example:
... for i in range(5):
... def g(): return x + i
... yield g
I would expect the value of x used in g to be that at the function
declaration time,...
|
by: westbcristeeufk |
last post by:
detoxifying pain relief patch
http://cracks.00bp.com
F
R
E
E
|
by: fogleman44523 |
last post by:
lidocaine patch chronic pain
http://cracks.12w.net
F
R
E
E
|
by: dudeja.rajat |
last post by:
Hi,
I'm using a TkMessageBox for handling some errors and displaying them
through the message boxes.
My code is as below:
if selectedVer == strNoArchivedResults:
tkMessageBox._show("Error",...
|
by: Guilherme Polo |
last post by:
On Mon, Sep 1, 2008 at 3:35 PM, <dudeja.rajat@gmail.comwrote:
Note that you are not supposed to use _show, use showerror here instead.
Remove the call to sys.exit then ?
Your ask for a...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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,...
|
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...
|
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...
|
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,...
| |