User Profile
Collapse
-
Go the web service route. -
You'll probably want to associate users with particular files, record some file information such as date uploaded, size, etc.
This starts looking like a database. You can store the binary there too, then when you want to run backups, etc...you'll be doing it all in the data store.Leave a comment:
-
I agree that split is the way to go. Split the string into an array based on the "/" delimiter and grab the element indexed at array.count-1....Leave a comment:
-
I'm not really clear on what the issue is that you are experiencing. If you're using a DataTable.NewRo w() this should be taken care of for you. At least as far as the unique ID is concerned if your Access db has autonumber going.
If you want a true user name, use a parameterized query to check the name against your db and if rows>0 then they need to pick a new one. If not, we insert it and go on our way. Just a thought.Leave a comment:
-
What you'll probably want to end up doing is working with a couple of roles and allow access to the protected areas of your site through one of these roles.
The trick is using the <location path="/protectedstuff" > tags under the configuration section of your web.config.
Search this Patterns & Practices page for the above mentioned tag and you should be on your way.
Hope this helps....Leave a comment:
-
Here's how we can accomplish this easily
...Code:Imports System.Text.RegularExpressions Public Class BlahBlahBlah Private Sub NoNegativeZero()[INDENT] Dim MyRE As New Regex("^[0-9]+$") Dim MyMatch As Match = MyRE.Match(TextBox1.Text) If MyMatch.Success = False Then MsgBox("I'm not cool with -0") [/]Leave a comment:
-
This would more likely be TextBox8 in the example, but you get the idea....Leave a comment:
-
Here's one way you could do it.
...Code:'How many ints can we have? Dim intArray(6) As Integer Dim Ctrl As New Control Dim i As Integer = 0 Dim total 'Loop through the textbox controls looking for ints to add For Each Ctrl In Me.Controls If TypeOf Ctrl Is TextBox Then If Ctrl.Text <> String.EmptyLeave a comment:
-
First, I'm thinking that having an .mdf without an instance of SQL Server to attach to is fairly useless. Check the following usenet post for support Google Usenet Posting
So, thats rough and might need rethinking.
Second, to not display we just don't bind it to a control that renders to the page. Instead, we can read the .csv into a dataset, get a dataset of the table we pushing to and get on with life.
...Leave a comment:
No activity results to display
Show More
Leave a comment: