Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > URGENT... Need help with .cs file...

Reply
Thread Tools

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

 
 
CiPh3rT3kSt
Guest
Posts: n/a
 
      04-03-2008
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+
 
Reply With Quote
 
 
 
 
Norman Yuan
Guest
Posts: n/a
 
      04-03-2008
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-...
>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+


 
Reply With Quote
 
 
 
 
CiPh3rT3kSt
Guest
Posts: n/a
 
      04-03-2008
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-...
> >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+

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Help, I am intermediate in Java...need help in follow case ElementX Java 9 10-01-2008 08:02 PM
Help Help. I really need some help with this =?Utf-8?B?Q2hyaXM=?= ASP .Net 3 01-31-2007 09:33 PM
re_---need help Network Adapters!!!! NEED HELP!!!! hedayatniac@gmail.com Computer Support 4 08-13-2006 01:03 AM
Need help! I need to add lead zeros to a textbox Teep ASP .Net 2 06-21-2004 01:04 PM
Please help!!! Need datagrid selection to fill textboxes...Need quick!! TN Bella ASP .Net 1 06-18-2004 01:31 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57