|
hey guy don,t waste ur time this statement
company have many employees n working at different platform
if u want to do
first create a website then link the email to server site
u know when u register ur web email is free it goes automatically to the server side.
database never respond automatically it help form server administrative done this type of work ok
hope u understand
and tell which type of web u want to create i help u if u r interest i m a software engg work as a post of project developer in .net all components
ok byeeeeeee
hope u understand
lucky
|
|
|
|
|
I develop on XP Pro. I am setting up SSO (single site login). I want to debug my website and authenticate through the main server running on Win2k3. The main server has a domain full domain (www.sample.com). I can authentiate and redirect to my XP Pro site. However, when I check Request.IsAuthenticated it is false. I believe this is because my host header is localhost on my XP Pro box. I have tried setting my host file to be the same domain as the main server. The host file change has no effect. I have also tried setting the host header in IIS. The host header change causes an error "unable to start debugging on web server. the web server could not find the requested resource". I was wondering if someone has figured this out. If so, please let me know.
Thanks.
|
|
|
|
|
hi
i store some pdf file in a folder in my ASP.NET solution.
and now want to insert a link to a page that user click it , show pdf file
how can implement it ?
tanks .
|
|
|
|
|
Just link to the PDF, IE will display it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
tanks Christian Graus
it is very simple than i think.
but now have a question : i have installed acrobat reader in my computer and now that view a pdf in a browser show correctly.
how about in a machine that has not acrobat reader ? is it show correctly ?
|
|
|
|
|
Of course not. It will probably prompt the user to download the reader.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
hey don,t make a file in pdf because when user click on this file adobe acrobat must be install on their computer so make a file in ms-office it can be help to all users ok
byeeeeee
if any doubt mail me
lucky
|
|
|
|
|
I wrote a code to check for Browser version and to set the Stylesheet accordingly. Now if I leave the Stylesheets at the root the code works perfect and selects the right style, but if I create a folder like "CSS" and put the styles in there and redirect the link to this folder than it want recognize the styles anymore. Can anyone tell me why?
Here is my code:
Public Function getStyle() As String
Dim browser As Object = Request.Browser.Browser.ToLower.ToString()
Dim bc As HttpBrowserCapabilities = Request.Browser
Dim str As String = ""
Dim Style As String = ""
'check browser and set appropriate stylesheet
If browser = "ie" Then
'check for version of IE (6 or other)
If bc.MajorVersion = "6" Then
Response.Write("<link href='StyleSheetIE6.css' rel='stylesheet' type='text/css' />")
'Response.Write("<link href='CSS/StyleSheetIE6.css' rel='stylesheet' type='text/css' />") 'this line want work
Else
Response.Write("<link href='StyleSheet.css' rel='stylesheet' type='text/css' />")
'Response.Write("<link href='CSS/StyleSheet.css' rel='stylesheet' type='text/css' />") 'this line want work
End If
Else
Response.Write("<link href='StyleSheetFOX.css' rel='stylesheet' type='text/css' />")
'Response.Write("<link href='CSS/StyleSheetFOX.css' rel='stylesheet' type='text/css' />") 'this line want work
End If
Return Style
End Function
code in Html header:
<head runat="server">
<title>Untitled Page</title>
<% getStyle() %>
</head>
I appreciate any suggestion.
Thanks
|
|
|
|
|
Did you view the source on your rendered page to see where the link was pointing? If you are using a master page, try "~/CSS/StyleSheetFOX.css"
I didn't get any requirements for the signature
|
|
|
|
|
|
replace your command text with the name of the proc only ( EmpDept, from the look of it ) and add your ingoing parameter to the parameters collection.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks for quick response. I will give it a try...but what is wrong with specifying input variable like this. I used to do the same in asp.
|
|
|
|
|
This is not asp, this is a real framework. Your asp code just executed SQL, these classes are taking the proc name and attempting to run a proc named exactly what you typed in, with the parameters you provided. This allows the framework to do things like sanitise the input to protect from injection attacks.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Great!..Thanks for the explaining it in deatil. Now I understand.
Well, I tried the way you have suggested. I still get error .
I have defined parameters like
cmd.CommandText = "Employees.EmpDept"
cmd.CommandType = Data.CommandType.StoredProcedure
cmd.Parameters.Add("userid", OracleType.VarChar)
cmd.Parameters("userID").Direction = Data.ParameterDirection.Input
cmd.Parameters("userID").Value = sUserID
cmd.Parameters.Add("retVal", OracleType.Number)
cmd.Parameters("retVal").Direction = Data.ParameterDirection.ReturnValue
Now I get following error
ORA-06550: line 1, column 17:
PLS-00306: wrong number or types of arguments in call to 'EMPDEPT'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
I checked the definition of procedure, its like
CREATE OR REPLACE PACKAGE BODY EMPLOYEE IS
FUNCTION EMPDEPT(sID IN VARCHAR2) RETURN NUMBER IS
vDept NUMBER;
BEGIN
...select statement here ...
END EMPDEPT;
END;
/
Now, what I am missing here?
|
|
|
|
|
peacefulmember wrote: cmd.CommandText = "Employees.EmpDept"
Again, don't scope it, put EmpDept.
It's not a proc, it's a function ? Not sure if the syntax is the same then....
It does look like you're claiming your variable called userID, when it's in fact called sID.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yes, you answered it right.
I changed the variable from userID to sID, w/o changing the scope or syntax, it worked.
Thanks a lot for your help.
|
|
|
|
|
Hi all,
I have a number of text boxes that the user can fill in. I want to make sure that the user can only use the following characters:
.
+
-
_
(
)
A-Z
a-z
0-9
Unfortunately asp:validators are not working. (And I don't know why, as they used to work before importing the project from vs2003 to vs2005. Plus I don't know how to set this in the validators anyway...)
I'm guessing that regular expressions are the way to go in this case (using Regex.Match(inputString, Pattern), but I don't know how to make a working regular expression. (The patterns I've been trying have ended up crashing when I include a character such a # or ' at the end of the input string.)
So, any suggestions?
- Munty
|
|
|
|
|
Muntyness wrote: Plus I don't know how to set this in the validators anyway...)
How can you know they are not working, if you don't know how to use them ?
A validator validates AFTER text is entered, so you could use a regex validator, but your box will still accept other characters.
www.expresso.com[^], or search this site for Expresso, a tool for building regex. But, if you want to not allow those keypresses at all, you need to write javascript code that does that directly.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Because the validators I do know how to use are no longer working. So far I've tries two different types of validators that used to work under 2003.
This bit I don't know how to do via asp validators is limiting the accepted character sets.
Thanks for the Expresso comment. I'll try that out. (The link you point to leads to a parked domain, but I was able to find it here)
- Munty
|
|
|
|
|
Can u please giv me the code related to validations of a control in ASP.Net 2.0
Priya
|
|
|
|
|
hey baby r u new in .net there are already validators in asp.net dont write any query. go to validation controls or data validator n drag n drop it will work of
byeeeeeeee
lucky
|
|
|
|
|
Man, I have a GOOD question for the brilliant minds out here on CodeProject.
I have been tasked with cleaning up a single ASP.NET web application that has been broken out into 5 different and smaller web apps.
One of the projects, a "Class Library" project if you will, has a set of common DLLs that are used by all 4 of the other new smaller web applications. These "Class Libraries" are frequently updated as they contain the business logic for EACH of the 4 smaller web applications and they contain the data logic for the same.
NOW, for the hard part....
1) I need to keep the DLLs in the "Class Library" in sync ( 1 version shared by all web apps)
2) I CANNOT load them into the GAC (changed too frequently and company policy prohibits hit (NOT MY POLICY ))
3) I am attempting to make this easier to maintain these DLLs instead of having to deploy them to all 4 web apps' bin directories when something in changed.
4) I cannot break up the "Class Library" and move the business/data logic to the application that uses it. As much as that would be the RIGHT thing to do, you know how it is with big companies.
Can ANYONE tell me an intelligent way to accomplish this seemingly impossible task? I am pulling out all of the grey hair that this industry has caused me trying to come up with a viable solution to this problem!!
Thanks in advance!
JamminJimE
Microsoft Certified Application Developer
Why are we still calling it Common Sense when it's just not that common?
|
|
|
|
|
I think I'd add a post build task that copies the dll to all four directories after a build.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Unfortunately, I don't have that luxury either. The code is compiled on my local machine. It is then deployed to the DEV server. I have ZERO control over the DEV server and they will NOT grant any permissions other than for me to copy files out there.
I contemplated a small "FileWatcher" service that, once the files changed in the BIN of the "Class Library" folder, to copy them out to the bins. I can't even put a service on the DEV box!
JamminJimE
Microsoft Certified Application Developer
Why are we still calling it Common Sense when it's just not that common?
|
|
|
|