|
u need to hav .netcompactframework to develop mobile apps...
u can download it from microsoft website i guess........
mareers
|
|
|
|
|
I am not sure but if you visit www.asp.net site i.e microsft's official asp.net site,
may be you get some good help.
I'll suggest try there.
Naveed Kamboh
Complexity kills, Write easy code for your self.
isolutionteam
|
|
|
|
|
Hi
Is somebody here who use the Zoho api? I have a problem with showing a document in zoho.writer. I know an api key, ticket and document id, the web service receives the xml but I'd like to open the document in zoho.writer.
thanks in advance
|
|
|
|
|
I have texboxes which i want them to dispaly the information on the webpage.
my question is how do you bind textboxes in ASP.Net
karabo mekgwe
Ecom Institute
|
|
|
|
|
I need Regular Expression for MM/DD/YYYY, M/DD/YYYY, M/D/YYYY or MM/D/YYYY for Validating Date.
Thanks in Advance.
|
|
|
|
|
try out this may be use full
(?<month>\d{1,2})/(?<day>\d{1,2})/(?<year>(?:\d{4}|\d{2}))
or "^(?0[1-9]|[1-9]|1[012])(?[- /.])(?0[1-9]|[1-9]|[12][0-9]|3[01])(?[- /.])(?(19|20)\d\d)"
|
|
|
|
|
Thanks but its not working. There is syntex Error
|
|
|
|
|
I think he forgot to ignore html:
I check this and it works:
^(?<month>0[1-9]|[1-9]|1[012])([- /.])(?<day>0[1-9]|[1-9]|[12][0-9]|3[01])([- /.])(?<year>(19|20)?\d\d)
|
|
|
|
|
try this one:
\d\d?/\d\d?/\d{4}
|
|
|
|
|
Even if you use a reg expression I would suggest using System.DateTime.TryParse.
You don't want to save something like "2/30/07".
|
|
|
|
|
how i can sotre oleboject in sql oracle mysql which data type i have to use in each technology
|
|
|
|
|
nikhil1234 wrote: i want to store oleobject
What do you mean by "oleobject"? Is this just binary data?
nikhil1234 wrote: sql mysql oracle which data type i ahve to use for each
In SQL Server binary data can be stored in an image column in SQL Sever 2000 or a varbinary(max) column in SQL Server 2005.
MySQL and Oracle may have their own binary or blob (Binary Large OBject) types.
|
|
|
|
|
Hi
I am looking to control database concurrency by inserting a row in database containing session(userid), it checked against the table to see if the record is display only or editable. My problem is what if the app/computer shut down and the app not close properly, the record will be logged in the table.
What i need is something that would fire an action to remove the row whenever there is a close down of the app. I could use session_end but it just fire the action when session end, but what i want is when application end.
Please help.. Very urgent!!
Thanks
Nancy
|
|
|
|
|
I take it your using a Global.asax file for the Session_End? You can also define an Application_End method. However if the app doesn't close properly (eg the computer crashes) my guess is this isn't called.
|
|
|
|
|
thats what i am trying to do is to capture the case of computer crashes.
Thanks
Nancy
|
|
|
|
|
I use a different approach that might work for you. In your code right before you run your select statement (to databind a grid or whatever) call a stored procedure to unlock records.
Here is an example of the proc I use. It unlocks any record locked by the current user or any record locked over 20 minutes. After I unlock the records I populate the grid for my user. The session end event does not get called if the aspnet process gets recycled (which can happen).
<br />
create proc<br />
[dbo].[uspUnLockItems]<br />
(@User varchar(50))<br />
as<br />
<br />
update dbo.workItems<br />
set lockedBy = null,<br />
lockedTime = null<br />
where <br />
lockedBy is not null<br />
and<br />
(<br />
lockedBy = @User<br />
or datediff(minute, lockedTime, getdate()) > 20<br />
)<br />
|
|
|
|
|
thanks very much for your help. One more thing, in this case, means if a user has opened a record for over 20mins,it should redirect to a session time out page. but how do i detect if its been time out in aspxpage?
Thanks
Nacy
|
|
|
|
|
In that case you need a javascrip timer.
Read through the posts here for some examples.
|
|
|
|
|
Hi Friends,
In .NET there are two kind of variables. One is stored in HEAP (objects) .. some are in Stack. Now how these memory is clened. Who takes care of Stack and Heap once the execution is over.
Thanks,
Arindam D Tewary
|
|
|
|
|
The memory allocation in the stack is done when a method is called, and the stack is restored when the method returns.
The heap is managed by the garbage collector. At certain intervals it runs a sweap that removes unused objects.
---
single minded; short sighted; long gone;
|
|
|
|
|
Thanks Guffa.
Thanks,
Arindam D Tewary
|
|
|
|
|
hi! i want to use window form in webform project(asp.net).Is it possible?if so plz send possibilities and suggestions.
Thanq...
Neelima
|
|
|
|
|
right click on ur prj -- select add existing item
add the windows form u want to add....
open csproj file in textpad....
add the following code....
<file
relpath="Form1.cs"
="" subtype="Code" buildaction="Compile">
<file
relpath="Form1.resx"
="" dependentupon="Form1.cs" buildaction="EmbeddedResource">
u can easily identify the place where u hav to add this code....
and change the namespace in windows form to ur webapplication's namespace...
create the instance of ur form in webapplication...use it....
donno whether this procedure is correct or not....
it worked fine with my application....
check it with some other xperienced guys around....
thanks...
mareers.....
sreeram
|
|
|
|
|
right click on ur prj -- select add existing item
add the windows form u want to add....
open csproj file in textpad....
add the following code....
<file
relpath =="" "form1.cs"
subtype="Code"
buildaction="Compile"
="">
<file
relpath =="" "form1.resx"
dependentupon="Form1.cs"
buildaction="EmbeddedResource"
="">
u can easily identify the place where u hav to add this code....
and change the namespace in windows form to ur webapplication's namespace...
create the instance of ur form in webapplication...use it....
donno whether this procedure is correct or not....
it worked fine with my application....
check it with some other xperienced guys around....
thanks...
mareers.....
sreeram
sreeram
|
|
|
|
|
Hi All,
I need to calculate Age from today's date in the specific format:
Today's Date: 08/03/2007
BirthDate: 16/11/2005
Age: 01 yrs 03 months 20 days
It should consider leap year also.
Thanks in advance...
|
|
|
|