URGENT... Need help with .cs file...

C

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!
 
N

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....
 
C

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 said:
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....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top