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
jaya kumar
NA
18
0
my dataset seems empty though i have values int able in wpfdatagrid(toolkit)
Apr 4 2010 3:26 PM
string connb = System.Configuration.ConfigurationSettings.AppSettings["anaMusical.Properties.Settings.anaConnectionString"].ToString();
SqlConnection conn = new SqlConnection(connb);
SqlCommand com;
string strSql = "SELECT * FROM anaMusical";
conn.Open();
com = new SqlCommand(strSql, conn);
SqlDataAdapter da = new SqlDataAdapter(com);
da.SelectCommand = com;
DataSet ds12 = new DataSet();
da.Fill(ds12, "anaMusical");
dataGrid4.DataContext = ds12;
//dataGrid4.ItemsSource = ds12.Tables[0].ToString();
conn.Close();
com.Dispose();
Reply
Answers (
0
)
XamlParseException error
windows form controls in wpf are disabled