URGENT... Need help with .cs file...
am 03.04.2008 06:51:00 von CiPh3rT3kSt
I am pretty good at SQL but am a newbie at programming c#...
I'm working on a web application with .ascx files that get the data from
..ascx.cs files which get the datasets from the .cs files. (I hope I have that
flow correct.)
My problem is that when I directly edit the .ascx.cs files to fill data in
the .ascx pages nothing shows as applied to the page. I have tried editing
the stored procedures behind the .ascx.cs files; also tried editing the .cs
files in the App_Code directory. I am running out of time for the addition I
am trying to add to the application. Is there something I am forgetting to do?
Any help will be greatly appreciated!
--
CiPh3rT3kSt
MCSE: Security 2003, CCNA, Security+
Re: URGENT... Need help with .cs file...
am 03.04.2008 16:11:32 von Norman Yuan
What IDE do you use to write your C# code? VisualStudio, or NotePad? What
you are forgetting is to do a simple debugging run.
It is very likely the data access code is in the *.cs file (a class file in
the same ASP.NET project, or in a seperate class library project?). So, find
the method( of the class) that execute the database query and returns the
dataset. Then, set break point and run the debuging. YOu should be able to
EASILY find out if the required data is retrieved. From that point on, you
would know where the problem would be: on the data retrieving side, or on
the data displaying side....
"CiPh3rT3kSt" wrote in message
news:C46D2828-E204-4978-82E5-1024ABE862C8@microsoft.com...
>I am pretty good at SQL but am a newbie at programming c#...
> I'm working on a web application with .ascx files that get the data from
> .ascx.cs files which get the datasets from the .cs files. (I hope I have
> that
> flow correct.)
>
> My problem is that when I directly edit the .ascx.cs files to fill data in
> the .ascx pages nothing shows as applied to the page. I have tried editing
> the stored procedures behind the .ascx.cs files; also tried editing the
> .cs
> files in the App_Code directory. I am running out of time for the addition
> I
> am trying to add to the application. Is there something I am forgetting to
> do?
>
> Any help will be greatly appreciated!
> --
> CiPh3rT3kSt
> MCSE: Security 2003, CCNA, Security+
Re: URGENT... Need help with .cs file...
am 03.04.2008 18:15:01 von CiPh3rT3kSt
I use Visual Studio, I have opened the .cs file and setup a breakpoint but
Start Debugging under the Debug menu is grayed out. Is there any other way to
find out where i'm going wrong?
By now i'm confused but I desperatly need to figure this out, any help will
be greatly appreciated.
Thanks!
--
CiPh3rT3kSt
MCSE: Security 2003, CCNA, Security+
"Norman Yuan" wrote:
> What IDE do you use to write your C# code? VisualStudio, or NotePad? What
> you are forgetting is to do a simple debugging run.
>
> It is very likely the data access code is in the *.cs file (a class file in
> the same ASP.NET project, or in a seperate class library project?). So, find
> the method( of the class) that execute the database query and returns the
> dataset. Then, set break point and run the debuging. YOu should be able to
> EASILY find out if the required data is retrieved. From that point on, you
> would know where the problem would be: on the data retrieving side, or on
> the data displaying side....
>
> "CiPh3rT3kSt" wrote in message
> news:C46D2828-E204-4978-82E5-1024ABE862C8@microsoft.com...
> >I am pretty good at SQL but am a newbie at programming c#...
> > I'm working on a web application with .ascx files that get the data from
> > .ascx.cs files which get the datasets from the .cs files. (I hope I have
> > that
> > flow correct.)
> >
> > My problem is that when I directly edit the .ascx.cs files to fill data in
> > the .ascx pages nothing shows as applied to the page. I have tried editing
> > the stored procedures behind the .ascx.cs files; also tried editing the
> > .cs
> > files in the App_Code directory. I am running out of time for the addition
> > I
> > am trying to add to the application. Is there something I am forgetting to
> > do?
> >
> > Any help will be greatly appreciated!
> > --
> > CiPh3rT3kSt
> > MCSE: Security 2003, CCNA, Security+
>
>