use of XML with ADO.Net

M

Mithun Bhangar

Hi

I need answer to the problem below.
Ques: I have a table in SQL. For this table I generate a XML file. This XML
file I use to fill in the
Datatset and then bind it to say, DataGrid. Now if I do editing
on the data in the DataGrid would
I observe the change in the SQL table also.

Note: the XML file is in some different folder other than the bin
directory of WebApplication.
 
C

Cowboy \(Gregory A. Beamer\)

What is the question?

1. Why is SQL updated? Most likely you have the full roundtrip bound (which
can be done drag and drop in Windows Forms and ASP.NET (2.0 only without any
code)).

The fact you do not have it in /bin means nothing. The fact it is an XML
file really means nothing. The big issue is the binding and the fact that
you have the full round cycle set up in your code. If that is not your
intent, you need to take control.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside the box!
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top