15,889,281 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 Python 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 Anoop Kr Sharma (Top 42 by date)
Anoop Kr Sharma
8-Dec-13 13:42pm
View
Welcome:-)
Anoop Kr Sharma
19-Nov-13 11:18am
View
Check this article on codeproject
http://www.codeproject.com/Tips/520998/Send-Email-from-Yahoo-GMail-Hotmail-Csharp
Anoop Kr Sharma
20-Oct-13 23:39pm
View
In Future, If I take answer from any other site than I definitely provide its reference link in Solution.Thanks for your valuable comment.I really Apologize for my Mistake.
Anoop Kr Sharma
13-Oct-13 3:44am
View
As you are saying that you want the div to be fix either during scrolling article or window. I have created another fiddle for you.
Check it here
Hope you want something like that
Anoop Kr Sharma
7-Oct-13 11:07am
View
I think you are Installing Workgroup Edition not an Enterprise or Standard Edition.For Integration services use Enterprise or standard Edition.
Check this msdn link
for Features supported by various Editions of SQL Server
Anoop Kr Sharma
7-Oct-13 0:40am
View
Sending an email from a web form requires a server side language to communicate with a mail server and send messages.
Do you Know PHP or ASP.NET.If yes then check these links
PHP Example
or
ASP.NET Example
Anoop Kr Sharma
7-Oct-13 0:26am
View
Totally Agree with your Solution.+5
Anoop Kr Sharma
7-Oct-13 0:04am
View
Check this link it may be helpful for you
Sending mail using mailto in HTML
Anoop Kr Sharma
7-Oct-13 0:00am
View
use action attribute of form.ex <form action="MAILTO:someone@example.com" method="post">
Anoop Kr Sharma
28-Sep-13 15:01pm
View
check this MSDN link
Anoop Kr Sharma
16-Aug-13 9:25am
View
Deleted
Click Here
to view How to Install or Configure Microsoft SQL Server 2008 Express.
Anoop Kr Sharma
13-Aug-13 22:12pm
View
Are you trying to set an image towards left side of mainDiv and want rest portion for .gvDiv? If Yes then check this link
Click here to check fiddle
.Red background-color here i supposed it is an image here.
Anoop Kr Sharma
11-Aug-13 21:38pm
View
Welcome :-)
Anoop Kr Sharma
11-Aug-13 0:35am
View
Totally agree with your solution.+5
Anoop Kr Sharma
10-Aug-13 10:49am
View
Download the free Express version
Click Here
Anoop Kr Sharma
10-Aug-13 10:20am
View
Hope you are searching for this:-
SQL Full-Text Filter Daemon Launcher=Start Up type(Manual)
SQL Server Browser=Start Up type(Disabled)
Anoop Kr Sharma
10-Aug-13 3:24am
View
+5 from me.Make it blinking using CSS animation.
Anoop Kr Sharma
10-Aug-13 2:11am
View
Click here to see your previous question answer
and Please Show your code otherwise no one able to help you.
Anoop Kr Sharma
10-Aug-13 2:10am
View
I have Created a fiddle for you because you are posting same type of question again and again.
Please Visit this link
http://jsfiddle.net/nKHmB/
Anoop Kr Sharma
9-Aug-13 23:36pm
View
please create a fiddle link to show us your problem or write proper coding so that we can help you
Anoop Kr Sharma
7-Aug-13 13:52pm
View
try this link:
http://weblogs.asp.net/scottgu/archive/2010/07/29/vs-2010-web-deployment.aspx
or
http://www.ehow.com/how_7367513_do-using-visual-studio-express_.html
Anoop Kr Sharma
31-Jul-13 23:57pm
View
thanx enhzflep for solving my problem.Really Deserve +5 from me.
Anoop Kr Sharma
28-Jul-13 23:56pm
View
Welcome :-)
Anoop Kr Sharma
28-Jul-13 23:25pm
View
You can also check this link:-
http://stackoverflow.com/questions/375133/how-do-i-extract-part-of-a-string-in-t-sql
Anoop Kr Sharma
30-Jun-13 23:49pm
View
Thanks for explaining me the whole concept.
I want to know what is RTFM? I have never heard about it.
Anoop Kr Sharma
26-Jun-13 12:17pm
View
I have tested it but form not reach to my mail.'If any' means if you find/caught any problem or mistake in my code then please help me in correcting it.
Anoop Kr Sharma
21-Jun-13 12:54pm
View
Connection con=DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb,*.accdb)};Dbq=C:\\Documents and Settings\\Administrator\\My Documents\\NetBeansProjects\\withoutdsn\\src\\withoutdsn\\dsn.accdb");
Still getting error
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Anoop Kr Sharma
21-Jun-13 12:36pm
View
Means I have to provide Complete link of data base file(e.g = C:\project\dsn.accdb). Am i right
Anoop Kr Sharma
19-Jun-13 0:14am
View
@Prasad Khandekar Specially thanx for Your Reply
I have created jar file of my project but with some problem.
Actually i have created a splash Screen for My project and use these line in Manifest file
=====
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
SplashScreen-Image:Project/Splash_Screen_anoop.jpg
^
|
after removing splash screen line my jar file created
Anoop Kr Sharma
18-Jun-13 3:54am
View
JtableDatabase.java file:-
package project;
import java.awt.*;
import java.sql.*;
import java.util.*;
import javax.swing.*;;
public class JTableDatabase extends JFrame{
public JTableDatabase()
{
Vector columnNames = new Vector();
Vector data = new Vector();
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection connect =DriverManager.getConnection("jdbc:odbc:doct");
String sql = "Select * from doctorinfo";
Statement stmt = connect.createStatement();
ResultSet rs = stmt.executeQuery( sql );
ResultSetMetaData md = rs.getMetaData();
int columns = md.getColumnCount();
for (int i = 1; i <= columns; i++)
{
columnNames.addElement(md.getColumnName(i));
}
while (rs.next())
{
Vector row = new Vector(columns);
for (int i = 1; i <= columns; i++)
{
row.addElement( rs.getObject(i) );
}
data.addElement( row );
}
rs.close();
stmt.close();
}
catch(Exception e)
{
System.out.println( e );
}
JTable table = new JTable(data, columnNames);
JScrollPane scrollPane = new JScrollPane( table );
getContentPane().add( scrollPane );
JPanel buttonPanel = new JPanel();
getContentPane().add( buttonPanel, BorderLayout.SOUTH );
}
}
Anoop Kr Sharma
18-Jun-13 3:47am
View
After adding <compilerarg value="-Xlint:unchecked">
Anoop Kr Sharma
18-Jun-13 3:46am
View
ant -f "C:\\Documents and Settings\\Administrator\\My Documents\\NetBeansProjects\\Project" clean jar
init:
deps-clean:
Updating property file: C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\build\built-clean.properties
Deleting directory C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\build
clean:
init:
deps-jar:
Created dir: C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\build
Updating property file: C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\build\built-jar.properties
Created dir: C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\build\classes
Created dir: C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\build\empty
Created dir: C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\build\generated-sources\ap-source-output
Compiling 10 source files to C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\build\classes
C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\src\project\JTableDatabase.java:25: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type Vector
columnNames.addElement( md.getColumnName(i) );
where E is a type-variable:
E extends Object declared in class Vector
C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\src\project\JTableDatabase.java:32: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type Vector
row.addElement( rs.getObject(i) );
where E is a type-variable:
E extends Object declared in class Vector
C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\src\project\JTableDatabase.java:34: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type Vector
data.addElement( row );
where E is a type-variable:
E extends Object declared in class Vector
C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\src\project\JTableDatabaseUser.java:25: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type Vector
columnNames1.addElement( md1.getColumnName(i) );
where E is a type-variable:
E extends Object declared in class Vector
C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\src\project\JTableDatabaseUser.java:32: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type Vector
row1.addElement( rs1.getObject(i) );
where E is a type-variable:
E extends Object declared in class Vector
C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\src\project\JTableDatabaseUser.java:34: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type Vector
data1.addElement( row1 );
where E is a type-variable:
E extends Object declared in class Vector
C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\src\project\userpage.java:236: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type Vector
columnNames.addElement( md.getColumnName(i) );
where E is a type-variable:
E extends Object declared in class Vector
C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\src\project\userpage.java:243: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type Vector
row.addElement( rs.getObject(i) );
where E is a type-variable:
E extends Object declared in class Vector
C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Project\src\project\userpage.java:245: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type Vector
data.addElement( row );
where E is a type-variable:
E extends Object declared in class Vector
Note: C:\Document
Anoop Kr Sharma
18-Jun-13 3:34am
View
Deleted
deleted
Anoop Kr Sharma
13-Jun-13 14:08pm
View
java.sql.SQLException:syntax error(missing operator) in query expression
Anoop Kr Sharma
7-Jun-13 22:52pm
View
thanx Farzad Nozarian
Anoop Kr Sharma
7-Jun-13 3:40am
View
try the things that i have said to you in my previous reply hope it works
Anoop Kr Sharma
7-Jun-13 3:37am
View
hey try this first go to start-> program->sql server 2008 and then right click on sql server management studio--->click on properties and check the last words of path
"C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe"
look something like as above.try the last few words like in above example there is Ssms.exe and run this in run menu
Anoop Kr Sharma
7-Jun-13 3:35am
View
I have tried it just 2sec ago and it works in my pc.
Anoop Kr Sharma
6-Jun-13 6:20am
View
I actually want to know why columns is passing in vector having name row in loop.
// Vector row = new Vector(columns);
another is what is the use of rs.getobject(i)
actually I am new to java programming
Anoop Kr Sharma
26-May-13 8:27am
View
hey acc to me this 1 is out of frame means you havn't done any mistake in file .php but you have entered 1 in the file in which you have used frame
Anoop Kr Sharma
26-May-13 8:22am
View
Thanx ThePhantomUpvoter for solving my problem
Anoop Kr Sharma
26-May-13 8:09am
View
@ThePhantomUpvoter can you help me in creating the code using equals()
Show More