Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 11th, 2005, 08:58 PM
Registered User
 
Join Date: Jul 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default help!help me,please!(about serialize)

Hey!help!help me,please!I'm in trouble!Who can tell me how to serialize object into SQL Server.For a instance,I programme some codes as:
          <serializable()>
   public class employee
     private _name as string
     private _age as string
   public property name() as string
     get
       return me._name
     end get
     set(byval value as string)
       me._name=value
     end set
     end property
   .........
I use DataSet as interface,I have tried for many times,but failed.I know I'm not clever,but who can help me? please! I am worrying about it.Please in detail,thanks a lot!:)

 
Old July 11th, 2005, 09:20 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

In VB, you need to make sure the lines are complete:

<Serializable()> Public Class Employee

  or

<Serializable()> _
Public Class Employee

-Peter
 
Old July 12th, 2005, 07:30 PM
Registered User
 
Join Date: Jul 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for your reply!but it's just a clerical error.i have no idea

just the same.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto Serialize System.Exception? jacob C# 3 November 6th, 2006 12:12 PM
XMLSerialization - Cannot serialize interface ricardotome C# 0 July 7th, 2006 06:04 AM
how to serialize object into SQL Server? gooood SQL Server 2000 0 July 17th, 2005 10:28 PM
serialize more complex objects Pieper .NET Web Services 0 July 20th, 2003 09:16 AM
Trying to serialize CultureInfo object cgbissio C# 0 July 17th, 2003 10:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.