Click here to Skip to main content
15,896,726 members
Everything / Read-only

Read-only

read-only

Great Reads

by Mark Pelf
Some issues related to Immutable Object and “defense copy”
by ASP.NET Community
Assuming you already have your domain model and repositories implemented and unity wired (if you are missing this part, let me know and i'll add the
by ASP.NET Community
When you Try this on Asp.net 2.0 WebSite:http://www.YouWebsite/default.aspx?__VIEWSTATE=COUCOU!You will have something like that:Server Error in '/'
by Mehdi Gholam
This is how TorpedoSync came about, from the use of other software to sync "My Documents" across my machines and finding them troubling.

Latest Articles

by Mark Pelf
Some issues related to Immutable Object and “defense copy”
by Mehdi Gholam
This is how TorpedoSync came about, from the use of other software to sync "My Documents" across my machines and finding them troubling.
by Akhil Mittal
Access modifiers (or access specifiers) are keywords in object-oriented languages that set the accessibility of classes, methods, and other members. Access modifiers are a specific part of programming language syntax used to facilitate the encapsulation of components.
by ASP.NET Community
When you Try this on Asp.net 2.0 WebSite:http://www.YouWebsite/default.aspx?__VIEWSTATE=COUCOU!You will have something like that:Server Error in '/'

All Articles

Sort by Score

Read-only 

6 Feb 2023 by Mark Pelf
Some issues related to Immutable Object and “defense copy”
21 Aug 2015 by Mehdi Gholam
If you are installing to "Program Files" and you are not an administrator then that folder and anything under it will be read-only.Install to another folder i.e. c:\appname
21 Aug 2015 by OriginalGriff
Probably, it's where you put the file.Chances are you have put it in the application folder, which means it isn't normally writable.Have a look here: Where should I store my data?[^] - it suggests some more suitable locations.
25 Jan 2016 by Philippe Mori
One way to do it is to derive from an interface with only read-only members. And you change the type of the "constant" to be the type of that interface instead.interface IPointXY{ float X { get; } float Y { get; }}public class PointXY : Point2D, IPointXY { public static...
11 Feb 2024 by M Imran Ansari
As per the the error message and create procedure statement, it appears that the table type does not exist. You might need to generate a user-defined table type for tblURLabelHeader. /* Create a table type. */ CREATE TYPE tblURLabelHeader AS...
11 Oct 2013 by ASP.NET Community
Assuming you already have your domain model and repositories implemented and unity wired (if you are missing this part, let me know and i'll add the
13 Oct 2013 by ASP.NET Community
When you Try this on Asp.net 2.0 WebSite:http://www.YouWebsite/default.aspx?__VIEWSTATE=COUCOU!You will have something like that:Server Error in '/'
6 Mar 2014 by Saksham_Agrawal
Hi,I have made a webpage that will edit the sql database. But in the gridview I want to make a clomn readonly and when I do so Update is not working.Below is the code:
6 Mar 2014 by OPees
Refer Here...CP linkInsert Edit update-and-delete-data
14 Apr 2014 by mitchiee1226
I want to read a file in FTP Server using C#. I have this code:public int getFTPData() { WebClient request = new WebClient(); string url = "ftp://URL" + "CustStat.csv"; request.Credentials = new NetworkCredential("username", "password"); int result =...
14 Apr 2014 by Manas Bhardwaj
What have you tried so far?A simple Google [^]search could help.Look at this article. Should help you to go further:http://stackoverflow.com/questions/6098694/read-file-from-ftp[^]
14 Apr 2014 by Dave Kreskowiak
The best way to do it is over a serial connection as all Arduinos have serial interfaces. You can get a USB-to-Serial converter and talk with the board over a COM port. That's been documented thousands of times all over the web. And, yes, it works over just about any speed.
14 Apr 2014 by User 59241
I assume you are using Windows.Plug in your Arduino to PC using your usb cable. Open Device Manager. Look for ports(COM & LPT ). There you will find your Arduino identified. Mine is COM3. Look at "Port Settings" mine are 9600,8,none,1,none.Now use this...
21 Aug 2015 by ghasem110deh
hi guys,i create access database and put in Debug folder ...then create setup file (with instalsheild 2010) and install in other PC ,butt database is read only and program send error when CRUD !how to right this problem ?thanks .
9 Sep 2015 by Member 11972515
I want to do a consult in Parallel mode, or which is the better way to do the consult to SQL.The consult spends 3 minutes doing 7 cycles from 7 stocks, but I need that spend less time, maybe by doing the 7 consults at the same time and return the result.My problem with the code is that...
4 Jan 2016 by Sergey Alexandrovich Kryukov
This is how: DataGridCell.IsReadOnly Property (System.Windows.Controls)[^].Your code sample with if ...ReadOnly = True Then is not good enough. ReadOnly is already Boolean, why comparing it with True?For DataGridCell, right way to write code would beif cell.IsReadOnly Then ...
23 Jan 2016 by Baburc
Thanks for the replyCan you please show how to do it. I use vb.net thanks
8 Mar 2016 by Member 12156089
i need to generate a barcode without any library (if exist one commercial free),i have this code but always said Font is ReadOnly, i found a lot of pages but any said how fix it this is the code :Imports System.DrawingImports System.Drawing.TextPartial Class codigo_barras ...
22 Oct 2020 by listojay
Im having trouble disabling or set textbox to readonly after postback submission.what code do i need from controller to disable a razor textbox in views.please dont suggest to use jquery for me to familiarize mvc thanks.What I have tried:i can do this by default but cant control the...
23 Oct 2016 by F-ES Sitecore
MVC is a server-side technology, you can't use it to dynamically amend the DOM in the browser, so I'm afraid you're going to have to use javascript or jQuery to do this.
22 May 2020 by Mehdi Gholam
This is how TorpedoSync came about, from the use of other software to sync "My Documents" across my machines and finding them troubling.
15 Jul 2015 by Akhil Mittal
Access modifiers (or access specifiers) are keywords in object-oriented languages that set the accessibility of classes, methods, and other members. Access modifiers are a specific part of programming language syntax used to facilitate the encapsulation of components.
31 Jan 2013 by Shweta Lodha
When, what, and how to use constants in C#.
14 Apr 2014 by norazli
So I have an arduino uno board (no won't make the same mistake next time) running a c program, in there I have some variables that needs changing depending on what's happening in my main program that's written in c#. The communication is one way, as the response comes from somewhere else, I'd...
25 Jan 2016 by johnstda
I've got the following code for a basic 2d point class: public class PointXY : Point2D { private float x, y; public static readonly PointXY ORIGIN = new PointXY(); public PointXY() { } public PointXY(float x, float y) { ...
25 Jan 2016 by PIEBALDconsult
I use private setters for the properties:public class Point{ public int X { get ; private set ; } public int Y { get ; private set ; } public Point ( int X , int Y ) { this.X = X ; this.Y = Y ; } public Point() : this ( 0 , 0 ){} public...
22 Oct 2020 by Member 14972759
Solution by ROCH DEVELOPER @Html.EditorFor(model => model.Consecutive, new { htmlAttributes = new { @class = "form-control", @Value = ViewBag.Consecutivo, disabled = "disabled" } })
4 Jan 2016 by Baburc
I am using Wpf datagrid called IGridI want to get a Weather particular cell is read only or not in keyup eventIn vb ordinary grid i use code below to get this If IGrid.CurrentRow.Cells(ColumnIndex).ReadOnly = True Then End Ifplease give me equivalent for this in wpf...
25 Jan 2016 by BillWoodruff
While Java has a 'Point2D structure, to my knowledge, C# does not. C# has 'Point, and 'PointF. 'PointF is sealed, so you can't inherit from it. However, assuming you want to be able to handle both integer C# Point, and other numeric-Type C# Types, you can do something like this:public class...
8 Mar 2016 by OriginalGriff
Probably you need to change:TextBox1.Font = Font(family, 40.0F)To:TextBox1.Font = New Font(family, 40.0F)
11 Feb 2024 by Member 4189717
I attached a DB in to SQL Server 2022 version and added a new table URLabelHeader. While adding a new stored procedure I am getting the following error. CREATE PROCEDURE [dbo].[spSaveURLprocess] ( @tblURLlabelHeader...