Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:765853
More Search Options
RSS Available
Matching Posts
Re: session object not being formed
Hi, Are telling me to create this class within the same cs file which already has a class.Can one .cs file have multiple classes Any idea why the good old method doesn't work and therefore I go in a roundabout way Thanks for your reply.
Posted to
State Management
(Forum)
by
sunny74
on 11/2/2009
Re: session object not being formed
Hi Mohsin, Can u send me the code for what you r saying? Thanks for ur reply.
Posted to
State Management
(Forum)
by
sunny74
on 10/28/2009
session object not being formed
Dear Friends, I am trying to initialize Session objects in a class file i.e cs but it's just not happening. HttpContext.Current.Session["longi"] = Convert.ToString(0.00); Then I tried to initialize it in a different way. float longi = 0.00F; HttpContext.Current.Session.Add("longi", longi); But in both cases I am getting the error "Object reference not set to an instance of an object". what wrong am I doing? I am getting similar error with cache. Thanks for ur responses
Posted to
State Management
(Forum)
by
sunny74
on 10/27/2009
Re: session object not being formed
Hi Viral, [quote user="vvsce349"] 1. Have you write using System.Web; in your code file? 2. Are you getting HttpContext.Current.Session as not null in your code file? I have implmented same code as you did and not getting any Errors. [/quote] 1. It is there. 2. Httpcontext.Current.Session is coming from intellisense so it is not null. I had also implemented the similar thing before with no errors but right now it doesn't work. Could it be that I am missing something or the technology
Posted to
State Management
(Forum)
by
sunny74
on 10/27/2009
Re: check if data in DB table is old
Hi, Thanks for ur reply. [quote user="vinz"]You can fetch the data and based on the dates you can compare it with the current Date and Time. If the field from DB is less than the date and time today (current) then that means it's older.[/quote] so u are telling me to compare the date in the DB with the current date time and if its less then its older. But basically I need to compare the data i.e latitude,longitude stored in the DB the last time with the present one. Since data in the
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
sunny74
on 10/23/2009
Re: check if data in DB table is old
Hi Sivakumar, Thanks for ur brief reply. [quote user="sivagates05"]say iam getting one record from the db . while getting that record i will get that date column to and while again iam hitting the db i will check whether the same date is there if not then some updation has happen else it is the same record.[/quote] It is OK if I keep a Datetime column in the same DB table.When I will update the record I will also insert Datetime into the corresponding column. But there is one problem.There
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
sunny74
on 10/22/2009
check if data in DB table is old
Dear Friends, I am picking up data of 3 columns from a postgres DB. The columns are recordid, longitude and latitude.There are 2 records for each of these columns which I am picking up in an interval of 1 minute. The data in the DB comes from a GPS base modem. Sometimes the modem fails to update the DB table every minute. So before picking up the data I want to check whether the data in the DB table which was there in my dataset the previous time is the same as this time or not. If the data is unchanged
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
sunny74
on 10/21/2009
Sys.ArgumentTypeException: Object of type 'Number' cannot be converted to type 'Function'
Dear Friends, Microsoft JScript runtime error: Sys.ArgumentTypeException: Object of type 'Number' cannot be converted to type 'Function'. I am getting this error when I am trying to return a Point i.e POINT(72.689697265625 23.09658203125) as a string thru a webservice. My webservice function is as follows: [WebMethod] [ScriptMethod(UseHttpGet = true)] public string getWkT() { DBConnect db = new DBConnect(); //string ptstr = string.Empty; int [] seq = new int[2]; seq[0] = 1; seq[1
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
sunny74
on 10/14/2009
Re: Debugging ScriptResource.axd
Hi Pawan, [quote user="Pawan_Mishra"]These files are generated automatically and I guess they are not modifiable.[/quote] You are right.These files are unmodifiable and created at run time. But the error is generated from javascript code.So I want to know where in js code is the source of this error. As far as the scenario is concerned it is like this. I had written javascript code to fetch point geometry from a postgres DB which is then converted into lonlat i.e longitude and latitude
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
sunny74
on 10/12/2009
Re: Debugging ScriptResource.axd
Hi Avinash, [quote user="qwe123kids"] http://blogs.msdn.com/carloc/archive/2008/12/04/webresource-axd-or-scriptresource-axd-not-working.aspx Chk the above link [/quote] Your link partially solved the problem. In fact the article is a good one and it tells to turn off "check if file exists" for axd file. But this checkbox was already off. Later it talked about .ad file and there was another checkbox with the same label. I thought about turning it off even though not mentioned in
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
sunny74
on 10/12/2009
Page 1 of 55 (544 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online