|
Piyush Vardhan Singh wrote: e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor= 'pink'")
So you want the original colour when mouse out but you've added a different colour to the onmouseout event? Hmm...maybe you should look at that again! (read: onmouseover)
|
|
|
|
|
thanks for reply
i want on mouseout original color of gridview
Piyush Vardhan Singh
Programmer
TAS NewDelhi
9313077379
|
|
|
|
|
use the following:
e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor= 'pink'");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor= 'white'");
Koushik
|
|
|
|
|
thanks for reply
i want on mouseout original color of gridview
Piyush Vardhan Singh
Programmer
TAS NewDelhi
9313077379
|
|
|
|
|
Will anyone teach me how to create a web service, and call that in my web application using C# or VB.net code behind.. The web page can be of a simple form control. It can be Simple read and update of database through the web service. I want to have the application to be of n-tier archieture, which will give me a chance to understand the concepts of web based application in .net and .net layers..
please anyone help in this regard..
Thanks a lot.
Uma Shanker
|
|
|
|
|
Respected sir/madam,
any one help me how to develop mobile applications with asp.net what are the softwares neede to develop that.plz help me
faithfully,
sivakuma.
|
|
|
|
|
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
|
|
|
|