ID Name 1 c 2 c++ 3 java...
String Name = combobox.text;
SqlCeCommand cmd; con = new SqlCeConnection(@Data Source=|DataDirectory|\Db\StudentDB.sdf;); con.Open(); cmd = new SqlCeCommand(query, con); connection.Open(); sAdapter = new SqlCeDataAdapter(cmd); //sAdapter is sqlce Adapter sBuilder = new SqlCeCommandBuilder(sAdapter); //sBuilder command builder sDs = new DataSet(); sAdapter.Fill(sDs, Programming;) //Programming is Name of my table //After this line is thrwong exception sD_Table = sDs.Tables[Programming;]; connection.Close();
sAdapter.Fill(sDs, Programming;) //Programming is Name of my table //After this line is thrwong exception
sAdapter.Fill(sDs, "Programming")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)