I will be out of the office starting 31/05/2002 and will not return until
19/06/2002.
I will respond to your message when I return.
If you require information or urgent support please contach Alex Gannon (x6715)
or Paul Roberts (6599).
Hi all,
Should I use a Dataset or a local MS-Access database?
The basis for my question: The dataset is touted as an in-memory database:
It has schema, data, relations, filtering, sorting, and persistence
(through XML serialization). So, if it is "like" a database, why not
use "the real thing"?
Could someone be so kind as to point me in the direction of a good sample on
storing objects in ASP.Net session state? Searched the archive and havnt
really been able to dig up what I need. From what I've gathered so far I
understand I need to inherit from iSerializable and what not but havnt be
> Should I use a Dataset or a local MS-Access database?
>
> The basis for my question: The dataset is touted as an in-memory database:
> It has schema, data, relations, filtering, sorting, and persistence
> (through XML serialization). So, if it is "like" a database, why not
> use "the real thing"
Thanks, Greg.
I undestand this "in memory" issue. However, what I'm thinking is: You are
supposed to take the data from a 'big' (say, SQL Server) database, work on
it in memory using a Dataset, and then return the modifications. But what
if, instead, you take the data, store it in an Access (Jet)
Yes youre missing the point. Both SQL Server and MS Access and all other
databases are for permanent storage, like books in a bookshelf. To read a
book you have to take it out of the bookshelf and put in on your desk ("RAM
memory"). So whatever database you use you need some form of variables in
t
I am a little confused. Maybe I am thinking too simply, but on any page
you have access to the Page.Session object. Therefore:
class MyWebPage : Page
{
...
if (this.Session.IsNewSession)
{
this.Session["MyNewObject"] = new foobar();
}
Foobar myfoobar = this.Session["MyNewObject"] as foobar
Well for one thing, in your scenario you are creating twice the number of
processes and a heck of a lot more necessary code.
Your scenario
Get SQL Server data
Write data to Access DB
Get Access data
Load into Dataset
Manipulate data
Save data to Access DB
Update data from Access DB to SQL Server
> Ian Griffiths <[EMAIL PROTECTED]> wrote:
>
> >By default a strongly-named assembly can only be called by
> > full-trusted callers. I think this is intended as a 'secure by
> > default' setting, because it should reduce the chances of
> > someone being able to use the luring attack
> > on such a
If it's not in the FontFamily list of families then you can't use it.
As far as I know this means it will cover all the fonts in the fonts folder.
(Although I'm not sure about the ancient font formats - the strange
plotter-like fonts and the non-scalable ones. I also don't care...) The
interest
Ian Griffiths wrote:
> If it's not in the FontFamily list of families then you can't use it.
> As far as I know this means it will cover all the fonts in the fonts folder.
> (Although I'm not sure about the ancient font formats - the strange
> plotter-like fonts and the non-scalable ones. I als
OK, so I guess the question is: if fonts are installed but unavailable, does
the author of the original question care? Or are only those fonts that can
be used interesting?
(Would the original question asker please stand up?)
--
Ian Griffiths
DevelopMentor
- Original Message -
From: "B
How about this for a singleton:
// .NET Singleton
sealed class Singleton
{
private Singleton() {}
public static readonly Singleton Instance = new Singleton();
}
And it is even threadsafe.
This is a good article discussing the singleton pattern:
http://msdn.microsoft.com/library/default.
I think it is usefull to understand when SuppressFinalize() should be used.
If you look at code like this:
public class UseResource
{
public void OpenResource()
{
// open a resource for use
}
public void UseResource()
{
// Do some stuff with the resource
}
public void Clos
Hi John,
I would like to be able to provide some logging functionality for some code
that I have written. Basically, in a development release of the software,
I would like to be able to log function calls, return values, variable
assignments, UI control events, object instantiations, etc. Basic
"Managing State" - Chapter 14 in the Sams book _ASP.NET: Tips, Tutorials and
Code_ by Chris Payne, or
Rob Howard has an article "ASP.NET Session State" at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnet/ht
ml/asp03282002.asp
Graham Dobson
-Original Message-
F
Here's what I'm trying to do:
A web form has a drop down list and a bunch of text boxes. Selecting a
value from the dropdown list populates the text boxes. (Without a round
trip to the webserver)
In ASP I'd build a javascript array with the potential values and call a
function in the onchange eve
I agree XML!!!
- Original Message -
From: Sean Greer (SBI-Chico) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 31, 2002 5:20 PM
Subject: Re: [DOTNET] Best Practice for Passing Arguments
> How about binding the controls to a DataSet and then pass the DataSet to
the
> bus
>The basic thing that bugs me: Being "in memory" is not enough merit for a
>technology! I must be missing something. What? What is the advantage of
>using an in memory Dataset as opposed to the scenario above?
I think Microsoft were going to do a fully-fledged IMDB, but it never
happened. Here's
On Sun, 2 Jun 2002 17:38:38 +0100, Ian Griffiths <[EMAIL PROTECTED]>
wrote:
>> Ian Griffiths <[EMAIL PROTECTED]> wrote:
>>
>> >By default a strongly-named assembly can only be called by
>> > full-trusted callers. I think this is intended as a 'secure by
>> > default' setting, because it should r
I would assume that any font in the font folder could be used by windows
(Please correct if I'm wrong). I would think that if you are writing a
custom app could call out the font. Better yet, I would assume that if the
font is in the font folder it would be installed?
D. Wish
.Net makes me Randy.
Dustin Wish with NCA Communications wrote:
> I would assume that any font in the font folder could be used by windows
> (Please correct if I'm wrong).
>From Windows, yes, that's true. From Windows Forms (GDI+), no, that's false.
Only TrueType/OpenType fonts in the Fonts folder. This would seem t
Hi,
I need to retrieve a folder with files in it by making a WebService
Call on internet. Can anybody suggest me if this is possible? If yes,
please guide me.
Thanks
PrashanthG
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at
Brad,
> Only TrueType/OpenType fonts in the Fonts folder. This would seem to
exclude
> all fixed-size fonts (like Terminal)...
Not really, just those that are not TT/OT. There are several TrueType
fixed-size fonts, such as Lucida Console (assuming, that is, that by "fixed
fonts" you mean those w
Tomas Restrepo wrote:
> Brad,
>> Only TrueType/OpenType fonts in the Fonts folder. This would seem to
>> exclude all fixed-size fonts (like Terminal)...
> Not really, just those that are not TT/OT. There are several TrueType
> fixed-size fonts, such as Lucida Console (assuming, that is, that by
Hi PrashanthG,
What about getting a compression component, compressing the files into a
single archive, base64 encode the result, and return using a string. You
could even PInvoke to pkzip to compress the files if you didn't want to
purchase a compression component.
Nick
- Original Message
Cool, this sounds like the better way to fly. I was unaware of the
InstalledFontCollection Class. This brings me to a question. Where is a list
of the bases classes and the properties for developers.
- Original Message -
From: Ian Griffiths <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sen
Thanks for the feedback.
Thinking this through I think Access has two advantages over an in-memory
DataSet. First, it is persistant. It doesn't go away when the user turns
off her computer. Second, data is stored and accessed in very efficient
manner (i.e. indexes) which is even more critical whe
i have the following design/implementation problem in c# / remoting:
there's a document class (marshal by val), which is handed over from the
server to the client.
the client should be able to update the document, only if it's not in
a 'read-only' mode (suppose the mode is accessible to the clie
29 matches
Mail list logo