Wrox Programmer Forums
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services 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 October 14th, 2004, 06:11 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default c# syntax

Hi

I am very new to c# basically doing some convertion from vb
can anybody tell this syntax in c#

 Dim colGUID As New DataColumn("GUID", GetType(String))

  Dim x as New Collection

thanks

 
Old October 14th, 2004, 08:17 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

DataColumn colGUID = New DataColumn("GUID", typeof(string))
Collection x = New Collection();

Brian
 
Old October 15th, 2004, 01:26 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default


Hi thanks for replay

Collection x = new Collection();

not working saying namespace Collection could not be found.

I already mentioned using System.Collections;

any idea?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Query Syntax [email protected] SQL Language 1 May 1st, 2007 06:42 AM
syntax error Adam H-W Classic ASP Basics 3 December 12th, 2006 08:20 AM
help syntax please khautinh SQL Server 2000 1 August 26th, 2006 02:47 AM
Syntax Error Cinderella Classic ASP Basics 4 February 1st, 2005 05:13 PM
Syntax and formatting Help michanne XSLT 0 January 26th, 2005 01:24 PM





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