15,949,741 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Vijay Gill (Top 25 by date)
Vijay Gill
1-Dec-16 8:48am
View
As a developer yourself, would you be able to answer that question with that much information provided?
Vijay Gill
27-Jan-16 12:14pm
View
Just like the message below, pad it with zeros on the left to get 6 digits and you are done! Now you don't need to worry about numbers being repeated and also you VP will be happy. Do you know how long before you run out of 6 digits? That could be another problem that might come back to bite you.
Vijay Gill
27-Jan-16 11:23am
View
Why random number for invoice number? Keep it sequential and every number will be unique!
Vijay Gill
15-Jan-16 10:40am
View
There is no harm in trying though. Re-factoring is an important part of a developer's job. One never joins a job and says "ah the only way to improve this project is to re-write it!". Even if it is a homework, it will teach him how to work on a project which was written ages ago and needs major heart surgery.
Vijay Gill
15-Jan-16 9:42am
View
To me it seems, he is not asking for an n-tier design but separation of concerns. He mentions he has forms with each one of those having their own ADO connections, queries and possibly other duplication of code / logic. This can be achieved in an iterative process on a per-form basis and is tedious but not impossible.
Vijay Gill
15-Jan-16 9:42am
View
Deleted
To me it seems, he is not asking for an n-tier design but separation of concerns. He mentions he has forms with each one of those having their own ADO connections, queries and possibly other duplication of code / logic. This can be achieved in an iterative process on a per-form basis and is tedious but not impossible.
Vijay Gill
15-Dec-15 4:33am
View
Just occurred to me, are you in any way attaching the file in your code? If so, is the datafile still at the location where connection string mentions it to be?
Vijay Gill
15-Dec-15 4:31am
View
Cannot make out much from that alone. Can you provide the code and connectionstring?
Vijay Gill
15-Dec-15 4:11am
View
Does the application show/log any errors? More details please.
Vijay Gill
10-Dec-15 15:02pm
View
I presume, object2 is a list. If so, is object1 added to that list too? Also, were the objects in object2 fetched using a session different from the session used to fetch object1? Also please post a bit more information (like scenario, code etc.) for helping us help you.
Vijay Gill
24-Aug-15 5:15am
View
What have you tried so far?
Vijay Gill
5-Nov-14 8:46am
View
My money will be on a dataset which has these two tables and a proper relationship setup among them. Then just fetch the two tables with parent first and child later. This way you bring back the minimum amount of data from server, and use minimum memory because there is no redundant data!
Vijay Gill
5-Nov-14 8:38am
View
What's the problem with string.split?
Vijay Gill
4-Nov-14 6:06am
View
Are your viesw using the shared layout? Or is your _ViewStart.cshtml setting it up or not?
Vijay Gill
3-Nov-14 13:30pm
View
What platform / language?
Vijay Gill
3-Nov-14 13:21pm
View
Oh, you need someone to do your homework. Good luck!
Vijay Gill
3-Nov-14 13:20pm
View
Deleted
Oh, you need someone to do your homework. Good luck!
Vijay Gill
3-Nov-14 13:13pm
View
What have you tried so far? Posting about your efforts first might attract some answers.
Vijay Gill
3-Nov-14 13:11pm
View
sorry :) did not pay attention to it. Will keep it in mind in future.
Vijay Gill
30-Aug-13 5:08am
View
Reason for my vote of 1 \n Wrong result. Image will not be persisted in database using this code.
Vijay Gill
11-May-12 10:02am
View
Reason for my vote of 1
Gave up reading after a few linesof code. Can you provide an example showing a class being unit-tested?
What is Runner (in the statement Runner.run(am);)?
Also no downloadable solution provided which could be compiled and seen to be working.
Vijay Gill
9-Dec-11 5:25am
View
Deleted
Reason for my vote of 1
...
Vijay Gill
9-Dec-11 5:23am
View
Deleted
Reason for my vote of 1
....
Vijay Gill
3-May-11 9:13am
View
If you can get data in dataset/datatable, then using RDLC reports with ReportViewer is not difficult. As a simple test, I created a dataset in my project with a table of arbitrary structure, added a report and chose that dataset/datatable as data source for that report. Then I could drop fields on to the report designer as I liked.
Vijay Gill
2-Dec-10 10:29am
View
Deleted
Reason for my vote of 1
Nothing new. This is available on a million websites already.
Show More