|
by: Patty O'Dors |
last post by:
Hi
Can somebody please tell me what namespaces are actually for?
I notice that when I start a new project in C#, it puts everything in a
namespace of the same name as the project.
I found them a bit annoying as when I save a class's .cs file to my 'generic
code' folder, and then put it in another project, I have to manually go and
change the namespace name. This I find a bit of a PITA.
I used VB.NET for a bit and found it didn't have...
|
by: Chris Welch |
last post by:
I'm developing my company's new site in Visual Studio 2005 (Beta 2) and
I'm wondering if anyone knows if there is a way to set the default
namespace of the Web project. I can't find it in the Web Properties, or
in the Web.Config.
Also, I'm trying to access static/shared methods in Page1.aspx from
Page2.aspx, however Visual Studio doesn't seem to catch on that the
class Page1 even exists. Anyone have any ideas?
Thanks,
|
by: dbuchanan |
last post by:
Hello,
How to I update a table or tableAdapter in my dataset1.xsd after I have
added new columns to the underlying table?
I refreshed the datasource in server explorer - it worked there but had
no effect on my dataset.
I tried to refreshed the dataset in Data Sources window - nothing
happened - the new columns do not show.
|
by: abunet |
last post by:
I have a very large web project converted from ASP 1.1 to 2.0
I my App_Code folder have two subfolders: Orders and Customers (in the real
environment I have more folders)
inside each folder there are several classes (.cs) define in two different
namespaces:
All the classes in the Orders folder have a namespace called MyProject.Orders
All the classes in the Customers folder have a namespace called
yProject.Customers
The question is:
|
by: jason |
last post by:
Please pardon my completely lack of understanding on the topic.
I have a website I developed with another developer. We are both far
from experts in VB.NET and OOP. We developed the site WITHOUT VS.NET,
compiling vb.net code into a common dll in the bin directory off the
root of the website. That one vb code creates a namespace we import in
all of our ASP.NET code. Compiling was done fromt he command line use
vbc.exec.
The site works...
|
|
by: Dave |
last post by:
If Iwant to check if dataset1.SelectQuery1.column1 ==
System.DBNull.Value. How do I do this? What I wrote above will give an error.
--
L. A. Jones
|
by: Steven Prasil |
last post by:
When I start my VisualStudio 2005 it creates automatically new folders:
D:\work\Visual Studio 2005
D:\work\Visual Studio 2005\Projects
D:\work\Visual Studio 2005\Templates
Yes, in VS menu
tools -options -Projects and Solutions
|
by: =?Utf-8?B?TUNN?= |
last post by:
What is the difference between importing a namespace at the:
1. Project level
2. web.config level
3. Page level
What are the requirements/benefits of each?
If I import a namespace such as System.Collections at the Project level and
the user calls a page that does not use that namespace, is that wasting
|
by: jonbartlam |
last post by:
Hi There
I'm not sure what exactly is going wrong here. I'm writing an application that retreives a table from a database (tbl_internalfaults) and updates it. (Actually, just the status column will need updating with 'CLOSED' where necessary.)
I have been trying to use the OLEDB command builder to build the statement to update the database however it is returning an error whenever I try to do this.
I already have a dataset full of data, 1...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|