On my project, I use two button to view the record of my database,
but I have problem here.
When I press the next button, the data that showed was not in the next record of my database. It can't view the next record.
Help me please..how to fix it...
give me the source pleasee.....
Thanks before... :)
5 replies to this topic
#1
Posted 31 December 2010 - 01:03 AM
|
|
|
#2
Posted 31 December 2010 - 11:04 AM
There is just far to little information here,
what are you using to connect to the database?
I mean presumably you're pulling the records from the database and storing them somewhere, like possibly in a data table or something,
can you post your code first?
what are you using to connect to the database?
I mean presumably you're pulling the records from the database and storing them somewhere, like possibly in a data table or something,
can you post your code first?
#3
Posted 04 January 2011 - 05:52 PM
I use oleDb connection in C#.Net 2010, and use Microsoft Access for saving the data
the design form is like this
http://sixthsense.uc.../Untitled-1.jpg
when I press the 'next' button, the pic box show the pic in the next record..and when I press the 'back' button, the pic box show pic in the previews record..
could you help me?
the design form is like this
http://sixthsense.uc.../Untitled-1.jpg
when I press the 'next' button, the pic box show the pic in the next record..and when I press the 'back' button, the pic box show pic in the previews record..
could you help me?
#4
Posted 04 January 2011 - 06:40 PM
I can! =)
OleDB is the ADO.NET 'Data Provider',
its kinda like a driver
So you have the ado.net subsystem, which has a data source. Your OleDB is the connector to that data source. Once the data comes in.. that's what I'm concerned about.
Are you using an OleDBDataReader? or are you using DataAdapters ?
OleDB is the ADO.NET 'Data Provider',
its kinda like a driver
So you have the ado.net subsystem, which has a data source. Your OleDB is the connector to that data source. Once the data comes in.. that's what I'm concerned about.
Are you using an OleDBDataReader? or are you using DataAdapters ?
#5
Posted 07 January 2011 - 02:29 AM
I'm using OleDbDataReader..
could you give me the source?
please..
could you give me the source?
please..
#6
Posted 07 January 2011 - 04:45 AM
I could, except I dont think you told me what you were trying to connect to. Here is a great site. ConnectionStrings.com - Forgot that connection string? Get it here!
The idea is to find the database type your connecting to, and hit that link. Then scroll down till you find the X OLE DB PROVIDER connection string.
Another great ADO Connection Strings site is Connection Strings
Which might actually be easier to find the connection string your looking for. Anyways, let me know.
The idea is to find the database type your connecting to, and hit that link. Then scroll down till you find the X OLE DB PROVIDER connection string.
Another great ADO Connection Strings site is Connection Strings
Which might actually be easier to find the connection string your looking for. Anyways, let me know.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









