Select Categories Below
Advertisement
Start Your Own Q&A Site
Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.
Status: Closed Points: 125 Time: 04:46 - Mar 14, 2009
rmda
Please help any VB 2008 / asp.net 3.5 guru I used dropdown list box SQL Server , list view, Pager … its working fine see the link below http://www.tharjuma.com/anquran.aspx The problem I’m facing is See the program …. For Example If the I am selecting the Sura No 6. And press SHOW button , It will jump to the page No : 177 as the Database and program as I did The same way if I choose Sura No 18. And press SHOW button , It will jump to the page No : 408 as the Database and program as I did . But if I pressed Next/Last button in the pager its working ….but after that if select and Drop down list as mentioned on the same way it will not show right page. It requires the “First“ PAGE button of PAGER button to be pressed once then only it will be shown properly How to rectify this? I think we need to reset the Pager every time when we click the Dropdown list? Could anyone guide me?
Categories:
Add Categories
When adding more than one category, separate them with commas.
ddrakonn
Date:: Mar 18, 2009
Time:: 07:20
I think you need to use. Something like this in DB and code. let's say object page is the object to show pages. Let's say object List is is your dropdaown. You read data from db into and get some datatable or reader We will create some data class. public class Data { public int id; public string DropString; public string path; } And then load data from DB there. Also we will create. In next fromat List<Data> _data; Then in our page load add List.DataSource = _data List.DisplayMember = "DropString" List.ValueMember = "DropString" //be shure to create public propeies in Data class to make this work Then for our page we do next. Page.DataSource = _data // I can't test so not shure that next is correct play with this. Page.DisplayMember = "path" So now we have one row that will be shown. And if you press next it will shows next picture and next in deopdown(if everything correct). After that add specific rules for this and it might work as you wish.
admin
Date:: Apr 09, 2009
Time:: 11:47
The question looks to be abandoned by the user who asked it. If no action is taken within 2 days, a Quomon Moderator will consider closing the question and distributing the points. The Quomon Team
Date:: Apr 20, 2009
Time:: 06:07
The question has been closed. The Quomon Team
Question Answered
This question has been closed, and points have been rewarded to the following experts:
You're welcome however to comment or give additional information or if you wish, you have the ability to write a Tutorial in the Tutorial Area.
Answer this Question
New User
Email:
Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address
Registered User
Username:
Password:
Forgot Your Password?
Enter your email address below and we will resend your login information to you.
Login Information Sent
Questions
whats the best food to eat during midnight?
How to identify the tiffany jewelry? www.tffanycheapmall.com.
Send an email alert to each user of the php application based on criteria
How I Increased My AdSense Earnings?
how to choose the lady dress ?
How can I fulfill the minimum requirement to make your computer support 3D?
You have 100 characters to use
Rank
Expert
Points
1.
10354
2.
6493
3.
5596
4.
4848
5.
3487
6.
2840
7.
2770
8.
2303
9.
1820
10.
917
Register today to share your knowledge with the community and be recognized and rewarded for your contributions.
Register Here
"Psst, Quomon is a great site. Pass it on." Tell a Friend | Link To Us | Save to Delicious | Digg it
Language Options
English:
Español:
Sponsors
Questions and Answers Software