TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kanhialal kk
NA
234
338.1k
Error in coding
Jun 23 2013 4:03 PM
Hi..
I am working in visual studio 2005 working on dataset.
having fallowing code which is not working well getting lots of error.
public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
{
XmlSchemaComplexType schemaComplexType = new XmlSchemaComplexType();
XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
DarusSalamDataSet darusSalamDataSet = new DarusSalamDataSet();
xs.Add(darusSalamDataSet.GetSchemaSerializable());
XmlSchemaAny xmlSchemaAny1 = new XmlSchemaAny();
xmlSchemaAny1.Namespace = "http://www.w3.org/2001/XMLSchema";
xmlSchemaAny1.MinOccurs = new Decimal(0);
xmlSchemaAny1.MaxOccurs = new Decimal(-1, -1, -1, false, (byte) 0);
xmlSchemaAny1.ProcessContents = XmlSchemaContentProcessing.Lax;
xmlSchemaSequence.Items.Add((XmlSchemaObject) xmlSchemaAny1);
XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
xmlSchemaAny2.MinOccurs = new Decimal(1);
xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
xmlSchemaSequence.Items.Add((XmlSchemaObject) xmlSchemaAny2);
schemaComplexType.Attributes.Add((XmlSchemaObject) new XmlSchemaAttribute()
Name = "namespace",
FixedValue = darusSalamDataSet.Namespace
);
schemaComplexType.Attributes.Add((XmlSchemaObject) new XmlSchemaAttribute()
{
Name = "tableTypeName",
FixedValue = "UsersDataTable"
});
schemaComplexType.Particle = (XmlSchemaParticle) xmlSchemaSequence;
return schemaComplexType;
}
please help me.
THanks
Reply
Answers (
4
)
TrackBar doesn't apply the TickFrequency when I drag it
Search exact text in datareader