Try
0[0-9]{1,3}-[0-9]{5,7}
Which is based on
http://www.zytrax.com/tech/web/regex.htm
In the section titled "Iteration 'metacharacters'"
Firefox has a nice addon called "Regular expressions tester" which is handy for getting regexs :-)
Is it possible (and if so how) to connect and write data to a SQL server DB on a PC behind a firewall from a site on the internet in VB.Net?
I know how to connect to a DB that is externally linked to the net, say from my site to the PC at 152.541.55.97, but can I get to a PC on the internal...
And strangely I *did* google this first for quite a while, that's why I said "I think I've got the gist of what metadata is"
I couldn't find the answer to the question or make any headway to answering it via google, that's why I asked it here.
The link you [i]helpfully[i] provided was the...
They're members are part of the class Membership
The text of this class is held at the following location
c:\users\me\appdata\Local\Temp\3152$System.Web.dll$v2.0.50727\System.Web.Security.MembershipUser.cs
Trimmed down as it's huge it looks a bit like this
using System;
namespace...
I've been given a c# project to look after while the guy is on honeymoon for a month so I can't ask him this :-(. In the project in the App_Code folder is a file called helper.cs. In it are lines like this
MembershipUser user = Membership.GetUser(Username)
When I go to definition on...
I think I'm misunderstanding the masterpage/page relationship
according to
http://www.odetocode.com/articles/450.aspx
"we shouldn’t treat master pages as the "masters", but as just another control inside the page" which ties in to the problem I've having :-(
So I think I can't do what I'm...
A moment of madness/inspiration had me renaming the class
public partial class MasterPages_mymasterpage : System.Web.UI.MasterPage
public partial class abc : System.Web.UI.MasterPage
This popped up a little box saying
"Options to update references"
Clicking "Rename 'MasterPages_mymasterpage'...
At the moment I'm trying either. In the end I want it in the user control but as that wasn't working I decided to try it in the page following an example I found on the net. That's pretty much what I've got now and that's the same code that is in the other examples I found.
When copy/pasting...
I should, but for some reason it doesn't have xyz after "this.master." [surprise]
I think it might have something to do with the masterpage being built/compiled incorrectly as it works sometimes and "((MasterPages_mymasterpage)this.Master).xyz" is error free but at the moment, it says it...
This is my master page
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class MasterPages_mymasterpage : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{...
This is my master page
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class MasterPages_mymasterpage : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{...
I developed the exciting control using "<%@Register Src" and got that working (so I knew I wasn't totally spannering it up :P), now I want to be able to compile the control into a DLL and use it that way using "<%@Register Assembly" the way we access the 3rd party controls we use like this...
Underneath, sorry, cut-n-paste joy
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="hello.ascx.vb" Inherits="GControlNS.hello" ClassName="hello"%>
Hello World
It's just a custom control that I want to compile into a DLL as opposed to putting into the project as a .ascx file. Which I've managed to do :-)
We use a few at work and I've replicated the way they're incorporated into the code (or so I thought) but while the user control project compiles...
'm trying to create a compiled user control I can use
I've not got any useful code in at the moment it should just show "hello world"
This is hello.ascx page's code
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="hello.ascx.vb" Inherits="GControlNS.hello" ClassName="hello"%>...
I'm trying to create a compiled user control I can use
I've not got any useful code in at the moment it should just show "hello world"
This is hello.ascx page's code
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="hello.ascx.vb" Inherits="GControlNS.hello" ClassName="hello"%>...
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.