Shawn,
I did something very similiar and ran into the same problem.
Have a look here :
http://www.codeproject.com/aspnet/page_templates.asp
There is a bunch of relevant info there.
HTH,
Mike G.
*
The power of the waterfall is nothing more than a bunch of drips working
together.
*
From: Sha
There is a nice little article about this on msdn
http://msdn.microsoft.com/library/default.asp?url=/msdnmag/issues/03/07/
DataPoints/toc.asp
However there is a caveat, I couldn't get the new rows to merge back
into the client-side dataset without a constraint exception. To get
around this I ju
All of this discussion reminds me of what we were doing in 1992 (and are
still stuck with now). Object IDs are a DECIMAL(18,8) that looks like this:
xxx. where x is an autoincrement value assigned by the
"client" machines, is a "site number" assigned by us to the "client",
an
ElementCount is read-only
>>UnmanagedMarshal um = UnmanagedMarshal.DefineLPArray(typeof
(int));
>>um.ElementCount = count;
>>ParameterBuilder.SetMarshal(em);
Here is my code:
string baseName = "FooBarLib";
AssemblyName asmName = new AssemblyName();
asmName.Name = baseName;
//create a persistab
Try adding this code to the top of the assembly where the rest of the
'.extern's should be
.assembly extern System.Data
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
// .z\V.4..
.ver 1:0:5000:0
}
Or you could use ildasm to look at an already compiled assembly and just
copy what you see there
My guess is that it is an unintentional bug in the framework. The problem
is that when validators were added to a page initially, they add themselves
to the Page.Validators collection. When you move them, they disconnect but
there is no obvious way to reconnect them. As a work around I went thro
The biggest problem here is if two people try and add the same object in two
different spaces (e.g. on different web servers). But the key problem is
somewhat mitigated by the fact if you use Identity columns (and autonumbered
in the DataSet), when the update happens with the database, the databas
Referenced assemblies are specified in the ILASM source code as follows:
.assembly extern System.Data
{
.ver 1:0:3300:0
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
}
The classes from the referenced assembly are referenced as follows:
[System.Data]System.Data.AggregateNode
Bill stated he only had one table. Therefore an identity column would
suffice. For flexibility and extensibility though personally I would always
go for guids in this situation.
Regards
Richard Blewett
DevelopMentor
-Original Message-
From: Moderated discussion of advanced .NET topics.
[
I had a big problem when I'm writing a small piece of code to check the assembly
version in a specific folder. Originally, I use
Assembly.LoadFrom( strPath) , but if I change strPath to the second location which
contain the same assembly but with higher version, this function doesn't reload th
Does an identity column fully solve even problem 1? What value(s) of CustomerID in
the client's Customer table are used to indicate "new Customer" to the "apply changes"
code? (Null values aren't allowed in an Identity column.) If there's a parent/child
relationship (that is, 0 or more Orders
Caveat: I decided to post it to Advanced since what I am trying to do is a
little ASP.NET black magic.
I have created a base ASP.NET class that derives from System.Web.UI.Page.
This class's job is to create a master page for all Pages in a particular
application. In this class I do the following
I don't know what DB you're using. I mostly use Oracle so I use Oracle
sequences to handle this problem. It's pretty straightforward. The client
can assign whatever pk ID it wants, but when it sends the data back up to
the webservice to be committed to the DB, the webservice reassigns the ID to
.NETters,
I am trying to compile some IL code that calls methods from System.Data.DLL
and some other assemblies. When the code is compiled used ilasm.exe, it
complains "Undefined assembly ref 'System.Data'.' I don't see any command
line option on ilasm.exe to specify reference assemblies. Is there
Your attachement didn't get through unfortunately, but did you try:
UnmanagedMarshal um = UnmanagedMarshal.DefineLPArray(typeof(int));
um.ElementCount = count;
ParameterBuilder.SetMarshal(em);
Regards,
Jeroen
> -Original Message-
> From: Moderated discussion of advanced .NET topics.
> [
The problem here Bill is two fold:
1. Easily solved non duplicate primary key by either using a GUID column or
an identity column. The nice thing about a guid column is the client can
create the value and know the insert won't create a duplicate primary key.
2. Here's the more complex problem - c
Not very .Net question. Anyway, are you looking for some samples or
of-the-shelf tools? I can send you the source code that does pretty much the
same things as the snmputil. This is an implementation of basic encoding
rules (BER) of a limited number of ASN.1 constructs. Please contact me
privately
As an 'academic' exercise, I've attempted to create a COM interop assembly
using classes from the Reflection.Emit namespace. The problem that I ran
into was in specifying the
SizeParamIndex for an LPArray.
The generated IL should look something like:
.method public hidebysig newslot abstract
I'm designing an application that has a server running a webservice that
supplies a dataset through one method, and accepts changes through another.
The dataset supplied has a primary key on the only one table it contains.
Now, two clients, "A" and "B", request the dataset, here is how their table
I have a custom signed attribute in an SMIME, The data is ASN.1 encoded.
Can someone please let me know how I can decode it besides parsing each
byte?
Can I use cryptDecodeObject?
Thanks
Johnny Chung
===
This list is hosted by DevelopMentorĀ®
20 matches
Mail list logo