|
Im Trying to copy from server to the same server. basically just copying the root directory to a sub-directory. But the sub directory has to be named after what a admin puts in the html form
|
|
|
|
|
Dear All,
I have implemented a crystal report on VS2003 and i have 2 problems,
First, i donno how to actvate a print button "it used to be there in VS2005" the second problem is that there is about 300 blank pixels on the left of the report so whe i use the standard print "from the explorer" the page is split into 2 pages (horizontally). U use landscape paper...
Any clues of how i can solve this?
Thanx in advance
Best Regards
3ala2
|
|
|
|
|
u can use following method to fix your all problems.
convert your ReportDocument to pdf file and show pdf file in browser.
and code's of this method:
<code>
System.IO.MemoryStream oStream;
oStream = (System.IO.MemoryStream)rptDoc.ExportToStream(
CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
Response.Clear();
Response.Buffer= true;
Response.ContentType = "application/pdf";
Response.BinaryWrite(oStream.ToArray());
Response.End();
</code>
We Can Do Anything, If We Want It
|
|
|
|
|
Hi!
Kindly tell me how i can show poling results in graphical representation on my web by using ASP.NET???
Plzz reply me soon
Advance Thanx
Bye
anbul
|
|
|
|
|
You need to build bitmaps on the server, then show them in your page. There are numerous commercial and free components for creating images of graphs.
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 )
|
|
|
|
|
hi!
tell me plz how i can get these components???
anbul
|
|
|
|
|
Dundas sells one. Google knows where the others are, I don't.
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 )
|
|
|
|
|
Hi,
I have developed a small web site in ASP.net 2.0.
I want to implement a RSS feed to the site so that I can display the updated news on the site.
Could you please guide me how can I implement the RSS in my website?
--
Ravi
|
|
|
|
|
All you have to do is to create a page that returns an xml document that follows some RSS standard. There are also libraries that you can use, whichever you find easiest.
Here you find some information, examples and links: Wikipedia: RSS[^].
---
single minded; short sighted; long gone;
|
|
|
|
|
Rss Feed is a simple XML file, Just look how the rss looks like, and write a class to create a Feed.
|
|
|
|
|
How to create a web application using MVC pattern approach?
gadix
|
|
|
|
|
|
thanks very much John
gadix
|
|
|
|
|
You are Most Welcome...
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
hi
can i prohibit the ctrl key function just like
ctrl+C - copy ,ctrl+P - print after running the application on web page? if yes then how ?
Thanks
bye
|
|
|
|
|
Yes you can do it try :
for ctrl + c :
for ctrl + p : no need javascript
@media print {
body { display:none }
}
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Thanks
it helped me greately. my problem is solved.
now tell me how to clock 'save as' option in application at run time?
Thanks
bye
|
|
|
|
|
hi
first of all thanks for helping me to lock the control keys function. it works greately. similarly i want to lock 'Save As' option in menu toolbar because whatever documents i am showing on web page that are most confidential so nobodies could not copy,delete,save,print that data. it is only for displaying purpose. i think i got my point. so pls. help me to lock save option.
once again thanks.
Thanks
bye
|
|
|
|
|
Hi,
I do not have much idea about to disable the save as option. You can go through google to find this problem.
According to me we can not disable the IE menu save as option but we can display the pages without menu bar and prevent the Right click option on the pages.
If you have any doubt after the finging with google then let me no.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Hello friends, I am uploading an asp.net site on a web server and I get the following error
The type or namespace name 'DBProcess' could not be found (are you missing a using directive or an assembly reference?)
Here 'DBProcess' is the class file containing all the database related operations. what could be cause of the problem and the solution for this?
|
|
|
|
|
Amit.Jagtap wrote: 'DBProcess' could not be found (are you missing a using directive or an assembly reference?)
required dll files should be made available in the bin folder and it's references should be added to the web project. Check whether the assembly(.dll file) "DBProcess" is there and also check whether the referene has been added. Then build the application in the Release Mode and upload...
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hello all,
sorry for my simle question, but i don't know a long text that is in my data base how i can insert it in my web page, with textbox orlable or gridview? i don't have problem with grid view but i do'nt know how i can connect to sql server from a lable or textbox.i search in google but i didn't gain any result maybe i didn't use true keywords.
please help me ,
thank you.
|
|
|
|
|
saba02 wrote: i do'nt know how i can connect to sql server from a lable or textbox
You connect to SQL Server with an SqlConnection object.
saba02 wrote: i don't have problem with grid view
Well, since you can't connect to a SQL Server with a grid view either but you think you did, I can only presume you are getting confused between the process of data binding and database connections.
Data binding isn't something I've got much time for because each time I've tried the results are message and difficult to change if I need to. It also seems to encourage poor design habits. That is why I stick to the robust method of using a 3-tier architecture with a separate presentation layer and DAL (Data abstraction layer)
SqlCommand cmd = new SqlCommand()
cmd.Connection = myConnection;
cmd.CommandText = "StoredProcedureName";
cmd.CommandType = CommandType.StoredProcedure;
string text = (string)cmd.ExecuteScalar();
myTextBox.Text = text;
|
|
|
|
|
thank you very much for your response.my problem solved with your guidance.
|
|
|
|
|
Hi all,
I am working on .NET for the past one year. I read some books for it but i am confused as to what controls should we use for maximum performance.There are always more than one way to implement a functionality,hence we should sought out the best way to implement a certain functionality.
for eg: We should use datasets rather than using datareaders...
We should use tables instead of divs....
Can any body provide some very useful tips on "How to design a high performance website"
|
|
|
|