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
Rhega Fhazry
NA
5
731
Gridview To XML with Custom Schema
Oct 10 2016 2:41 AM
GetData();
DataSet ds =
new
DataSet();
DataTable dtxml = ((DataView)GVHostDtl.DataSource).Table;
ds.Tables.Add(dtxml);
ds.WriteXml(Server.MapPath(
"~/"
+ xmlFileName));
i have question ..So i have Grid where the data are binding from SQL..And i will export/download file to .XML files..its success but the header table XML files are not same with "Schema" on Grid..ex= i have field 'Actual Duty On Time In' on grid but on exporting file .XML field header name changes to 'Actual_Duty_On_Time_In'
Data My Gridview
Data .XML
Reply
Answers (
2
)
Image control in asp.net c#
How can I retrive data from database using parameterfielddef