I am trying to display a crystal report in .aspx page. I created a
dataset for that but i wrote the query:
SELECT atm_amount,atm_ branch,atm_date ,balance
FROM ATM_Transaction s
WHERE user_id=Session["UserId"].ToCharArray()
But this query does not work....
I dont have much knowledge how to maintain sessions.
I want, that when the user opens the page, his userid will compared
with sessionid that 1=1
and after matching the report is displayed.
How can i achieve my goal and can someone teach me in simple steps
how to create a crystal report......... .?
I have been trying this shet for months.... 2 2216
Hi,
"weird0" <am********@gma il.comwrote in message
news:11******** *************@v 33g2000cwv.goog legroups.com...
I am trying to display a crystal report in .aspx page. I created a
dataset for that but i wrote the query:
SELECT atm_amount,atm_ branch,atm_date ,balance
FROM ATM_Transaction s
WHERE user_id=Session["UserId"].ToCharArray()
But this query does not work....
I bet it does not.
Why are you converting it to char array?
DO you have anything in session in the first place?
On Mar 9, 8:38 pm, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
laceupsolutions .comwrote:
Hi,
"weird0" <amiredi...@gma il.comwrote in message
news:11******** *************@v 33g2000cwv.goog legroups.com...
I am trying to display a crystal report in .aspx page. I created a
dataset for that but i wrote the query:
SELECT atm_amount,atm_ branch,atm_date ,balance
FROM ATM_Transaction s
WHERE user_id=Session["UserId"].ToCharArray()
But this query does not work....
I bet it does not.
Why are you converting it to char array?
DO you have anything in session in the first place?
A question for a question is not a good reply.......... .....
Session["UserId"].ToString() contains 1 so its filled up....
i am converting it to char array coz user_id field is of the data type
nchar(10)
so i can compare the two fields......... .
can u tell me an alternative way or the correct way of what i am
trying to achieve as you must have guessed........ .
my msn id is di********@hotm ail.com
need loads of help This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Stephan |
last post by:
Hi,
I'm using Visual Studio 2003 (C#) with the integrated
Crystal Report software and have the following question:
How can I assign a value (string) to an unbound (string)
field in Crystal Report at runtime?
Example:
private void button1_Click(object sender,
|
by: jandoca |
last post by:
Hi,
I am new to crystal reports and I have to build some reports and call them from an ASP page and display them. I am using Crystal Reports Developer 9.0 and the client has Professional 9.0. I have been doing research on it and I can't figure it out. I am used to using com objects and active reports to display reports like this. I just need a basic explanation of what it takes to get this done. I want the reports to show as HTML, and all...
|
by: kristoff plasun |
last post by:
I have a problem with a C++ DCOM application that
prints Crystal Reports with data from Oracle.
The SQL query is relatively complex but when
the report is printed from the Crystal Reports
designer it shows up very fast. When the report
is printed from my application it takes about
ten times as long to get the report to appear.
When printing straight from the Crystal Reports
|
by: Mark |
last post by:
Hello all -
I'm at wits end with trying to figure out why I'm having this problem since I followed the research, that I've dug up, to a "T". I'm trying to display a JPEG image from a path directory within a Crystal Report. I created a typed dataset that is not bound to the database called dsLogo and created one field within it that has a base64binary type for the image. Once I've incorporated the dataset into the report and dropped the...
|
by: LP |
last post by:
I am using (trying to) CR version XI, cascading parameters feature works it
asks user to enter params. But if page is resubmitted. It prompts for params
again. I did set ReuseParameterValuesOnRefresh="True" in a viewer, but it
still doesn't work. Did anyone run into this problem. What's the solution?
Please help.
Thank you
| |
by: VMI |
last post by:
I know this may not be the best NG for this, but I feel you guys know more
about this than any of the other NGs.
I need to build several simple reports (over 50 of them and they get their
data from sql server) and I was wondering whish of these is the better tool
.. We're still not sure if they'll be loaded from an existing VB6 application
or if I'll have to make a separate module for them (in .Net).
In general, which is the better tool?...
|
by: steen.bray |
last post by:
Hello,
I'm having an extremely weird problem with Crystal Reports and .NET
2005.
The process:
I have created a report launching aspx page that allows a user to
select one of 8 reports, fill out the specific parameter(s) to that
report, and launch another page that has a reportsource and
reportviewer control. This all works fine for 1 person, and works fine
|
by: Brock |
last post by:
I am trying to populate a Crystal Report from data in my DataGrid. The
reason for this is that I want the user to be able to change values
without updating the database, but still have their report reflect the
values they anticipate committing to see hypothetical totals of
columns from a set of records. These records are displaying properly
on my DataGrid but I'm not sure how to get Crystal Reports 10 to use
as its datasource the dataset...
|
by: Thefire |
last post by:
Hello All i am using Bisness object Crystal Report XI version and installed it on my server.
I have checked to installed as server. I am using the following code to connect and display the Report file i have created with store procedure in Sql Server 2005.
The code is as below::::
_______________________________________________________
1. SimplePreviewReport.asp
<%@ LANGUAGE="VBSCRIPT" %>
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |