16,019,263 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 Visual Basic questions
View Javascript 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 harsh_deep (Top 18 by date)
harsh_deep
9-Dec-11 13:12pm
View
thanks.. but as m a fresher.. will i have a better future afterwards..? does its experience will help..
harsh_deep
9-Dec-11 13:09pm
View
yes it is the first search option.. i just wanted to know what are future opportunities.. with it..
harsh_deep
9-Dec-11 13:04pm
View
thanks.. but as m a fresher.. will i have better future..? does its experience will help..
harsh_deep
9-Dec-11 8:40am
View
thanks
harsh_deep
9-Dec-11 8:40am
View
thanks a lot
harsh_deep
9-Dec-11 8:40am
View
thanks a lot
harsh_deep
9-Dec-11 8:40am
View
thanks a lot...
harsh_deep
13-Nov-11 11:23am
View
i had tried this.. i enabled full control right for this folder.. still it giving problem..i dnt knw whats wrong with this...
harsh_deep
13-Nov-11 11:23am
View
i had tried this.. i enabled full control right for this folder.. still it giving problem..i dnt knw whats wrong with this...
harsh_deep
13-Nov-11 11:23am
View
i had tried this.. i enabled full control right for this folder.. still it giving problem..i dnt knw whats wrong with this...
harsh_deep
12-Nov-11 15:33pm
View
:( i had un checked it den uploaded again..but still same problem.. :(
harsh_deep
3-May-11 7:33am
View
done..bt still having error can you plz provide me the code..
harsh_deep
3-May-11 7:31am
View
sir i had done wat abhinav said but still these errors is blowing my mind....help...plz
harsh_deep
3-May-11 7:25am
View
still having the error....>>
Syntax error (missing operator) in query expression '10thper>='55' AND 12thper>='55' AND aggregate>='55'AND backlog<='0' AND academicgap<='0''.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: Syntax error (missing operator) in query expression '10thper>='55' AND 12thper>='55' AND aggregate>='55'AND backlog<='0' AND academicgap<='0''.
Source Error:
Line 146: DataSet ds = new DataSet();
Line 147: adp.SelectCommand = cmd1;
Line 148: adp.Fill(ds);
Line 149: DataTable dt = ds.Tables[0];
Line 150: OleDbDataReader dr = cmd1.ExecuteReader();
plz.......provide me the right query...
harsh_deep
3-May-11 7:12am
View
still having the error :(
Syntax error (missing operator) in query expression '10thper>='55' AND 12thper>='55' AND aggregate>='55'AND backlog<='0' AND academicgap<='0''.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: Syntax error (missing operator) in query expression '10thper>='55' AND 12thper>='55' AND aggregate>='55'AND backlog<='0' AND academicgap<='0''.
Source Error:
Line 146: DataSet ds = new DataSet();
Line 147: adp.SelectCommand = cmd1;
Line 148: adp.Fill(ds);
Line 149: DataTable dt = ds.Tables[0];
Line 150: OleDbDataReader dr = cmd1.ExecuteReader();
harsh_deep
3-May-11 7:07am
View
now after editing the code like....>>>>
{
OleDbConnection cn = new OleDbConnection();
cn.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=E:\placement cell\project.mdb";
cn.Open();
string sql1 = "select name from student where 10thper>='" + DropDownList3.Text + "' AND 12thper>='" + DropDownList4.Text + "' AND aggregate>='" + DropDownList5.Text + "' AND backlog<='" + DropDownList6.Text + "' AND academicgap<='" + DropDownList7.Text + "'";
System.Data.OleDb.OleDbCommand cmd1 = new System.Data.OleDb.OleDbCommand(sql1, cn);
System.Data.OleDb.OleDbDataAdapter adp = new OleDbDataAdapter();
DataSet ds = new DataSet();
adp.SelectCommand = cmd1;
adp.Fill(ds);
DataTable dt = ds.Tables[0];
OleDbDataReader dr = cmd1.ExecuteReader();
while (dr.Read() == true)
{
GridView1.DataSource = dt;
}
cn.Close();
}
i got this type of error....>>
Syntax error (missing operator) in query expression '10thper>='55' AND 12thper>='55' AND aggregate>='55' AND backlog<='0' AND academicgap<='0''.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: Syntax error (missing operator) in query expression '10thper>='55' AND 12thper>='55' AND aggregate>='55' AND backlog<='0' AND academicgap<='0''.
Source Error:
Line 146: DataSet ds = new DataSet();
Line 147: adp.SelectCommand = cmd1;
Line 148: adp.Fill(ds);
Line 149: DataTable dt = ds.Tables[0];
Line 150: OleDbDataReader dr = cmd1.ExecuteReader();
harsh_deep
24-Mar-11 16:02pm
View
thanks...orignalGriff
i am new to programing thanks for the suggestion ..
harsh_deep
24-Mar-11 16:01pm
View
i had done it..but having the same error..
Show More