when I set the datagrid's readonly=true,I can't set it back to false
value,why?
Anybody can tell me the reason?
Thanks your help.
Woodpecker. 5 1544
Hey,
I tried to set the datagrid's readonly property in code, to either true or
false, and I can see it works fine. (for example, there are two buttons on
the form, click one of them to set the property to true, and the other to
set it to false).
could you tell me more details about your code, so we can see if we missed
anything there.
Thanks.
Aiwen Guo
VB.Net Team
How do I clear the contents of the datagrid because I want to fill in the
datagrid again.
"Aiwen Guo [MSFT]" <ab*@online.microsoft.com> wrote in message
news:19**************@cpmsftngxa06.phx.gbl... Hey,
I tried to set the datagrid's readonly property in code, to either true or false, and I can see it works fine. (for example, there are two buttons on the form, click one of them to set the property to true, and the other to set it to false).
could you tell me more details about your code, so we can see if we missed anything there.
Thanks.
Aiwen Guo VB.Net Team
"Alan" <NO**************@yahoo.com.au> schrieb How do I clear the contents of the datagrid because I want to fill in the datagrid again.
I guess you are not "Woodpecker", so I suggest you should open a new thread
and ask your question again.
--
Armin
Hi Armin,
No that not,
This question is I think 10 times send to this newsgroup.
And I think nobody understand how it is done, because there are no answers
except from OHM who said: "clean the datatable". datatable.clear
But I doubt if that is the requested answer
Cor How do I clear the contents of the datagrid because I want to fill in the datagrid again. I guess you are not "Woodpecker", so I suggest you should open a new
thread and ask your question again.
"Cor" <no*@non.com> schrieb Hi Armin,
No that not, This question is I think 10 times send to this newsgroup.
Please write the text below the quote. I don't know what you are referring
to.
And I think nobody understand how it is done, because there are no answers except from OHM who said: "clean the datatable". datatable.clear
But I doubt if that is the requested answer
I only see an answer from Aiwen Guo.
--
Armin http://www.plig.net/nnq/nquote.html http://www.netmeister.org/news/learn2quote.html This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: datactrl |
last post by:
HI, all
I found the return value from obj.readOnly is always the original vaule in
HTML setting, even after doing obj.readOnly=true/false. How can I get the
real time value set by javascript?
...
|
by: woodpecker |
last post by:
when I set readonly=true,I can't set it back to the value "false",why?
Anybody can tell me the reason and fix the problem?
Thanks advance.
Woodpecker.
|
by: Codemonkey |
last post by:
Just a silly question, but why can't you overload a writeonly property with
a readonly one? Surely the compiler can tell the difference of which one to
call at compile time, depending on if it is...
|
by: Marcin Floryan |
last post by:
I am creating a custom control (Inherits UserControl) and my control
containt a TextBox control. TextBox control has a Property called
"ReadOnly". I would like to expose this property outside my...
|
by: fred |
last post by:
With a Class is there any difference between a readonly property and
function besides having to use Get/End Get.
Are there any performance/resource advantages for either.
Thanks
Fred
|
by: Dany P. Wu |
last post by:
Hi everyone,
I'm not entirely sure if this is the best way of going about it, but here's
the scenario..........
I have two datagrid, each bound to a datatable which have checkbox columns....
|
by: Aaron Smith |
last post by:
Ok. I have a dataset that has multiple tables in it. In one of the child
tables, I have a column that I added to the DataSet (Not in the
DataSource). This column does not need to be stored in the...
|
by: John Smith |
last post by:
Is it possible to set DataGrid's ReadOnly property to True/False at runtime?
An example:
<asp:datagrid id="dg1" runat="server" AutoGenerateColumns="False">
<Columns>
<asp:BoundColumn...
|
by: eric.goforth |
last post by:
Is there any reason to use:
Private newPropertyValue As Integer
Public ReadOnly Property MyProperty(ByRef MyParam as Integer) As
Integer
Get
Return newPropertyValue
End Get
End Property
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
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,...
|
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...
|
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...
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
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...
| |