473,388 Members | 1,256 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,388 software developers and data experts.

How do you defualt ID fields to not be read only?

When I create strongly typed datatables, ADO.Net defaults the ID
columns to read-only. How do I turn that off? (Yes, I need to update
the ID fields.)

Thanks,

Dave
Nov 16 '05 #1
2 1046
Open the XSD for the DataSet. Click the column you want to change. In the
Properties window change ReadOnly to false.

"Summit" <su*******@hotmail.com> wrote in message
news:6d**************************@posting.google.c om...
When I create strongly typed datatables, ADO.Net defaults the ID
columns to read-only. How do I turn that off? (Yes, I need to update
the ID fields.)

Thanks,

Dave

Nov 16 '05 #2
Thanks Andy...

Is there a way I can default the XSD to not set ID fields to read only
so that when I drop them from the explorer - read only is set to
false? We're making updates to the tables quite a bit and would rather
not set that every time we drop it on the designer.

Thanks
"Andy Gaskell" <pubb AT hotmail DOT com> wrote in message news:<#8**************@TK2MSFTNGP09.phx.gbl>...
Open the XSD for the DataSet. Click the column you want to change. In the
Properties window change ReadOnly to false.

"Summit" <su*******@hotmail.com> wrote in message
news:6d**************************@posting.google.c om...
When I create strongly typed datatables, ADO.Net defaults the ID
columns to read-only. How do I turn that off? (Yes, I need to update
the ID fields.)

Thanks,

Dave

Nov 16 '05 #3

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

Similar topics

3
by: Kevin Song | last post by:
could you show me how to do defualt date in JS? I'm asp guy I can do it in asp asp <% today = now() %> <input type="text" name="today" value="<%=today%>> Thanks
12
by: Charles Astwood | last post by:
Hi, just starting out working my way round C Sharp and aspx. Used to write all my sites in asp and just need a few pointers in how to display data. I have made a connection to my SQL2000...
36
by: No Spam | last post by:
Dear fellow Access 2003 Users, Is there a way to trim all of the fields in a table in one swoop using VBA (preferred) or a query? Right now, I am using an update query and updating EACH field...
0
by: Faramarz Mortezaie | last post by:
I have installed a driver for a trainer kit. Is there any way that I can include the library that I am using as a defualt library. That way I don't have to include the library to a new project...
3
by: Mark Dunmill | last post by:
I can't create a Constant/Read-only array field in managed C++ classes - doesn't allow the keyword const pointer to const object on array fields in managed C++ classes. e.g. Want to define a...
9
by: Charles Law | last post by:
Sorry for asking this one again, but with the newsgroup now holding things for an ever shorter time, I can't find my original question (and the answers) from a few months ago. I know that...
18
by: TORQUE | last post by:
Hi, Im wondering if anyone can help me with a problem. I have a form with more than 50 unbound fields. Some of the fields will be blank from time to time. This seems to be where im having...
3
by: Mythran | last post by:
http://msdn2.microsoft.com/en-US/library/ms229057(VS.80).aspx * Do not assign instances of mutable types to read-only fields. I would have to disagree with this "Field Design" guidelines...to...
5
by: Dan Tallent | last post by:
I have a scenerio when my forms are first opened that the user cannot modify the data. The fields are disabled to prevent them from modifying any of the data. If a user wishes to modify the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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...

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.