|
you can save the file in your database then read from database
it is safer but slower
modified on Sunday, May 18, 2008 1:01 AM
|
|
|
|
|
I'm looking for a good analyze-tool for websites.
I have used the tools at sitening.com but they are starting to charge for it as of June 1st.
The kind of tool I'm looking for is something that analyzes a site and gives suggestions on how to improve the coding.
It doesn't have to be a free service but that's always nice
|
|
|
|
|
I have some crystal reports in my maintanance project.when ever we are editing anything inside the crystal report (Cry_variablepay.rpt),its automatically generating another crystal report file (Cry_variablepay1.rpt) in the project file itself. the application shows build error showing that "the namespace already contains a definition for Cry_variables" ......ie; the newly created crystal report file has the same namespace as the older one.
so i cant able to build the project wthout error...can anybdy suggest the reason and solution...
|
|
|
|
|
hi,
i want to get a string from 0th position to current cursor position in HTML Textbox using javascipt.
anybody know pls reply me....
Nothing is Impossible. Keep always Smiling...
|
|
|
|
|
Hi All,
I am working with sub reports using Crystal report.
In the sub report I want a page header and footer but it is having only the report header and footer.
Can anyone tell me how to include a page header and footer in sub reports.
Thanks a lot in advance.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
hai frnds
i m devloping a page in asp.net 2.0
in that page , i have a button - "Download Demo"
and the demo file is a vedio file
now my problem is , how to download that file...
when user clicks on "download demo" button , then he should be able to download the file.
plz help me
its very urgent
thankis in advance
vijay
|
|
|
|
|
I am astounded at the sort of questions people ask that show they have not bothered to do any sort of research themselves.
If you look for Response.BinaryWrite on the web, I guarentee you that you'll find the answer. If you want to force a download, you also need to set a filename and a contentType so that the browser downloads the file instead of trying to play it.
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 )
|
|
|
|
|
Hello....
How to upload a Project......?
|
|
|
|
|
FTP.
Why did you ask this again ?
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 )
|
|
|
|
|
Because. ...
U haven't Replying me...
So i am asking again in another way...
|
|
|
|
|
You are yet to ask a meaningful question, to be frank. Your question is so brief that it's hard to work out what your actual problem is, given how straight forward the answer is ( you use FTP to upload your site to a server ).
Either way, 'you' is 5 million members, so long as your question is visible, it's just rude to ask again.
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 everyone,
I am developing a website using asp.net with C#.
And I developed a toolbar using javascript like google and yahoo toolbar which is placed in the browser separately.
Toolbar has the toolbar id.
I need to capture the toolbar id and save into the mysql database during the page load.
So that, I put the javascript funcation called myFunc() in the Source file of the page to capture the toolbar id.
I need to save the toolbar id into the mysql database and so I applied the coding to insert the toolbarid into the database.
When I execute the coding, first of all, the page is loaded, then only the javascript is executed. Therefore, I am unable to get the toolbar id to the variable assigned in the page load.
Please help me regarding this.
How do I call the javascript function to the page load event.
Thanks in Advance,
J. Mohan.
J. Mohan
|
|
|
|
|
Hi,
Test this one:
Page.ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "jsFunctionName('Params');", true);
you can execute scripts on page load event using this way
|
|
|
|
|
Thanks for your reply,
You have represented "mykey". Should I represent the "mykey" in the javascript.
I placed your code. sorry, I doesn't work. Please guide me.
Thank You,
J. Mohan.
J. Mohan
|
|
|
|
|
RegisterStartupScript registers the startup script with the Page object using a type, a key, a script literal, and a Boolean value indicating whether to add script tags.
public void RegisterStartupScript(
Type type,
string key,
string script,
bool addScriptTags
)
Parameters
type
Type: System.Type
The type of the startup script to register.
key
Type: System.String
The key of the startup script to register.
script
Type: System.String
The startup script literal to register.
addScriptTags
Type: System.Boolean
A Boolean value indicating whether to add script tags.
So, I think you cant represent the "mykey" in the javascript but you can represent script lirtal and you can send your params using that.
|
|
|
|
|
The other answerer did not understand you, I do not think.
you need to buy a book ASP.NET book, you plainly do not understand how it works. Page_Load runs on the server. Then all events run on the server. Then Page_PreRender will run. Only after all these things occur, does script get sent to the client, where javascript code will run. You need to get your toolbar Id in C#, if you want to store it in your DB. OR if you are generating something purely on the client ( bizarre as that may be ), you can send it back to your page with AJAX. That would be really weird tho, you just need to realise no javascript code can hope to run, until all the codebehind C# code has finished running, and the javascript code has therefore been sent to the client, where it runs.
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 )
|
|
|
|
|
Thanks for your reply,
I am a beginner to Asp.net with c#. For all I know ,I took effort to find the solution for the problem mentioned here. I really don't know how to solve it. Therefore, I asked question to you.You expert may encourage the beginners.
J. Mohan.
J. Mohan
|
|
|
|
|
cant we call the fun on body tag ?
And Here it seems to be hurting when people ask to buy a asp.net book ... but its a fact that everyone needs a book it does not matter whether a expert or beginner
Happy Programming
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Nz([fieldname],0) not working
Select MAX(UploadID) as id from fshUploadedMaster
in above query if no record then returning null but I want to replace null by 0(zero) if returning null
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
select COALESCE(MAX(UploadID), 0) as id from fshUploadedMaster
In future please ask SQL questions in the SQL Forum.
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 )
|
|
|
|
|
ok
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Use a condition on your query for example like this:
IF (SELECT MAX(UploadID) AS id FROM fshUploadedMaster) is null
Select 0 as id
RETURN
|
|
|
|
|
I have a Search Engine Project . It is an intranet based application . I will have 30 servers , where i will search into the files for the particular keywords . Each server may have it's own server speed (server1 = 100 mbps , server2 = 150 mbbs ......and so on server30 = 10 mbps) . While searching to those servers which have low speed , can have the possibility to become inaccessible , in case of congestion , so how should I take into the search consideration in this case , should they be given low priority , as compared to servers having high speed . I mean , search will be done , but they will be prioritized in the order of their speed . There are few case that can take place, like , the speed is slow at the particular server , so should time slicing be done to search the keyword on all servers.(server 1 = 2 seconds , server 2 = 2 seconds ,..... and so on till 30 servers).if i found any server inaccessible or it is currently shut down , in that case after the completion of search on all servers , search will be made again on those servers , which were not available.this looping for search into the inaccessible server will be made 2-3 times.The most important thing is operatng system can be platform independent (it can be microsoft windows , unix , linux etc) . The file can be of any extention.
Now my question is , which aspects I need to concentrate on , while doing the programming .
The platform is ASP.net database is sql server.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Building a good index, and searching it accurately. The other main issue you have is making sure the servers work well together.
Not sure what you're asking, really......
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 )
|
|
|
|
|