|
-
Aug 17th, 2003, 07:12 AM
#1
Thread Starter
Fanatic Member
A few questions....
Having recently invested in ASP.Net \ C# I have a few questions which I am sure will be no-brainers to anyone who has worked with the product for a while but which aren't immediately obvious to me from the documentation...
1) Is there any equivalent of the With ... End With construct in C#?
2) What is the best way of dealing with functions used in different pages? In Classic ASP I used an include file containing all these helper functions so all I needed to do was include the file and call SomeFunction directly.
In C# is there any better way than making all my Functions members of a CommonFunctions class, creating an instance at page level with
private CommonFunctions CF = new CommonFunctions();
and then calling CF.SomeFunction()
3) In ADO.Net is there any way to get the RecordCount from an OleDbDataReader or DataSet without having to loop through it?
4) Fairly frequently immediately after rebuilding a project I get an "access denied" error when viewing it in a browser. The only solution I have found to this thus far is rebooting my computer is there an easier way (I have tried just restarting IIS to no avail)?
Cheers,
Martin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|