Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 11th, 2005, 08:58 PM
Registered User
 
Join Date: Jul 2005
Location: , , China.
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!:)

Reply With Quote
  #2 (permalink)  
Old July 11th, 2005, 09:20 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,413
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
Reply With Quote
  #3 (permalink)  
Old July 12th, 2005, 07:30 PM
Registered User
 
Join Date: Jul 2005
Location: , , China.
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.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto Serialize System.Exception? jacob C# 3 November 6th, 2006 11:12 AM
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



All times are GMT -4. The time now is 07:15 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.