| Author |
Message |
AnalogKid
Butt Sniffer


Joined: 26 Aug 2004 Posts: 1617
|
Posted:
Fri Sep 21, 2007 12:46 pm Post subject: Visual Studio 2005 with built in crystal reports |
|
Does anyone here have experience using these? |
_________________ "It's just like the story of the grasshopper and the octopus: all year long the grasshopper kept burrying acorns for winter, while the octopus mooched off his girlfriend and watched TV, but then the winter came, and the grasshopper died, and the octopus ate all his acorns - and also he got a race car! Is any of this getting through to you?" -FRY
|
|
|
|
|
EdisonRex
Guide Dog


Joined: 06 May 2002 Posts: 9992
Location: Not Moscow
|
Posted:
Fri Sep 21, 2007 2:00 pm Post subject: |
|
yes. |
_________________ Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.
|
|
|
|
|
ThunderDawg
Alpha Dog


Joined: 14 Apr 2002 Posts: 16463
Location: In a Godda da Vita, Honey
|
Posted:
Fri Sep 21, 2007 4:26 pm Post subject: |
|
I would imagine that's good to know |
|
|
|
|
|
|
AnalogKid
Butt Sniffer


Joined: 26 Aug 2004 Posts: 1617
|
Posted:
Fri Sep 21, 2007 5:37 pm Post subject: |
|
Ok, well I'll have a question for you on Monday. My policy is not to put one ounce of effort into work over the weekends |
_________________ "It's just like the story of the grasshopper and the octopus: all year long the grasshopper kept burrying acorns for winter, while the octopus mooched off his girlfriend and watched TV, but then the winter came, and the grasshopper died, and the octopus ate all his acorns - and also he got a race car! Is any of this getting through to you?" -FRY
|
|
|
|
|
Skookum
Butt Sniffer


Joined: 26 Oct 2001 Posts: 1535
Location: I dunno, I lost my Mommy
|
Posted:
Sat Sep 22, 2007 7:48 pm Post subject: |
|
Sadly enough I have experience too.
craxdrt.dll is your friend. |
_________________ "Paranoia is no longer a mental illness it is a way of life" - Me
|
|
|
|
|
Webster
Guide Dog


Joined: 16 Feb 2002 Age: 28 Posts: 8690
Location: Vacationland
|
Posted:
Mon Sep 24, 2007 5:42 am Post subject: |
|
|
|
|
|
Alphi
Big Dog


Joined: 05 Apr 2002 Age: 36 Posts: 3022
Location: Grand Rapids, MI USA
|
Posted:
Mon Sep 24, 2007 6:07 am Post subject: |
|
Skookum wrote:Sadly enough I have experience too.
craxdrt.dll is your friend.
Friend... Enemy... Same difference, I guess...
(Yup, some Crystal Reports & .NET experience here too) |
_________________ They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
- Benjamin Franklin
Prosper.com - P2P lending
|
|
|
|
|
AnalogKid
Butt Sniffer


Joined: 26 Aug 2004 Posts: 1617
|
Posted:
Mon Sep 24, 2007 6:43 am Post subject: |
|
Forgive me if I don't explain this well.
I am working on a .net 2.0 web app using VS 2005.
We designed this using a data access layer (just a directory with many files... all of the methods for connecting to the DB)
In my project, I added a CR file. Next I went to the "database expert". Under .NET Objects shows all of my cs files in the data layer that I want. So I find the one I want and add it to the right side of the wizard and click ok.
Well now I guess I'm supposed to get a choice of fields I want to add to the report...I assume. I'm not exactly sure where this "list" would come from since it's not reading what is returned from my stored procedure.
In the particular file (method) I added has only one call to the DB
public DataSet GetData(string identity, int myID
{
WindowsIdentity wi = this.GetIdentity(identity);
SqlConnection cxn = new SqlConnection(this.ConnectionString);
SqlCommand cmd = new SqlCommand("pGET_GetData", cxn);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@myID", myID);
DataSet set = new DataSet("GetData");
SqlDataAdapter da = new SqlDataAdapter(cmd);
.
.
.
.
etc
}
I've never used CR before so I'm just going off what I know.
How the hell do I simply add a field to this report that would be populated by my stored proc? |
_________________ "It's just like the story of the grasshopper and the octopus: all year long the grasshopper kept burrying acorns for winter, while the octopus mooched off his girlfriend and watched TV, but then the winter came, and the grasshopper died, and the octopus ate all his acorns - and also he got a race car! Is any of this getting through to you?" -FRY
|
|
|
|
|
|
|