|
Try this...Put document.all('txtDate').value
|
|
|
|
|
thanks...but still its not working...
|
|
|
|
|
Hi All,
Can u pls tell me Deployment process.That means After developing all pages with source code in our local machine,
same will be updated in Client machine?
1.Code also Deployed on client machine?If not how our application runs in client machine?
2.What is the differnce between Build and Deployment?
Thanks to all Repliers..
|
|
|
|
|
I'm trying to use this code to change the color of a row when I put the mouse on it.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='blue'");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor='white'");
}
}
Do I need to be using hyperlink columns for all my data ? Or should it work for bound columns as well ?
Thanks
|
|
|
|
|
No need for HYperlink. It will work fine.
Regards,
Satips.
|
|
|
|
|
hi guys i am trying to make a asp page called backup sql database
the page is supposs to be able to backup the currently connected sql database into an file and let the user choose where to save the file
any idea how this is done>?
|
|
|
|
|
hi guys
my asp design keep having these white margins at the top left of the page
and i heard its becasue of these codes:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"<br />
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><br />
<html xmlns="http://www.w3.org/1999/xhtml">
but i got no idea what to do to make the white margins vanish some help pls
|
|
|
|
|
try this with your body tag:
<br />
<body style="margin:0"><br />
...<br />
</body><br />
NATHAN RIDLEY
Web Application Developer
email: snowdevil [@] gmail.com
web/blog: www.ersysgroup.com[ ^]
|
|
|
|
|
Hi,
Is there any way to identify any float values are there inside a datatable's coulmn.
For example : if my data table's column contains the value like this 1,2,2.2
I need to identify that this column has a float value 2.2..Else if my column is having 1,2,3 then no float values in the column.
Please show me a right way ..
Thanks much,
R.P.M
|
|
|
|
|
not sure got your clue...but how about using WHERE clause in SQL...something like "where floatcol = 2.2"??
<< >>
|
|
|
|
|
We want to excute an Insert query on Page load, to insert a new row for our clients to edit.
We have the parameters that they need to supply the insert query in the querystring.
We have an object data source with the insert query already loaded, just can't get it to excute on page load.
(It's actually inserting a new row with the same primary key, just a new revision number. Once the new row has been created with the new revision number, they will go to a form to edit it.)
Any help would be greatly appreciated.
|
|
|
|
|
I would guess that you need to do some manuel stuff here. How about defaulting the data into the html controls, letting the user edit what they need to then insert it when the user clicks save?
That seems like a better idea to me then trying insert a row on page load then have it show up in your objectdatasource.
Hope that helps.
Ben
|
|
|
|
|
i have created web application in asp.net 2003 codebehind c#
i have created web service in asp.net 2005 codebehind c#
i call the web service form my web application. it was working well for few days
but it throws message now "The request failed with HTTP status 404: Not Found."
i do't know what to do?
any solution?
thank u
|
|
|
|
|
Usually this means the app pool or the web service / web site are not running. The only other thing that comes to mind is if you change the url to your web service and there is a typo in it.
Hope that helps.
Ben
|
|
|
|
|
thanks for u r replay
yes i found that After typeing webservics url in browser it throws the message that the "Server Application Unavailable"
i do't what is the problem?
what i do now?
any solution?
any sample links?
thank u
|
|
|
|
|
have noticed that my web service it works fin in all the
windows xp system IIS Vresion 5.0
the same web service is not working in
windows 2003 sever systems (IIS Vresion 6.0)
in our organization
has any one know what is the problem?
thank u
|
|
|
|
|
I am guessing it is a settings thing. Something like the .net framework isn't loaded. Or you have both .net 1.1 and .net 2.0 framework and the web service is set to the 1.1 framework not the 2.0 framework. something like that. You can check to see what framework the web service is pointed to by going to the properties in the IIS manager and clicking on the asp.net tab. If it is pointed to the wrong framework it won't run.
Hope that helps.
Ben
|
|
|
|
|
thank u kubben for u r reply
Dear Freinds
i found Solution for all my problems.
at first i had an problem the web service was throwing error "404"
solution
remove the existing virtual directory and create again (check all the files are avilable and path is correct)
the second i had an problem the web service was throwing error "401"
solution
in the iis control we have option annanumus in security check this box
at lost i had problem "server unavailabe" this error was throwing for the application and webservice both will not run at a time
becase in iis6.0 the defalt appliction pool (combobox set same) for the both
so u need to set the application pool diffret for both
hope this is helpfull
thank u
|
|
|
|
|
Hi there!
I am hosting my website on a web-host which gives support for ASP.NET.
But I don't have a MS SQL2005 resource in that account....
I have a MS SQL DB hosted on another server. Can I somehow get data from this MS SQL server......
Thank you.
|
|
|
|
|
Just point your connection string to the server on the network. People do this all the time.
I wrote an article about setting up asp.net on .net 2.0 to point to different sql servers in different environments.
http://www.codeproject.com/useritems/SingleWebConfigFile.asp[^]
Anyway, you can see some examples of connection strings there.
Hope that helps.
Ben
|
|
|
|
|
suppose if u r using forms authentication
u entered username and password and redirect to some page resources.aspx .if another user saw ur present webform address and enter ur http://...../..../resources.aspx.
Will he able to acess ur site in particular address page?if he acess how do u restrict him to do not enter?
where do u write the code?and wat is the code?
anandraaz
|
|
|
|
|
|
I am working on just a test right now, but does anyone know if it is possible to use session variables from an aspx page to pass information to an asp .net web servie sitting in the same web app?
the idea is to make the user authenticate to a website, then allow them to use a smartclient that requires web authentication for the service to function.
______________________
Mr Griffin, eleventy billion is not a number...
|
|
|
|
|
Very well you can use Session object in webservice that has been passed by a web application.
M-o-h-a-n
|
|
|
|
|
I have a user control embedded into a multiview on a page. The page works like a kind of step by step configuration process. Anyway the user control has a datalist within it and that is bound directly to an sqldatasource control. This control has a session paramter hard coded to it.
The user control loads fine and the session variable (set in previous view of multiview) is accepted and finds values. The Values are shown. If you go back in the process of the configuration you can reselect and alter the session value to one that doesn't find results. If you do this and then return and set it back to the original value that did find a value it fails to show the same results as before. I'm guessing the problem is that some part of the sqldatasource is not running because it has no values. Or the datalist is doing this.
I have tried using findcontrol to search the user control for both the datalist and the sql datasource and then performing their databind methods but this fails to get the values back. I know the session value is working and gets set correctly because I have it displayed in the page.
Any ideas?
THANKS
|
|
|
|