|
Hi ben i use Response.OutputStream for display image on Page.
thanks for reply...
|
|
|
|
|
Are you trying to change the file format of the image, or why are you loading and saving the image?
If you just want to send the image to the browser, don't use any Image object, just send the bytes.
---
single minded; short sighted; long gone;
|
|
|
|
|
Well i try it too but dont work can please tell me how to send the byte??
thanks for your reply..
|
|
|
|
|
Use the Response.BinaryWrite method.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hello Everyone,
Can anybody create hypelink dynamically or run-time and providing differnt-different links
Example:-
I've four Names and they have four links respectively
and i want to display these within a table and also i'm creating the table dynamically
Thnx in advance
|
|
|
|
|
The Knowledge wrote: Can anybody create hypelink dynamically or run-time and providing differnt-different links
Not sure about everyone (anybody) but yes, moust of them can .
The Knowledge wrote: I've four Names and they have four links respectively
and i want to display these within a table and also i'm creating the table dynamically
provide with some more details, so that you can be helped.
|
|
|
|
|
Hello All,
I created my crystal report and saved it. Then
I created a new webpage and added Crystal report viewer and saved it.
In the code behind of the webpage when i tryed to add code i am unable to get the report name (automatically in the dropdown). If I write/typed the report name and tryed to run report it is showing an error message there.
"Compiler Error Message: CS0246: The type or namespace name 'CrystalReport1' could not be found (are you missing a using directive or an assembly reference?)"
Please let me know how to get the report name in the code behind automatically.
Regards,
Jagadeesh
|
|
|
|
|
Did you load the crystal server runtime on the web server? You need the crystal dlls for crystal reports to run.
Ben
|
|
|
|
|
Ben,
I couldn't get what you are saying. This is my first Crystal report. I am working in VS2005, using ASP.NET & C# for this Crystal Reports.
When i binded a simple report using CrystalReportViewer control (with out using any dataset), It worked fine. (There is no code in the codebehind except the CrystalReportViewer bind property) It showed the values correctly.
When I tryed the same with the dataset in the code behind i am unable to get the reportname in the snippet.
CrystalReport1 crReportDocument = new CrystalReport1(); --> i'm not getting this report name here.
I am following the following steps to generate Crystal Reports using the
Datasets.
1) Right clicked on my solution and selected add, New Item.
2) Added a dataset and created a query in the dataset. and saved this
dataset.
3) Added a Crystal Report Viewer to my webform.
4) Right clicked on my solution and selected add new Item Again and then
added a crystal report
5) In the crystal report wizard Selected crystal reports wizard and then
selected my report format...
6) Under the data menu I selected project data, then ADO.NET datasets. My
dataset showed up with its fields and you can make your selection as well
as created my crystal report.
7) The code behind ******(in the webform where I added Crystal Report
Viewer)*****
I tryed to write code but unable to get my report name (automatically in
the dropdown).
Is my step 3 correct? I am unable to understand why my crystal report name
is not showing up in my code behind. Please let know your thoughts.
Many Thanks,
Jagadeesh.J
|
|
|
|
|
How to change Datagrid Header Text through programming in C#.net.
and how to set colunm width and height. How to format date in datagrid column.
and I want to highlight row where cell fee value = 0;
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
there no property name HeaderText :P
and about columns widht n height use cellspacind and cellpadding
|
|
|
|
|
I think u want to set the header text of column. any ways here is the solution.
DataGrid.Column[Column Index].HeaderText = "ColumnName";
gv.Columns[1].HeaderStyle.Width=300; //this is in pixels.
and let me know what kind of formating do u want and the last one i can't understand u want to ask.
Regards, Arslan
|
|
|
|
|
You can set DataFormatString="{0:d}"
|
|
|
|
|
Hi friends,
How to create a dll file in asp.net2.0
|
|
|
|
|
you cannot create dll in asp.net.
Use the Class Libary option on opening new project.
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
Satips wrote: you cannot create dll in asp.net.
WHY ????
|
|
|
|
|
Because ASP.NET 2.0 is not a language. It's a framework for creating web pages.
|
|
|
|
|
The OP asked this same question earlier and was given the same answers again
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
As Dave said it is not a Language, it is a Framework for creating the Applications.
So we cannot create dll in asp.net.
Sorry for the delay in the answer, since it is a holiday, just now, i signed in to check so i am replying you now.
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
Class Library Project Template in VS?
|
|
|
|
|
kiranp2softech wrote: How to create a dll file in asp.net2.0
Use PublishWebsite option
|
|
|
|
|
If it isn't already migrate your asp.net site to a web application (at least that is where I have done it). Then File -> add -> new Project. Chose C# class library. Once that is added you can add it as a reference. This way you can put a bunch of your logic into a DLL and take advantage of its reuse.
Darroll
|
|
|
|
|
Depends on what you want to do:
- build a ddl for your web application --> use web application instead of web site (the dll will be built into /bin folder)
- add a ddl to your web application --> use web application and add class library
Happy Programming
Urs
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
I use vb.net and I have to show them a message box if the date is of different format.
I have used Instr function and getting the result locally using msgbox("errormessage"),how do I pop out a messaged box from Live server??
Thanks in advance
|
|
|
|
|
Message Box[^]
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|