Posts
 
Reputation
Joined
Last Seen
Ranked #375
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
97% Quality Score
Upvotes Received
30
Posts with Upvotes
29
Upvoting Members
18
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
13 Commented Posts
~121.62K People Reached
Interests
Home brewing beer, programming goofy things for fun, building computers, Star Wars movies, www.xkcd.com,…
PC Specs
Intel DH77KC board with i7-3770 @ 3.4 (Hyper-V enabled 8 cores), 16 GB DDR3 RAM @ 1600MHz, NVIDIA GeForce…
Favorite Tags
xml x 35
c# x 26
mssql x 14
sql x 10
Member Avatar for zachattack05

I have a string representing a date time, and a datetime local variable property. The string representing the datetime could be null or an empty string. To check for this, I thought I could check for a null or whitespace value and assign the appropriate value using this code: ReturnValue.ArrivalDate …

Member Avatar for tinstaafl
0
3K
Member Avatar for zachattack05

I'm not sure if this is the right forum to ask this in, sorry if it isn't. It's been a while since I've been to this site. We have a MS SQL database that contains a table with some columns that are no longer used (or shouldn't be). The data …

Member Avatar for Reverend Jim
0
591
Member Avatar for Brian_22

The % simply returns the remainder of the division of the first and second number. So if i = 25, then 25 % 2 would return 5, which doesn't meet either of your if statements. Change your code to this: Console.WriteLine(""); Console.WriteLine("Problem #3 For loop - Add Up the Odds …

Member Avatar for rubberman
0
537
Member Avatar for zachattack05

I am working on a table that will hold batch data. The table will have a BatchDate column as a DateTime type. I'm considering adding a column for BatchYear as an integer and BatchPeriod (which could be a week number, a month number or a quarter number) as an integer, …

Member Avatar for Dani
0
661
Member Avatar for zachattack05

I've asked this on SO *AND* Reddit without so much as a peep...was hoping DW would turn up the answer! I have an ascx user control that has a custom event added to it. I can get the event to work without problem, but the event doesn't show up in …

Member Avatar for rproffitt
0
525
Member Avatar for zachattack05

The Membership table for our ASP.NET site has the encrypted passwords and password salts stored when a user logs in. The site is already served over an HTTPS connection, but we would like to give our clients the ability to download and save certain files and documents. We would like …

Member Avatar for rproffitt
0
561
Member Avatar for zachattack05

Hi everyone! I am in major need of some help here and before I go off and write a SP to handle this for me, I though I would ask here for advice first. I am writing a report to display on our asp.net site using the ReportViewer component and …

Member Avatar for zachattack05
0
336
Member Avatar for zachattack05

Hi everyone! So we have a web application that some of our clients use to manage their account. Part of that means they can manage activities that their registered employees do. Right now we have a table that logs all of a customer's employees activities, even if they don't use …

Member Avatar for RudyM
0
288
Member Avatar for zachattack05

On our site we have a "News and Information" section at the top of our landing page. Right now it looks like this: ![news.PNG](/attachments/large/2/edb1aaabb260ba04b597c3a2f4a351b3.PNG "align-center") I'd like to change this to look something like the image below, but I'm having a hard time figuring out how to do this, or …

Member Avatar for zachattack05
0
520
Member Avatar for zachattack05

Good afternoon everyone! I'm running into a small snag and it could just be because it's late and I'm not thinking clearly. I have an ASP Panel that is an alert box. The panel's initial visible property is set to false and should only be set to true when specific …

Member Avatar for zachattack05
0
424
Member Avatar for zachattack05

If I implement an abstract class that contains this method: private void MyMethod(string awesomeParameter, int aBigNumber) { // something cool happens here! throw new NotImplementedException(); } can I change it to this without breaking the implementation? private void MyMethod(string myParam, int myInt) { // something cool happens here! throw new …

Member Avatar for ddanbe
0
296
Member Avatar for zachattack05

I am writing a custom MembershipProvider for ASP.NET and would like to record certain events in a table when they happen. I have the methods to do it, but I would like to get the value of the "ID" column of the row I insert into the table. I have …

Member Avatar for zachattack05
0
319
Member Avatar for zachattack05

Forgive me, but I've only really used WinForms in the past, and MVVM and WPF are new to me. For those who use MVVM with WPF, do you actually make separate directories (namespaces) for your Models, Views and ViewModels files or is it more of an abstract idea? I fundamentally …

Member Avatar for zachattack05
0
309
Member Avatar for zachattack05

I am starting a new application for our business to help maintain our client information, so it is going to be a very data driven application. I'm curious, from the standpoint of those who have used both and who may have constructive suggestions on the future direction of development, should …

Member Avatar for zachattack05
0
218
Member Avatar for zachattack05

Just a question on preference: Given a method that returns a boolean value, how would you write an If statement to check the return value of it? Like this? private bool MyMethod() { // doing stuff } private void OtherMethod() { If (MyMethod() == true) { // do stuff if …

Member Avatar for JOSheaIV
0
528
Member Avatar for zachattack05

I know the site switched to a tag system, and while I personally don't care for it, I like the community too much to find an alternative. Since I really only post to a single "tag" group, is it possible for people to have a favorite tags list we can …

Member Avatar for diafol
0
220
Member Avatar for zachattack05

Good afternoon fine DaniWeb folks! I am about to pull my hair out on this one and I'd like to know if someone knows of a simple or obvious "gotcha!" for this problem. I've got a form with some detail fields on it (below) ![editor.PNG](/attachments/large/2/61f8ecd049dad3f28df2d6d98b522b69.PNG "align-center") When a user attempts …

0
165
Member Avatar for zachattack05

I would like to see a forum dedicated to UX/UI design. I know that a good application or website performs its job exceptionally well and the look and feel of the application doesn't affect, or shouldn't affect it's performance. But come on! It does. UX/UI design is more than just …

Member Avatar for Dani
0
906
Member Avatar for zachattack05

I am trying to programatically create and dispose of file system watchers, but I am running into an issue when trying to dispose of them. When I try to use the code: // dispose of any existing watchers. foreach (FileSystemWatcher fileWatcher in this.Controls) { fileWatcher.Dispose(); } I am receiving a …

Member Avatar for zachattack05
0
412
Member Avatar for Jazerix

jazerix is 56 bits, because each character in your string is 1 byte, or 8 bits. 7 * 8 = 56 :) Just make your key longer or if the user can enter the key themselves, create a function to either pad the key with a value, or truncate the …

Member Avatar for hunny1
0
9K
Member Avatar for zachattack05

I'd like to suggest a forum category for Azure development. Many of the concepts are covered by the topics here, but some are not, such as Azure SQL Database, Virtual Machines and Virtual Networks, Cloud Services, etc... I know that some of those (VMs and VNs notibly) aren't really directly …

Member Avatar for pritaeas
0
204
Member Avatar for zachattack05

I'd like to propose that DaniWeb adds a new category of forums for Cloud development. The Software and Web Development might apply, but with the cloud being so versatile, you could technically do either Software or Web work on it. Just throwing that out there :)

Member Avatar for pritaeas
0
253
Member Avatar for zachattack05

I'm sorry if this is the wrong place to put this, but since I normally code in C#, and my potential solution would involve using C# I figured this would be the best place to start. I've been given a task at work to allow our customers the ability to …

Member Avatar for RichardGalaviz
1
448
Member Avatar for zachattack05

Good morning! I was wondering if anyone could send me in the correct direction to locate documentation on how the Windows Sensor and Location Platform gets its data so that I can have a Windows service that will respond to GPS requests (without actual GPS hardware)? I'd like to have …

Member Avatar for zachattack05
0
186
Member Avatar for zachattack05

Good morning everyone! I haven't been here in a while, but I have a question that I thought someone here might be able to help with. When it comes to accessing data from a SQL server, I know the logistics of getting that data through code, no issues there, but …

Member Avatar for zachattack05
0
445
Member Avatar for zachattack05

Good afternoon! I seem to disappear from this forum for a while then re-appear...I've been so busy with my first born baby girl that I haven't had time to check my email much less work on any of my projects, but something has come up and I need some input. …

Member Avatar for zachattack05
0
226
Member Avatar for zachattack05

So I have a table I am trying to create, but as I am working on this, I am worried that the idea is flawed. Here's the SQL code to create the table so far: CREATE TABLE #ConversionLog ( EventTime DATETIME NULL, EventType NVARCHAR(20) NULL, RecordID INT NULL, EventTarget NVARCHAR(255) …

Member Avatar for zachattack05
0
256
Member Avatar for zachattack05

Good morning strangers! I haven't posted in a while, but you always seem to be helpful... I have an application that uses SQL as a back-end to store data so that multiple users can access it at once. The question I have is, the requirements have changed and the SQL …

Member Avatar for zachattack05
0
252
Member Avatar for zachattack05

Good afternoon! I am wondering if there is a way to log queries that have occured on a database or specific table? For example, is it possible to log the user, the query type (insert, update, delete, select, execute etc...), date, time, table, row and column(s) affected by the queries …

Member Avatar for sinhaksaurabh
0
165
Member Avatar for zachattack05

Out of curiosity, when you start a new solution and you add your first project to it, if it's a window's form application, you get a nice and neat form called "Form1" (how creative!). Do you rename that file? If so, what do you name it? If not, why? ![2f9411f0a0998da1589835c36807a955](/attachments/small/2/2f9411f0a0998da1589835c36807a955.PNG …

Member Avatar for Momerath
0
270