|
try to find the files from the physical location.
Best Regards
-----------------
Abhijit Jana
"Success is Journey it's not a destination"
|
|
|
|
|
Is
DirectoryInfo drc = new DirectoryInfo(@"C:\IIS\SiteHere\banners");
not possible?
-= Reelix =-
|
|
|
|
|
Hi Everyone,
I'm running into a major problem with the combobox created by bestcomy. I also posted a comment on that article but its also very urgent so I thought I would try here as well. I recently had to re-install VS studio 2002 on my laptop and the code that I had to run the combobox created by bestcomy is no longer working. I'm getting this error:
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Method LoadPostData in type Bestcomy.Web.UI.WebControls.ComboBox from assembly LoadPostData does not have an implementation.
Source Error:
Line 187: <td class="heading" width=135px>Central Office:</td>
Line 188: <td width=220px>
Line 189: <bestcomy:ComboBox id="ddlCO" runat="server" Width="120px" AutoPostBack="true" ></bestcomy:ComboBox>
Line 190: </td>
Line 191: <td>
Has anyone seen anything like this before? Any help would be greatly appreciated. thanks!
|
|
|
|
|
|
I did. I mentioned in my message that its posted there but no one is responding.
|
|
|
|
|
This is still frowned upon. Also, please read the forum guidelines--messages with 'urgent' tend to get avoided.
|
|
|
|
|
Hi all,
I have a span server control (runat = server), the content of the control are set initialy to "1:00" which means 1 minute.
I have a javascript that counts down every second and writes the time in the span control, so it writes:
"0:59"
"0:58"
.
.
.
"0:00"
when the time reaches 0:00, I do an automatic postback of the page, but when I read the contents of the span.innerText it reads "1:00", which means that the changes to the "innerText" done by javascript wasn't preserved.
what's the problem? and what's the solution?
Thanks
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
Why does it matter, if you know it will be 0:00. Oh, you want to know how long the page was viewed, if a postback is done by the user ? Well, you can't trust anyting you send the client, your check should involve a DateTime.NOw stored in session the last time the page was sent down.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Well, my program is more complicated than was described by the program so I need to read the time from the span.
But really having a DataTime in the session will solve the whole problem
Thanks
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
I have a very simple javascript requirement that is proving to be problematic. here is the code:
function CleanDate(id)<br />
{<br />
var h = document.getElementById(id).value;<br />
h = h.replace( document.getElementById(id).value = h;<br />
}
seems simple enough, as you can see i want to replace / with -. the problem is, in order to set / as the initial character, it comments out the rest of the line.
even trying to escape it with \/ still comments everything after it. trying to use a vriable doesnt work, because using say t as a variable, with the value of "/", the replace sees t as a string literal rather than a variable. any suggestions?
because of the requirements of the web app, i have to have a mm-dd-yyyy date format.
______________________
Mr Griffin, eleventy billion is not a number...
|
|
|
|
|
okay, apparently even though vs2008 has a problem with this:
function CleanDate(id)<br />
{<br />
var h = document.getElementById(id).value;<br />
h = h.replace(/\
<br />
document.getElementById(id).value = h;<br />
}
IE and firefox do not
______________________
Mr Griffin, eleventy billion is not a number...
|
|
|
|
|
I have an aspx page divided into different frames(header frame, footer frame, middle left frame, middle frame), each frame contains an aspx page. my header frame contains a search button , when I search I am getting the results in the same frame, but I want to have the results in middle frame. I have given Response.Redirect(_hlpr.HandleRootOperator("~/FullScreen/fs_navigation.aspx") + "?do=srch&pd=" + this.State.PubId + "&text=" + tbSearch.Text); but its displaying the results in the same frame.
Any help please.
|
|
|
|
|
gottimukkala wrote: Response.Redirect
This serverside command does not have any control over Frames which is a HTML entity. You need to have a JavaScript to control this redirection. You might try emitting out a Response.Write with window.frames[2].location.href or a similar trick.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hello experts.
I'm trying to sign an xml message by encrypting one it's tags.
Below you can find the XML node that needs be encrypted and I pasted the technical specifications of the required encryption:
<PmtNotifyRs>
<PrcDt>2008-03-11T16:26:34</PrcDt>
</PmtNotifyRs>
Below are the specifications of the encryption technique:
" The provider uses digital signatures for data integrity, authenticity, and non-repudiation in all sensitive communications.
" The digital signatures are based on the X.509 digital certificate standard.
" The Digital certificate to be used for Signatures is the same certificate that is used for SSL.
" Digital signatures should be generated using the RSA-SHA1 algorithms. The digital signature of a signed message is embedded within the message. Some (or all) the fields within the message may be used when generating the signature.
" The applicable messages must be signed with the use of the own private keys. The receiver will use the sender's public keys to verify these messages. To send a signed message, the sender generates a SHA1 digest and signs it with RSA. The signature is then embedded within the message body.
" De-tached signature mode should be used.
" Base-64 encoding should be applied to convert the signature to ASCII value.
" Sign the data including the tag. (For example: Payment Advice, include the tags <PmtNotifyRs> and </PmtNotifyRs> as part of the data to be signed.)
" The digital signature is stored in PKCS#7 format. PKCS#7 format also stores the signer certificate and certificate chain of certificate authorities that signed the signer certificate. For the signed messages, certificate verification is also taking place during signature verification.
" The <Signature> tag represents the location for storing receiver's Signatures. Each Signature aggregate uses XPath to represent the part of the message which must be signed
|
|
|
|
|
|
I had following two tables
Emp Table
EmpId Ename Sal Deptno
101 A 10000.00 10
102 B 20000.00 20
103 C 25000.00 30
104 D 30000.00 20
105 E 40000.00 10
Dept Table
Deptno Dname Loc
10 Marketing Hyderabad
20 Sales Mumbai
30 Purchase Delhi
40 Computers Banglore
50 Physics Chennai
I want to display deptno,dname not in the emp table
the following output from both the tables by using Joins
(Note: without use subquerys )
Deptno Dname
40 Banglore
50 Chennai
|
|
|
|
|
This is not the SQL forum
I don't see how the first table defines which items you want from the second ?
Oh, you want to seleect where deptno not in (select distinct deptno from Emp) ? I don't see how else to do that.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i am not able to connect to a MySQL database.
i am using this connectionstring "Driver={MySQL};SERVER=myserver; DATABASE=newdatabase;USER=root;PASSWORD=nvish;option=3;"
is there anything special i need to get installed i.e. any connecter / driver or need to include any namespace ?
Ashish Sehajpal
|
|
|
|
|
|
Any specific error message? Do you have the MySQL ODBC drivers in your system installed?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi,
I am using application and that will be access using
www.abc.com
With the Register.aspx form I am creating directory on the server say user1
Now other site is called www.xyz.com I am using same application that is used in www.abc.com but when I registered on abc.com using Register.aspx I have to create same directory on xyz.com server which is(user1) created on abc.com server.
How can I do?
Thanks
|
|
|
|
|
You can have an ASPX page on the other website to which you can send a request through XmlHttp or a WebRequest to complete this action.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
i want to find out difference between two times as 8:00am and 12:00pm
|
|
|
|
|
Subract one datetime from another and you will get a timespan
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I want to make a Horizontal Menu control
should list only 5 menus in a row .
Means if menu Items are 10 then it should list in following manner
Menu1 | Menu2 |Menu3| Menu4 | Menu5
Menu6 | Menu7 |Menu8| Menu9 | Menu10
Please Help
Thanks
Kaushal Kishore
|
|
|
|