Connecting Tech Pros Worldwide Forums | Help | Site Map

SqlDataReader to get xml format record in C#

Newbie
 
Join Date: Jul 2007
Posts: 15
#1: Oct 24 '08
hi,


SqlConnection conn = new SqlConnection();
conn.ConnectionString = @"Data Source=RNDSW44SQLEXPRESS;InitialCatalog=ProjectEmp ;Integrated Security=True";
conn.Open();
SqlCommand cmd = new SqlCommand(sSql, conn);
Cmd.CommandText = sql;
SqlDataReader reader = Cmd.ExecuteReader();


then i check reader[0] the part of xml is missing.

with regards

PRR PRR is offline
Moderator
 
Join Date: Dec 2007
Location: India
Posts: 702
#2: Nov 6 '08

re: SqlDataReader to get xml format record in C#


Could you explain further? wat part is missing?
Reply


Similar .NET Framework bytes