there is a main switch, a dell switch 2848, bringing wires to all the offices, in some offices there are smaller switches.
So I want the ability to be able to see an unwanted computer on the network internally and block the IP or mac address.
Nowmally routers will block lan to wan, but what controls all the internal traffic?
In my mind, the only way to do this is in the main switch, or maybe something in windows...
User Profile
Collapse
-
I'm assuming my router/firewall will block the computer from lan to wan networking, but I don't think it will block a computer from using the internet lan networkLeave a comment:
-
Block a computer from the LAN network
I was wondering if there was a way to block a computer from a LAN.
I am using a windows network with AD servers and windows DHCP
I can only think of a couple of scenarios, one would be in the switch level
although I have a dell switch 2848, and I don't see any type of access control in the interface.
The other I would guess would maybe be something with windows ipsec, but I'm not sure.
... -
How to associate the silverlight XAML to the webpage?
Hi,
this is my very first time using silverlight. so bare with me.
I'm trying to figure out how to associate the XAML to the webpage
In this case I want to associate SearchBusiness. Xaml with SearchBusiness. aspx
the only association I see if the Object
...Code:<div id="silverlightControlHost"> <object data="data:application/x-silverlight-2," -
Rotating ad banners - Interval glitch
I am writing some code that takes the ad rotator, rotates the ads with the update panel and timer.
Instead of having a single timer interval, I am storing the interval number in a datafield with each banner so that I can set the banner rotation length per banner.
Everything is working great but there's one glitch
The timer isn't receiving the interval number correctly, and so the banners aren't rotating
... -
So confused,
Here is the recent code. everything is working, after the loop, it response writes the correct data.
but it's either not updating the dataset, or it's empty because when I call the dataset from a page, no data populates.
...Code:Public Function GetSideBannersDir() As DataSet Dim Conn As New SqlConnection(ConnectionString) Dim CmdSelect As New SqlCommand("GetSideBanners",Leave a comment:
-
OK, this is cleaner, but still not working
Sigh
...Code:Public Function GetSideBannersDir() As DataSet Dim Conn As New SqlConnection(ConnectionString) Dim CmdSelect As New SqlCommand("GetSideBanners", Conn) CmdSelect.CommandType = CommandType.StoredProcedure Dim Da As New SqlDataAdapter(CmdSelect) Dim Ds As New DataSetLeave a comment:
-
thinking would be more like this.
need to loop through the table rows
...Code:Public Function GetSideBannersDir() As DataSet Dim Conn As New SqlConnection(ConnectionString) Dim CmdSelect As New SqlCommand("GetSideBanners", Conn) CmdSelect.CommandType = CommandType.StoredProcedure Dim Da As New SqlDataAdapter(CmdSelect) Dim Ds As New DataSetLeave a comment:
-
How to modify dataset data?
Is this possible?
I'm trying to call a dataset, modify a value, and then put it back into a dataset.
I think this is possible but I'm doing something wrong
Any help would be greatly appreciated
attached is an image of the table and the code
...Code:Public Function GetSideBannersDir() As DataSet Dim Conn As New SqlConnection(ConnectionString) Dim CmdSelect -
Set Cookie code - cookie erases when browser session is closed
I wrote this code,
seems to work fine when the browser is open, but once the session ends or the browser closes, the cookie deletes itself.
I''m sure it's something really simple but I don't know what it is.
Any help would be greatly appreciated
...Code:For the Remember me field If Cookie = True Then
-
Is there a way to pass a variable outside of a datalist?
I have a datalist that I am passing a value into a hidden field and I am then
trying to pass the value outside of the control into a Button object.
Is there any way to do this?
here is the code
line 36, 48
the field is
<asp:HiddenFiel d ID="HiddenCompa nyID" runat="server" Value=' <%# Container.DataI tem("UserAccoun tsCompanyID")%> ' />
... -
-
OK, What I have is a .net website with a SQL database.
Two versions of the website and database are set up.
Obviously, I want the live site to be up as much as possible.
So what I was thinking I would do is my mods on the sql dev and see if they work, then manually update it using management studio as I don't really know much about sql scripts. the web code is simple enough. just do it in dev and copy it...Leave a comment:
-
wait,
replication of the data? or replication of the database structure? if that can be done.
my problem is, let's say I add some fields in the dev box. how do the changes get migrated over to the live box?Leave a comment:
-
SQL in dev and live environment
Ok,
this is going to sound like a stupid question to some, so apologies to those.
Ok, I am building a website in .net and Microsoft SQL. the site is almost ready to go live.
But like all websites, there is continually development and updates.
so, my question is as far a development
what's the best way to update the dev database, and then the live.
for example, I use... -
-
If then and null or empty value
Is there a better way of doing this.
I've been doing it this way for years, but I'm always having problems.
In this case the logic doesn't seem to work.
error
Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated... -
Fixed!
working code
...Code:<asp:LinkButton ID="LinkButtonWebsiteURL" runat="server" Text='<%# Container.DataItem("CompanyWebsiteName")%>' CommandName="WebsiteClick" OnCommand="Btn_WebClick" CommandArgument='<%# Container.DataItem("UserAccountsID") + ";" + Container.DataItem("CompanyWebsiteURL") %>'/>Leave a comment:
-
Multiple variables in a commandargument
I'm trying to figure out this little piece of code so that I can send more then 1 value through the commandargument .
Converted this code from C but having a problem. probably something really stupid.
The Error I am getting is
Index was outside the bounds of the array.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for... -
vertigo262 replied to How to write a stored procedure that sends emails from db data and update when sent?in SQL ServerSomething like this?
...Code:Try EXEC msdb.dbo.sp_send_dbmail @recipients=@ToAddress, @from_address = @FromAddress, @subject = @varSubject, @body = @varBody, @body_format = 'HTML', @profile_name='Reef Junkies'; UPDATE MailQueue SET HasSent = 1 WHERE (HasSent = 0) AND (MailqueueID = @MailqueueID) Catch e as ExceptionLeave a comment:
No activity results to display
Show More
Leave a comment: