473,698 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to add columns of table dynamically to crystal report using c#?

16 New Member
Dear All

How we can assign column of table to Crystal report using sql query.

Means sq l query is varying w.r.t purpose.

Ex: Some times select * from table or

Some times select column1,column2 from table. Like that

Have you any solution let me know.
Oct 22 '10 #1
0 1650

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1326
by: Peter | last post by:
How to populate text hello into a Crystal Report using C#. Any help. Thanks.
0
1386
by: Pierre | last post by:
Hi, Can anyone tell me how I can populate a Crystal Report, using a DataTable in C#? Regards, Pierre
1
2424
by: Paul | last post by:
Not sure if I am posting this to the correct group but I have a .NET web application and have a datagrid that is filled with a dataset. The data comes from a stored procedure that returns several records from a database that is called from the web application. I want the application to create a crystal report using the data source that is used for the data grid, from the same dataset, or the output of the stored procedure. Just wondering...
0
1145
by: Vikramaditya Singh | last post by:
i have made a crystal repoirt using field defination methos (.ttx). Now i am passing a dataset to it at runtime but no records is beiing displayes this is the code i am using to creating dataset and passing it to report Dim dset As New System.Data.DataSet() Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
1
12827
by: GatorBait | last post by:
Hi all, I have a VB.NET application that uses SQL server and Crystal. Basically what I am trying to do is have a report in which the user can select which fields will appear on the report. I have everything set up correctly and working in a small sample project. I attempted to incorporate it into my main project but I'm running into a problem because the report has no table attached to it because the table I use
2
6475
by: Hellotalktome13 | last post by:
Using a simple ASP.net page with a crystal report on it. Loading from IIS using Integrated Secruity in the reports connection string it populates the report in the browser. What User ID and password is Crystal Report using to get permission to access the database? I created a simple ASP.net page with a data grid using integrated security. It gives an error that it's not a trusted user.
0
1877
by: amiga500 | last post by:
Hello, I am developing a crystal report called Expense Report (I am not an expert Crystal Report designer) if someone could help me in this problem I would be greatly appreciate it. The report would be as follows: Description Sun Mon
0
1119
by: balurajeev | last post by:
Hi friends , I want to create a Crystal report in C# using Parameterised Storred Procedure This is my Stored Procedure ALTER proc . ( @fname varchar(50), @lname varchar(50),
0
1645
by: SLauren | last post by:
Hi, I am new to crystal report. Can anyone please suggest how can i generate a crystal report using dataset without a report object? I have a crystal report (.rpt) with a mapped dataset. How can i populate data within it without a report object? Thanks in advance.... Regards, Lauren
1
3990
by: codemaster1 | last post by:
How to show data from two different table on the same page of crystal report using C#.NET
0
8683
marktang
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...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
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...
1
8904
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
tracyyun
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...
1
6531
isladogs
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...
0
5867
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.