Hi all,
I have a serializable class 'A', which holds an arraylist.
I add an instance of serializable class 'B' to this arraylist, then attempt to serialize class A using binary formatter, but at that point it dies. I've run it through the debugger and it just stops at the serialization...
Hi,
I have a CommsManager object in my application which manages network communications, I want to create a new instance of this when the application starts, then persist the object so I can access its methods anywhere in the application..
I think this is kind of like how a session in asp.net...
Hi,
I have two applications, one is a server and one is a client.
upon recieving data the server sends a serialized "Request" (I know this is teh wrong way around but im only prototying anyway) object to the client, but when I try to deserialize the object on the client side I get...
Palbano, Thanks for your reply. I know how to do it technically, but the CartItemCollection itself just contains instances of CartItem class, and I don't believe datagrid will automatically read the public variables of CartItem and print to the datagrid.
So if I had a method called...
Thanks chiph for explaining the inner workings for the model, that cleared up a few things, and Thanks palbano - I think I'll go with the MVC pattern as i've used this in a previous Java project.
Hi all,
Say I had a CartItem class which represented a single cart item, and a CartItemCollection class which contains (not sure if this is how its done) a arraylist of CartItem objects..
How do I bind this data to a datagrid? create a datagrid in the CartItemCollection and return it? or is...
When developing with ASP.NET I have business objects that contain the data access code aswell.
So:
Customer cust = new Customer(CustomerID);, the class itself looks up the info for the customer and populates its own variables.
Shall I go with this approach for a desktop application?
Great, Thanks very much. I did actually try that earlier but I had it on the wizard, so it only displayed a list of servers, with msde not included, oh well.
Thanks again,
Matt.
Hi all,
I usually develop web applications, but am delving into desktop application development with c#.
Im a little stumped on the archtecture of a .net application, I've gone through the tutorials but they all seem to be a little overdone.
Currently im doing this:
I have a user interface...
Hi all,
I've just installed MSDE on my system, I already has Sql Server 2000 running. I installed MSDE as instance name "msde" and have compname&msde service running, so it appears to be working.
When I open query analyzer I can connect to this instance and run queries on it, however...
Thanks PalBano, I've got the socket stuff sorted, I think its things like how im listening for connections etc.
When I start the server socket, I bind the port to the socket and call its Listen method, then I have a while(true) loop with MySocket.Accept with a callback method, is this correct...
Hi,
Im trying to create a socket library which doesn't use TcpClient or TcpListener..
I've written the client, which seems to work fine. On the server side so far I have SocketServer and ClientHandler classes, when the server accepts a connection it passes the socket to a new instance of...
Thanks for the advice Dan. I've just run into my next problem however, I need to store a UserID_FK for 'Added by' and one for 'Managed By'. Or maybe I should put this stuff in a many to one table relating to the User, I don't know..
Hi all,
Im not unfamiliar with sql server 2k but this time I want to make sure I have 'proper' naming conventions in the database. So heres the scenario:
I have a table called 'Users' which lets just say for now has a primary key column called 'UserID_PK'.
I also have a table called...
Thanks very much for your comments all, I got a socket server going and a client to connect, but then decided I didn't need it in my application. Oh well, good learning experience.
Thanks again.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.