Click here to Skip to main content
16,010,022 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: 2 data text field columns in listbox Pin
Deepak the Cool6-Oct-08 2:51
Deepak the Cool6-Oct-08 2:51 
Questionadding to single datattable which is in a class from user control referenced in different part of same page Pin
justintimberlake6-Oct-08 1:22
justintimberlake6-Oct-08 1:22 
AnswerRe: adding to single datattable which is in a class from user control referenced in different part of same page Pin
Sandeep Akhare6-Oct-08 1:59
Sandeep Akhare6-Oct-08 1:59 
Questionwant invisiable window open thorugh javascript. Pin
UD(IA)6-Oct-08 0:54
UD(IA)6-Oct-08 0:54 
AnswerRe: want invisiable window open thorugh javascript. Pin
Sandeep Akhare6-Oct-08 1:00
Sandeep Akhare6-Oct-08 1:00 
AnswerRe: want invisiable window open thorugh javascript. Pin
Abhijit Jana6-Oct-08 1:14
professionalAbhijit Jana6-Oct-08 1:14 
GeneralRe: want invisiable window open thorugh javascript. Pin
J4amieC6-Oct-08 2:08
J4amieC6-Oct-08 2:08 
QuestionHow can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 0:27
JUNEYT6-Oct-08 0:27 
Hi,

I have been getting the following error message whatever I tried to get rid of it, I couldn't succeed it. How can solve the problem? I tried to define the dropdownbox with (Dim myYearBox as New Dropdownlist) and it didn't work out too.

Error message is :"Object Referance not set to an instance of an object"

<br />
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
<br />
<br />
        If Page.IsPostBack = False Then<br />
<br />
<br />
            Dim myYearBox As DropDownList = CType(FormView1.FindControl("GetYear"), DropDownList) '<< ERROR<br />
<br />
            myYearBox.Items.Insert(0, Now.Year.ToString)<br />
            myYearBox.Items.Insert(1, (Now.Year + 1).ToString)<br />
<br />
<br />
            'GetYear.Items.Insert(0, Now.Year.ToString)<br />
            'GetYear.Items.Insert(1, (Now.Year + 1).ToString)<br />
<br />
            Call populateDayFromBox(Now.Year, Now.Month)<br />
<br />
        End If<br />
<br />
    End Sub<br />
<br />



What a curious mind needs to discover knowledge is noting else than a pin-hole.


AnswerRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
eyeseetee6-Oct-08 0:54
eyeseetee6-Oct-08 0:54 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 1:10
JUNEYT6-Oct-08 1:10 
AnswerRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
Jaffer Mumtaz6-Oct-08 2:33
Jaffer Mumtaz6-Oct-08 2:33 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 4:47
JUNEYT6-Oct-08 4:47 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
AlexeiXX36-Oct-08 5:03
AlexeiXX36-Oct-08 5:03 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 5:28
JUNEYT6-Oct-08 5:28 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
AlexeiXX36-Oct-08 8:50
AlexeiXX36-Oct-08 8:50 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 9:05
JUNEYT6-Oct-08 9:05 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
AlexeiXX36-Oct-08 9:15
AlexeiXX36-Oct-08 9:15 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 11:15
JUNEYT6-Oct-08 11:15 
AnswerRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
ToddHileHoffer6-Oct-08 3:01
ToddHileHoffer6-Oct-08 3:01 
QuestionDoes .Net Framwork needed? Pin
Pedram Behroozi6-Oct-08 0:13
Pedram Behroozi6-Oct-08 0:13 
AnswerRe: Does .Net Framwork needed? Pin
J4amieC6-Oct-08 0:14
J4amieC6-Oct-08 0:14 
GeneralRe: Does .Net Framwork needed? Pin
Pedram Behroozi6-Oct-08 0:18
Pedram Behroozi6-Oct-08 0:18 
GeneralRe: Good Tutorial Pin
eyeseetee6-Oct-08 0:21
eyeseetee6-Oct-08 0:21 
AnswerRe: Does .Net Framwork needed? Pin
bagla6-Oct-08 2:09
bagla6-Oct-08 2:09 
GeneralRe: Does .Net Framwork needed? Pin
N a v a n e e t h6-Oct-08 2:28
N a v a n e e t h6-Oct-08 2:28 

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.