Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
ASP.NET
ASP.NET General Discussion
Object variable or With block variable not set
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="razinkac, post: 161555, member: 47251"] [COLOR=#434343][FONT=helvetica]this is my Income.aspx [/FONT][/COLOR][COLOR=#666600][FONT=helvetica]<%@[/FONT][/COLOR][COLOR=#000000][FONT=helvetica] Page Language[/FONT][/COLOR][COLOR=#666600][FONT=helvetica]=[/FONT][/COLOR][COLOR=#008800][FONT=helvetica]"vb"[/FONT][/COLOR][COLOR=#000000][FONT=helvetica] AutoEventWireup[/FONT][/COLOR][COLOR=#666600][FONT=helvetica]=[/FONT][/COLOR][COLOR=#008800][FONT=helvetica]"false"[/FONT][/COLOR][COLOR=#000000][FONT=helvetica] CodeBehind[/FONT][/COLOR][COLOR=#666600][FONT=helvetica]=[/FONT][/COLOR][COLOR=#008800][FONT=helvetica]"Income.aspx.vb"[/FONT][/COLOR][COLOR=#000088][FONT=helvetica]Inherits[/FONT][/COLOR][COLOR=#666600][FONT=helvetica]=[/FONT][/COLOR][COLOR=#008800][FONT=helvetica]"iplapp.Income"[/FONT][/COLOR][COLOR=#666600][FONT=helvetica]%> [/FONT][/COLOR][COLOR=#666600][FONT=helvetica]<![/FONT][/COLOR][COLOR=#000000][FONT=helvetica]DOCTYPE html[/FONT][/COLOR][COLOR=#666600][FONT=helvetica]> [/FONT][/COLOR][COLOR=#666600][FONT=helvetica] [/FONT][/COLOR][COLOR=#434343][FONT=helvetica]and here my Income.aspx.vb [/FONT][/COLOR][COLOR=#333333][xcode=[/COLOR]vb[COLOR=#333333]][/COLOR][COLOR=#000088]Namespace iplapp Public Class Income Inherits System.Web.UI.Page Private strCon As String="Data Source=alopex;Integrated Security=true;Initial Catalog=iplmaster;Persist Security Info=True" Dim sql_statement As Object Dim ViewBag As Object End Namespace[/COLOR][COLOR=#333333][/xcode[/COLOR][COLOR=#333333]][/COLOR][COLOR=#000088] [/COLOR][COLOR=#434343][FONT=helvetica] then here the result Object variable or With block variable not set ~> ViewBag.uploader = System.Web.HttpContext.Current.User.Identity.Name.ToString() big thanks for answer [/FONT][/COLOR][/xcode][/COLOR] [/QUOTE]
Insert quotes…
Verification
Post reply
ASP.NET
ASP.NET General Discussion
Object variable or With block variable not set
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom