Click here to Skip to main content
15,913,201 members
Home / Discussions / C#
   

C#

 
Questionhow to check if a given xml file is well formed or not? Pin
G.K.M.10-Jan-08 16:48
G.K.M.10-Jan-08 16:48 
AnswerRe: how to check if a given xml file is well formed or not? Pin
Mark Greenwood10-Jan-08 17:03
Mark Greenwood10-Jan-08 17:03 
AnswerRe: how to check if a given xml file is well formed or not? Pin
MeetUdaya10-Jan-08 22:10
MeetUdaya10-Jan-08 22:10 
GeneralCalling a method from a Lib to Exe Pin
MAW3010-Jan-08 16:42
MAW3010-Jan-08 16:42 
GeneralRe: Calling a method from a Lib to Exe Pin
Mark Greenwood10-Jan-08 17:06
Mark Greenwood10-Jan-08 17:06 
GeneralThe SharpCode.SharpZipLib.Zip better than The IO.Compression ? [modified] Pin
Vampire1986hieu10-Jan-08 16:14
Vampire1986hieu10-Jan-08 16:14 
GeneralRe: The SharpCode.SharpZipLib.Zip better than The IO.Compression ? Pin
Scott Dorman12-Jan-08 7:35
professionalScott Dorman12-Jan-08 7:35 
GeneralPlaying a song in a seperate thread Pin
Jordanwb10-Jan-08 11:58
Jordanwb10-Jan-08 11:58 
GeneralRe: Playing a song in a seperate thread Pin
Judah Gabriel Himango10-Jan-08 12:01
sponsorJudah Gabriel Himango10-Jan-08 12:01 
GeneralRe: Playing a song in a seperate thread Pin
Jordanwb10-Jan-08 12:30
Jordanwb10-Jan-08 12:30 
GeneralRe: Playing a song in a seperate thread Pin
Jordanwb10-Jan-08 13:32
Jordanwb10-Jan-08 13:32 
GeneralRe: Playing a song in a seperate thread Pin
Judah Gabriel Himango10-Jan-08 15:48
sponsorJudah Gabriel Himango10-Jan-08 15:48 
GeneralRe: Playing a song in a seperate thread Pin
Jordanwb11-Jan-08 3:06
Jordanwb11-Jan-08 3:06 
GeneralRe: Playing a song in a seperate thread Pin
Patrick Etc.10-Jan-08 12:34
Patrick Etc.10-Jan-08 12:34 
GeneralRe: Playing a song in a seperate thread Pin
Expert Coming10-Jan-08 19:50
Expert Coming10-Jan-08 19:50 
GeneralRe: Playing a song in a seperate thread Pin
electriac13-Jan-08 12:55
electriac13-Jan-08 12:55 
GeneralState Transition Diagram Pin
james_dixon_200810-Jan-08 11:33
james_dixon_200810-Jan-08 11:33 
GeneralRe: State Transition Diagram Pin
Pete O'Hanlon15-Jan-08 4:38
mvePete O'Hanlon15-Jan-08 4:38 
GeneralDataTable.Select("Column is null") very slow Pin
bemahesh10-Jan-08 11:25
bemahesh10-Jan-08 11:25 
GeneralRe: DataTable.Select("Column is null") very slow Pin
Mark Greenwood10-Jan-08 17:13
Mark Greenwood10-Jan-08 17:13 
GeneralRe: DataTable.Select("Column is null") very slow Pin
bemahesh11-Jan-08 3:14
bemahesh11-Jan-08 3:14 
GeneralRe: DataTable.Select("Column is null") very slow Pin
Justin Perez11-Jan-08 3:35
Justin Perez11-Jan-08 3:35 
GeneralRe: DataTable.Select("Column is null") very slow Pin
bemahesh11-Jan-08 4:16
bemahesh11-Jan-08 4:16 
QuestionJSP Converted C# Pin
lisad_tgc10-Jan-08 10:49
lisad_tgc10-Jan-08 10:49 
I converted a project from Java to C# using Java Language Conversion Assistant 3.0:
Please take a look at the conversions and let me know what changes I might need to make.
I appreciate your help Smile | :)
***See following 2 samples ***

****example 1 ******

using System;
using System.Xml;
using System.Xml.Serialization;
using System.Data;
using System.Text;
using System.Collections;

namespace JBCT
{

public class Attribute
{

public @XMLSerializable int attributeId = 0;
public XMLSerializable String;
attributeName=null;
public XMLSerializable ArrayList;
< String > attributeValues = new ArrayList < String >();

public Category parentCategory = null;

public Attribute()
{
}
}
}

***** example 2 *********

using System;
using System.Xml;
using System.Xml.Serialization;

namespace TGC
{

public class Product
{
virtual public BitList NewBitList
{
get
{
return new BitList((productVariations == null)?0:productVariations.size());
}

}

public @XMLSerializable int subcatId = 0;
public XMLSerializable String;
displayName = null;
public XMLSerializable String;
brand = null;
public XMLSerializable String;
tagLine1 = null;
public XMLSerializable String;
tagLine2 = null;
public XMLSerializable String;
tagLine3 = null;
public XMLSerializable String;
thumbnailImage = null;
public @ XMLSerializable boolean onSale = false;
public XMLSerializable ArrayList;
&lt; ProductVariation &gt; productVariations = new ArrayList &lt; ProductVariation &gt;();
public XMLSerializable HashMap;
&lt; String, BitList &gt; [] productAttributeValues = null;

public Category parentCategory = null;

public Product()
{
}

public class ProductVariation
{
public @ XMLSerializable int productId = 0;
public @ XMLSerializable int price = - 1;

public ProductVariation()
{
}
}
GeneralRe: JSP Converted C# Pin
Dave Kreskowiak10-Jan-08 13:40
mveDave Kreskowiak10-Jan-08 13:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.