Click here to Skip to main content
15,909,039 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionImageButton and border attributes [modified] Pin
matthias s.5-Aug-06 8:26
matthias s.5-Aug-06 8:26 
AnswerRe: ImageButton and border attributes Pin
minhpc_bk7-Aug-06 15:38
minhpc_bk7-Aug-06 15:38 
GeneralRe: ImageButton and border attributes Pin
matthias s.7-Aug-06 22:37
matthias s.7-Aug-06 22:37 
GeneralRe: ImageButton and border attributes Pin
minhpc_bk8-Aug-06 0:02
minhpc_bk8-Aug-06 0:02 
GeneralRe: ImageButton and border attributes Pin
matthias s.8-Aug-06 0:19
matthias s.8-Aug-06 0:19 
GeneralRe: ImageButton and border attributes Pin
minhpc_bk8-Aug-06 0:28
minhpc_bk8-Aug-06 0:28 
QuestionDataset To Label (vs2005) Pin
NiPsTeRs5-Aug-06 5:41
NiPsTeRs5-Aug-06 5:41 
Questionbind data to two datalist controls on page load event Pin
Emapeter5-Aug-06 4:32
Emapeter5-Aug-06 4:32 
I am trying to bind data to 2 datalist controls on page load event but getting a null pointer exception. I do not see anything wrong with the code. it just look like it doesn't like the bind. Has the page's lifecycle have anything to do with that? This is the code

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

' Set the curent selection of list
Dim selectionId As String = Request.Params("selection")

Dim categoryId As Integer = CInt(Request.QueryString("CategoryID"))
' Obtain list of menu categories and databind to list control
Dim products As ASPNET.StarterKit.Commerce.ProductsDB = New ASPNET.StarterKit.Commerce.ProductsDB



MySubList.DataSource = products.GetSubCategories(categoryId)
MySubList.DataBind()


If Not selectionId Is Nothing Then
MyList.SelectedIndex = CInt(selectionId)
End If

'MyList.DataSource = products.GetProductCategories()
MyList.DataSource = products.GetProductMainCategories()
MyList.DataBind()




End Sub
AnswerRe: bind data to two datalist controls on page load event Pin
Mike Ellison5-Aug-06 4:38
Mike Ellison5-Aug-06 4:38 
QuestionPrinting Data from Grid in html report format Pin
Sunny H5-Aug-06 4:24
Sunny H5-Aug-06 4:24 
AnswerRe: Printing Data from Grid in html report format Pin
Mike Ellison5-Aug-06 5:12
Mike Ellison5-Aug-06 5:12 
Questionconfirm deletion in gridview Pin
sabby20065-Aug-06 1:11
sabby20065-Aug-06 1:11 
AnswerRe: confirm deletion in gridview Pin
Mike Ellison5-Aug-06 4:42
Mike Ellison5-Aug-06 4:42 
QuestionLITERAL Pin
MHASSANF4-Aug-06 21:57
MHASSANF4-Aug-06 21:57 
AnswerRe: LITERAL Pin
Guffa4-Aug-06 22:49
Guffa4-Aug-06 22:49 
GeneralRe: LITERAL Pin
Amit Agarrwal4-Aug-06 23:12
Amit Agarrwal4-Aug-06 23:12 
GeneralRe: LITERAL Pin
Guffa5-Aug-06 13:59
Guffa5-Aug-06 13:59 
Questionfile save in another machine by asp.net very urgent? Pin
Tridip Bhattacharjee4-Aug-06 21:48
professionalTridip Bhattacharjee4-Aug-06 21:48 
AnswerRe: file save in another machine by asp.net very urgent? Pin
Colin Angus Mackay5-Aug-06 4:58
Colin Angus Mackay5-Aug-06 4:58 
QuestionVery, very new to asp.net Pin
drc_no14-Aug-06 21:36
drc_no14-Aug-06 21:36 
AnswerRe: Very, very new to asp.net Pin
Mike Ellison5-Aug-06 4:55
Mike Ellison5-Aug-06 4:55 
Questionhow to Rewrite the URL Pin
Amit Agarrwal4-Aug-06 20:02
Amit Agarrwal4-Aug-06 20:02 
AnswerRe: how to Rewrite the URL Pin
Mike Ellison5-Aug-06 4:51
Mike Ellison5-Aug-06 4:51 
QuestionFind control in datalist Pin
deepaks34-Aug-06 19:31
deepaks34-Aug-06 19:31 
QuestionFind reason for CPU utilization Pin
supriya_sameer4-Aug-06 19:00
supriya_sameer4-Aug-06 19:00 

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.