SqlCommand mySqlSelect = new SqlCommand(“select * from tbl_test where
nid=’” + Session["nid"].ToString() + “‘ and sessionid=’” +
Session["sid"].ToString() + “‘”, conn);
mySqlSelect.CommandType = CommandType.Text;
SqlDataAdapter mySqlAdapter = new SqlDataAdapter(mySqlSelect);
DataSet myDataSet = new DataSet();
mySqlAdapter.Fill(myDataSet);
// Convert DataSet to DataTable by getting DataTable at first zero-based index of DataTableCollection
DataTable dtr1 = myDataSet.Tables[0];
Tuesday, January 26, 2010
-
Creating data driven application is one of the most commonly done task in our day today application development. In these applications, ...
-
The following article discusses the WPF command binding feature with relation to Mouse clicks. One of WPF powerful features is the bindin...
-
In this article we will look at the basics of Angular.Js. This is the first part of an article series. The main objective of this series i...