15,914,905 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 um_dw (Top 6 by date)
um_dw
27-Jun-11 22:12pm
View
dear sir i m fresher so i need help,i m student
um_dw
27-Jun-11 21:37pm
View
dear Sir
thanks for your reply this code is enough for me
thanks again
um_dw
26-Jun-11 1:39am
View
dear sir this query show all record
my database in ms-access pls help me
um_dw
26-Jun-11 1:25am
View
this is my code pls check its
OleDbConnection myConnection = default(OleDbConnection);
OleDbDataAdapter myCommand = default(OleDbDataAdapter);
// Create a connection to the "pubs" SQL database located on the
// local computer.
myConnection = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath(@"App_Data/funda.mdb"));
// Connect to the SQL database using a SQL SELECT query to get all
// the data from the "Titles" table.
myCommand = new OleDbDataAdapter("SELECT TOP 3 ID, cat_type FROM catagory ORDER BY ID DESC", myConnection);
// Create and fill a DataSet.
DataSet ds = new DataSet();
myCommand.Fill(ds);
// Bind MyDataList to the DataSet. MyDataList is the ID for
// the DataList control in the HTML section of the page.
//this.MyDataList.DataSource = ds;
this.MyDataList.DataBind();
um_dw
26-Jun-11 1:17am
View
dear Sir my database on ms-access
i want show only 3 top record from cat_type column
so tell me what is the query i write
um_dw
26-Jun-11 1:15am
View
dear Sir
every query show all record from the table
i want to show only 3 top record from cat_type column
and my database in ms-access
Show More