User Profile

Collapse

Profile Sidebar

Collapse
SujaShyam
SujaShyam
Last Activity: Nov 3 '10, 12:04 PM
Joined: Sep 8 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to save runtime decided values to different tables in db.

    I am totally new to asp.net mvc-2. Let me now explain my need. I have a view to create an "Instructio n". I need to enter InstructionName , Description, and few Attributes to it. The number of attributes is determined at runtime. When "more attributes" is clicked I replicate a div which contains AttributeId(Dro pdown) and AttributeValue( Textbox). The isntruction details are entered in Instruction table and the attribute details are...
    See more | Go to post

  • HttpContext.Current.Session is throwing exception(Object reference not set to an inst

    In our application we have to access session objects in business class. We are using HttpContext.Cur rent.Session to get the session value. In some cases it returns the value but mostly its throwing a null reference exception(Objec t reference not set to an instance of an object). We have the following code
    Try

    If HttpContext.Cur rent.Session("U sername") IsNot Nothing then
    ' Statements to be executed...
    See more | Go to post
No activity results to display
Show More
Working...