473,395 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

cant to access readxml method

i have can not use xmlread method in c# .net 2010.


DataSource ds = new Datasource();
ds.xmlread(ds);

gridview1.dataSource =ds;
gridview1.dataBinding;


when i run program i got error is : '>' is unexpected token, expected token is '='. line 1 postion 36...

please reply as early as posible...


i am using 4.0 .net framwork

microsoft asp.net 2010...
Feb 25 '12 #1
1 1363
PsychoCoder
465 Expert Mod 256MB
Show us the XML file you're reading. It sounds like you may have a malformed XML file.
Feb 26 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Sean Anderson | last post by:
It seems I lack an understanding of varible (sorry, field) scope and need human feedback. I have read 5 books on java and everything in the help of my development tool says this should work fine,...
3
by: Merlynx | last post by:
I am currently trying to access a method in a form that modifies the properties of controls on that form. I can't instantiate the form otherwise i will get a duplicate. Is there a way to do this?
1
by: Raymond Du | last post by:
Hi, I am using Dataset's ReadXML method to read an XML file. Here i s my code snippet: Dim dsTemp As New DataSet dsTemp.ReadXml(Server.MapPath("~/data3.xml")) and data3.xml as follow:...
0
by: Guy | last post by:
Hi, I have a serialized object which looks like: <List> <ItemName="a"> <ItemName="b"> <Node Name="c" /> </Item> </Item>
2
by: Mo | last post by:
Hi, I am not sure if this is the right group but I have a web control within a page and I am trying to access a method from the control. My master page is set as : public partial class...
0
by: Jayjit | last post by:
Hello , I am getting excepton while reading xml data. like " DataSet can not expand entities use XmlValidatingReader & Set the EntityHandler property accordingly" I am able to read small xml...
9
by: Steve Richter | last post by:
in a generic class, can I code the class so that I can call a static method of the generic class T? In the ConvertFrom method of the generic TypeConvert class I want to write, I have a call to...
0
by: =?Utf-8?B?bXJjc2hhcnBtYW4=?= | last post by:
Hello, There is a space(as a data) in one of the columns. And i save my DataTable as a xml file using DataSet. I used DataSet.WriteXml method to save as a xml file. Now if I read that .xml file...
1
by: aj ami | last post by:
Hi I have a javascript class like following: Calendar = Class.create(); Object.extend(Calendar.prototype, { refreshCalendar: function(k){ k = "z"; },
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.