Click here to Skip to main content
15,897,090 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
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 
I use Business object's insert method actually. Please see the code below. However I decided not use Formview because in runtime I must control dropdownboxes and their events. Now I am not able to pass the values of these boxes to below procedure because this boxes are not bind to objectdatasource anymore. I have to externally bind them somehow but I don't knwo how to do that.

<br />
    Private Sub ObjectDataSource1_Inserting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ObjectDataSourceMethodEventArgs) Handles ObjectDataSource1.Inserting<br />
<br />
        Dim ParamsFromPage As IDictionary = e.InputParameters<br />
<br />
        Dim NewObj As New property_availability(0, 0, 0, 0, "")<br />
<br />
        NewObj.Getyear = Int32.Parse(ParamsFromPage("GetYear")).ToString<br />
        NewObj.GetMonth = Int32.Parse(ParamsFromPage("GetMonth")).ToString<br />
        NewObj.GetDayFrom = Int32.Parse(ParamsFromPage("GetDayFrom")).ToString<br />
        NewObj.GetDayTo = Int32.Parse(ParamsFromPage("GetDayTo")).ToString<br />
        NewObj.GetStatus = ParamsFromPage("GetStatus").ToString<br />
<br />
        ParamsFromPage.Clear()<br />
<br />
        ParamsFromPage.Add("GetYear", NewObj.Getyear)<br />
        ParamsFromPage.Add("GetMonth", NewObj.GetMonth)<br />
        ParamsFromPage.Add("GetDayFrom", NewObj.GetDayFrom)<br />
        ParamsFromPage.Add("GetDayTo", NewObj.GetDayTo)<br />
        ParamsFromPage.Add("GetStatus", NewObj.GetStatus)<br />
<br />
    End Sub<br />
<br />
<br />



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


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 
GeneralRe: Does .Net Framwork needed? Pin
Pedram Behroozi6-Oct-08 2:58
Pedram Behroozi6-Oct-08 2:58 
GeneralRe: Does .Net Framwork needed? Pin
J4amieC6-Oct-08 4:20
J4amieC6-Oct-08 4:20 
GeneralRe: Does .Net Framwork needed? Pin
Pedram Behroozi6-Oct-08 4:31
Pedram Behroozi6-Oct-08 4:31 
QuestionWhat about other OSs? Pin
Pedram Behroozi6-Oct-08 8:54
Pedram Behroozi6-Oct-08 8:54 
AnswerRe: What about other OSs? Pin
Adam Maras6-Oct-08 9:19
Adam Maras6-Oct-08 9:19 
GeneralRe: What about other OSs? Pin
Pedram Behroozi6-Oct-08 10:17
Pedram Behroozi6-Oct-08 10:17 

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.