Bash
<HeaderTemplate>
<input id="chkAll2" onclick="javascript:SelectAllCheckboxes(this);" runat="server" type="checkbox" NAME="Checkbox4" />
</HeaderTemplate>
' runat="server">
' runat="server">
' runat="server">
' runat="server">Bash
<HeaderTemplate>
<input id="chkAll3" onclick="javascript:SelectAllCheckboxes(this);" runat="server" type="checkbox" NAME="Checkbox4" />
</HeaderTemplate>
' runat="server">
' runat="server">
' runat="server">
' runat="server">Instead of using two grid can we able to use single grid view for this
post solution for this
Thanks in Advance

SenthilkumarRank #387 · 6.5K reputationPosted Mar 19, 2012, 9:28 PM EDT
If you have such requirement to load the grid based on the xml file selection then
just defined the gridview like the following.
You have to load the xml file into dataset
DataSet dsXmlData = new DataSet();
dsXmlData.ReadXml(Path of the selected xml file);
gvxmlView.DataSource = dsXmlData.Tables[0];
gvxmlView.DataBind();
This will load the grid based on the selection...
I suggest you to do not assign the template name and datavalue field. It may be vary because you are trying to read the different xml file with different tag names.
Hope this will help you.
SenthilkumarRank #387 · 6.5K reputationPosted Mar 19, 2012, 8:17 PM EDT
If all the XML tags are with the same format and same name then we can read into different dataset and we can merge it into single dataset.
But you have mentioned as different xml tags. So read those xml into separate datasets and we need to iterate(loop) those dataset and add those rows into another dataset.
The single datadset which combined all these three dataset and will be binded with grid.
Rajkumar R175 reputationPosted Mar 19, 2012, 8:25 PM EDT