|
ASSERTs in C++ |
|
Jul 02, 2009 - 6:36 PM - by Mridula
|
Introduction
This article talks about ASSERTs usage and customizing our own ASSERTs.
Background
Asserts are to catch implementation errors. The developer can document all the assumptions made on the his/her program, by using ASSERTs. If you have used asserts in your code and if it triggers, then you can know, there is a problem in your code and needs to be solved. And thus ASSERTs are to find bugs in your code.
These Asserts are available only for Developer loads or Debug loads. And are completely removed from Customer binaries or Release loads and so no issue of increase... [Read More]
|
|
1 Reply | 20 Views
|
User Tracking |
Jul 02, 2009 - 12:22 PM - by naimish
|
Introduction
At present many are using the Production URL with the same cuid (User id). There is no log maintained about the login of the user. Even when some user logs in to the system and does some changes in the contents either intentionally or accidentally, it is difficult to track it.
The proposed solution will maintain a log about the login of the user and will send the mail whenever there is an unauthorised usage
Background
The solution is a ASP.NET based web application. It does the following
1. Validates the login credential of the user. If the login attempt is... [Read More]
|
|
0 Replies | 23 Views
|
Export Data table to MS-Excel CSV |
|
Jul 02, 2009 - 11:58 AM - by naimish
|
Introduction
Exporting data from a data table to Excel or CSV is one of the most common functionality required in ASP.NET Web Application or .NET Window application. Users can download the data from the data grid into an Excel spreadsheet or CSV file for offline verification and/or computation. This article includes the source code for such functionality.
Background
This class library is fully implemented in C#.NET. This dll doesn't need to be registered. Simply copy the assembly "ExportUtility.dll" into r project folder and add it to references. You can also include the... [Read More]
|
|
0 Replies | 28 Views
|
Sending and Reading XML in Stored Procedure via .NET |
Jun 30, 2009 - 8:49 AM - by naimish
|
Problem
We encounter a situation where we need to execute the stored procedure passing XML string as parameter. The SP executor is used to execute the stored procedure with dataset as input from the application. It converts the dataset into XML string and passes it to the Store procedure
Solution
This code snippet takes the dataset and stored procedure name as input. The same code can also be used for MS Access database by replacing the SqlConnection, SqlDataAdapter, and SqlCommand to OleDbConnection, OleDbDataAdapter, and OleDbCommand respectively.
Suggestions: [Read More]
|
|
2 Replies | 54 Views
|
|
|
Link to Us
|
HTML
BBCode
|
|
RSS Feed
|
| Use your favorite reader to fetch information from G4EF.
|
» Latest Forum Topics |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
All times are GMT +5.5. The time now is 06:59 AM.