How to get the count of records in the Database table using the DataSet
VB.NET ds.Tables(0).Rows.Count C# ds.Tables[0].Rows.Count ;
What is the Performance comparison between DataSet and DataReader
Refer Performance Comparison: Data Access Techniques
How to find out what version of ASP.NET I am using on my machine?
VB.NET Response.Write(System.Environment.Version.ToString() ) C# Response.Write(System.Environment.Version.ToString() );
How to Format and display currency with n decimal points in a BoundColumn.
Set the Dataformatstring of the boundcolumn to {0:Nn} where n=> number of decimal points For more details refer Format Function
I have 3 DropDownLists on the page : one for a Month, second one for a Day, and the last one for a Year. How can I let the user choose the data and enter it to ‘datetime’ column in the database.
VB.NET Dim dt as DateTime = DateTime.Parse(ddlMonth.SelectedItem.Text & ‘/’ & ddlDay.SelectedItem.Text & ‘/’ & ddlYear.SelectedItem.Text ) C# DateTime dt = DateTime.Parse(ddlMonth.SelectedItem.Text & ‘/’ & ddlDay.SelectedItem.Text & ‘/’ & ddlYear.SelectedItem.Text );