I figured out that when you add new pattern, assign it to the <none> partition and any route list, it will be blocked in entire system for each gateway.
Hello.
I want to block access to specific patterns for concrete directory number. For instance, lets say user X located on dn 222 is dialing number 12345 every day and talks for hours. I want to block 12345 from his phone only.
What I do now is create new partition ptForbiden, create 12345...
Well, I solved this problem by using System.Reflection.
This is spawning constructor:
Type[] types = new Type[1] { typeof(DataRow) };
Type t = typeof(T);
ConstructorInfo ci = t.GetConstructor( types );
return ci.Invoke( new Object[] { Table.Rows[ position ] } );
I disagree. Bunch of overloads was never good enough for me. I prefer to have optional parameters, for the sake of simplicity.
U could use params Object[] thingie for similar effect.
I tried to use first code in C# but compailer stated errors
Optional parameters (OP) don't function that way...
Hello.
I have number of different classes, C1 ... Cn impelemnting some objects I store in database.
For each class I have associated class BookOfClass that implements IEnumerable and walks over collection of all objects of that particular class.
I want to convert number of BookOfClass classes...
I am not sure that t will be copied. I did this test:
class Test :IDisposable
{
public int x;
public Test(int x){ this.x = x ;}
public void Dispose() { this.x = 0; }
}
Test t2;
using (Test t1 = new Test(1))...
Just to clarify things more about why do I want base constructor after current one.
My base class is abstract it defines some abstract properties and some non abstract methods that use those properties. Constructor calls some of those methods which expect properties to be set up. But base...
Hello Canelas and thx for answering.
1. base() is constructor of the base class, I didn't write completely
class MyClass : BaseClass
{
public MyClass()
{
// some code here
base();
}
}
Currently, the only method to rise the constructor is:
public MyClass() ...
Hello
I have two questions.
1. Is it possible to call base constructor in the body of the current constructor?
I want code like this:
class MyClass
{
public MyClass()
{
// some code here
base();
}
}
2. I don't understand this code. I have an object that returns...
Hmhm... now it works, but yesterday it didn't.
I know what you think now, but its not that. I checked all things in question at least 20 times.
It seems that something is returning options back or change them. Do you have any similar experience ?
For instance, today, I set up only Win auth...
2SiriusBlackOp 2jbenson001
Its all already like that - in both .config file and IIS web properties I have win auth enabled, digest auth desabled. New blank projects work OK, but this one I made in VS2003 and switched here can't debug.
I am constantly getting this message from VS when I try to debug (framework v2)
---------------------------
Microsoft Visual Studio
---------------------------
Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled. Please see Help...
Hello
I have 3 unrelated tables in the DataSet, tables X, H1, H2.
There is nothing like primary keys or relations in them. X have N records, while H1&H2 have only 1 record.
I wont to export this DataSet in the following format
<DataSetName>
<H1>
....
<H2>
...
I was informed there is so called Transient Field in Java
Transient fields are not important for serialisation.
Maybe there is equivalent in dotNet if writetoxml was done using serialisation....
This is the sample code I am using to create nes\ted xml.
static void Main(string[] args)
{
string myConString = "Initial Catalog=Northwind;Data Source=10.32.34.180;Integrated Security=SSPI;";
SqlConnection nwindConn = new SqlConnection(myConString);
SqlDataAdapter custDA = new...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.