Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8577957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:16:39+00:00 2026-06-11T20:16:39+00:00

What can be alternative if i want to use autoincreament facility in oledb database

  • 0

What can be alternative if i want to use autoincreament facility in oledb database (Microsoft Access DB)…i now autonumber datatype is there in it…but it does not work like autoincreament faciity in SQL Server 2008 r2…

And

I have installed one simple c# application on my client’s machine….where in client does the data entry and after submitting it gets viewed in Datagrid…

Eg.I have made form for entering Id(Autogenerating it through program),Name,Address,Mobile,Landline.

When operator fills these details and clicks on submit button it gets stoed in database and is viewd in datagridview(As it is bound with corrosponding table in database)

……….Problem here is that..operator has now entered more than 50 records and datagridview has suddeny started showing the records from 22nd to 50th and after 50th record 1st to 21st record..

Each time the new record is added it gets appended after 50th record…
I am using microsoft access database over here(OLEdB connections)…
I have never faced these kind of problems when i used Microsoft SQL Server r2…

What can be the solution…

Code which i have written to bind the Datagridview is as follows>>>

da=new oledbdataadapter("select * from customer",con);
Dataset ds=new Dataset();
da.fill(ds);
gvCustomerRecord.Datasource=ds.Tables[0];

is there any solution on autoincreament in OLEDB???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:16:40+00:00Added an answer on June 11, 2026 at 8:16 pm

    You can use Order By on CustomerID

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use a WebSocket to transfer binary data, but you can only
I already read these methods as alternative for unsafeWindow. But I still can't get
make_pair can create pairs without mentioning the types. I want to use the same
Are there any alternatives for MySQL Proxy. I don't want to use it since
When I'm in Windows, I use the excellent MicroOLAP Database Designer for PostgreSQL, but
I want to use ribbon menu(as on Microsoft Word 2007 or 10) in my
I'm now developing a rails application. For localisation. I want to use an approach
I want to use $_SERVER['HTTP_REFERER'] in my site but i get the following: Notice:
Can anyone offer an alternative to removing duplicates from an numeric indexed table that
Can you advise me the best alternative of TortoiseSVN on Linux? I'm using ArchLinux

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.