Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CiPh3rT3kSt - 03 Apr 2008 05:51 GMT
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!
Signature

CiPh3rT3kSt
MCSE: Security 2003, CCNA, Security+

Norman Yuan - 03 Apr 2008 15:11 GMT
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....

>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
[quoted text clipped - 12 lines]
>
> Any help will be greatly appreciated!
CiPh3rT3kSt - 03 Apr 2008 17:15 GMT
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!
Signature

CiPh3rT3kSt
MCSE: Security 2003, CCNA, Security+

> What IDE do you use to write your C# code? VisualStudio, or NotePad? What
> you are forgetting is to do a simple debugging run.
[quoted text clipped - 23 lines]
> >
> > Any help will be greatly appreciated!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.