J
jobs
I have a asp.net gridview that I want to send a single column to a
stored procedure as an XML string ..
the code produces an xml document with all the columns.
I only want to send a column called "RatePlanId"
Dim View As DataView
View =
CType(RateGridSource.Select(DataSourceSelectArguments.Empty), DataView)
Dim RatePlans As DataTable = View.ToTable()
Dim ds As New DataSet
ds.Tables.Add(RatePlans)
'ds.WriteXml("RatePlan")
Dim xdoc As New XmlDocument
xdoc.LoadXml(ds.GetXml())
stored procedure as an XML string ..
the code produces an xml document with all the columns.
I only want to send a column called "RatePlanId"
Dim View As DataView
View =
CType(RateGridSource.Select(DataSourceSelectArguments.Empty), DataView)
Dim RatePlans As DataTable = View.ToTable()
Dim ds As New DataSet
ds.Tables.Add(RatePlans)
'ds.WriteXml("RatePlan")
Dim xdoc As New XmlDocument
xdoc.LoadXml(ds.GetXml())