Click here to Skip to main content
15,885,278 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Browser Incompatibility Pin
Vasudevan Deepak Kumar7-Jul-06 1:23
Vasudevan Deepak Kumar7-Jul-06 1:23 
QuestionApplying style to an HTML Anchor in asp.net code-behind file Pin
psid237-Jul-06 0:15
psid237-Jul-06 0:15 
AnswerRe: Applying style to an HTML Anchor in asp.net code-behind file Pin
psamy7-Jul-06 1:04
psamy7-Jul-06 1:04 
QuestionClient side script for treeview Pin
brahmareddy817-Jul-06 0:06
brahmareddy817-Jul-06 0:06 
QuestionNeed Forum Template [modified] Pin
Mohit Bhardwaj6-Jul-06 23:42
Mohit Bhardwaj6-Jul-06 23:42 
QuestionIs is possible to get the users windows login identity from an ASP.NET page ? Pin
Red_Wizard_Shot_The_Food6-Jul-06 23:03
Red_Wizard_Shot_The_Food6-Jul-06 23:03 
AnswerRe: Is is possible to get the users windows login identity from an ASP.NET page ? Pin
Vasudevan Deepak Kumar6-Jul-06 23:09
Vasudevan Deepak Kumar6-Jul-06 23:09 
Questionpaging a list Pin
cyber-will6-Jul-06 22:41
cyber-will6-Jul-06 22:41 
Hi

I am using a repeater control bound to an objectdatasource. the objectdatasource has a slectmethod that brings back a list of product objects (wine in this case). Everything is hunky dory except when it comes to paging the repeater so that only x amount of priducts are shown.

I am using a tableadapter to get the info from the database into a dataset and then using a method to put that dataset into the list (which is being used by the objectdatasource).

Below is the code that inserts the info into the list. I figure this would be the easiest place to page by just saying that it must be bewtween certain indexes, however a datarow doesn't have an index WTF | :WTF:
<br />
  Public Shared Function testing1() As List(Of Wine)<br />
      Dim objList As New List(Of Wine)<br />
      Dim objTemp As New List(Of Wine)<br />
      Dim tbl As Data.DataTable = WinesBLL.Testing()<br />
      Dim row As Data.DataRow<br />
      For Each row In tbl.Rows<br />
          Dim objWine As New Wine(row("WineName"), row("WineryName"), row("WineVintage"))<br />
          objList.Add(objWine)<br />
      Next<br />
      Return objList<br />
  End Function<br />

AnswerRe: paging a list Pin
Vasudevan Deepak Kumar7-Jul-06 1:32
Vasudevan Deepak Kumar7-Jul-06 1:32 
GeneralRe: paging a list Pin
cyber-will7-Jul-06 3:51
cyber-will7-Jul-06 3:51 
QuestionMenu control and sitemap, redirection problem ... Pin
shakhan6-Jul-06 22:27
shakhan6-Jul-06 22:27 
Questionautomatic uploading a file to a website Pin
amitcoder836-Jul-06 21:37
amitcoder836-Jul-06 21:37 
AnswerRe: automatic uploading a file to a website Pin
Vasudevan Deepak Kumar6-Jul-06 23:10
Vasudevan Deepak Kumar6-Jul-06 23:10 
Questionweb based workflow Pin
psamy6-Jul-06 21:28
psamy6-Jul-06 21:28 
AnswerRe: web based workflow Pin
Vasudevan Deepak Kumar6-Jul-06 23:12
Vasudevan Deepak Kumar6-Jul-06 23:12 
Questioncounting the checked checkboxes with in a datalist Pin
uglyeyes6-Jul-06 20:54
uglyeyes6-Jul-06 20:54 
AnswerRe: counting the checked checkboxes with in a datalist Pin
mnaveed7-Jul-06 0:20
mnaveed7-Jul-06 0:20 
GeneralRe: counting the checked checkboxes with in a datalist Pin
uglyeyes9-Jul-06 14:30
uglyeyes9-Jul-06 14:30 
QuestionIs it support vs.net 2005 with sql server2000 Pin
dhulipudi6-Jul-06 20:39
dhulipudi6-Jul-06 20:39 
AnswerRe: Is it support vs.net 2005 with sql server2000 Pin
minhpc_bk7-Jul-06 16:17
minhpc_bk7-Jul-06 16:17 
QuestionHow to use text to speech [modified] Pin
nisha26126-Jul-06 19:09
nisha26126-Jul-06 19:09 
AnswerRe: How to use text to speech Pin
ketankumar6-Jul-06 20:08
ketankumar6-Jul-06 20:08 
AnswerRe: How to use text to speech [modified] Pin
Asif Sayed7-Jul-06 10:20
Asif Sayed7-Jul-06 10:20 
Newsdropdownlist-flexible size Pin
fine6-Jul-06 17:37
fine6-Jul-06 17:37 
GeneralRe: dropdownlist-flexible size Pin
Amit Agarrwal6-Jul-06 23:44
Amit Agarrwal6-Jul-06 23:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.