W
Wayne M J
1) I have half sorted out the IP Address reg-ex:
\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}
That works perfectly well, but I need narrow down the options. Can anyone
offer a suggestion on how to implement limitation? This is not real
critical, as I already test for the limitations in the code as it is.
2) Using the Application variable I have been able to hold object in the
past, but when I attempt to add a designed DataTable I can never access it
again.
In the Global.asax:
....//DataTable column design
Application.Add("DataTable", dt);
....
When I attempt to access it to add a row elsewhere in the code:
dr = (DataTable)(Application["DataTable"]).NewRow;
The above always return "NewRow not a Method"; as far as I knew that is how
I was meant to access the object.
\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}
That works perfectly well, but I need narrow down the options. Can anyone
offer a suggestion on how to implement limitation? This is not real
critical, as I already test for the limitations in the code as it is.
2) Using the Application variable I have been able to hold object in the
past, but when I attempt to add a designed DataTable I can never access it
again.
In the Global.asax:
....//DataTable column design
Application.Add("DataTable", dt);
....
When I attempt to access it to add a row elsewhere in the code:
dr = (DataTable)(Application["DataTable"]).NewRow;
The above always return "NewRow not a Method"; as far as I knew that is how
I was meant to access the object.