Search:
Type: Posts; User: QuinnJohns
Search:
Search took 0.06 seconds.
-
Are you trying to round up? You could always use Math.Ceiling.
See the below link, http://msdn.microsoft.com/en-us/library/zx4t0t48.aspx.
-
June 13th, 2012, 07:42 AM
We're not in the business of doing homework problems. If you make an attempt to do this on your own, we'll be more than happy to help if you get stuck on certain parts.
-
Are you just trying to create a text file with some output?
Can you please expand on what you're doing?
Thanks,
Quinn
-
What is the masked text pulling in when you debug your code? I'm assuming you are doing some sort of globalization/localizing. Convert.ToDateTime naturally assumes the date format is in "mm/dd/yyyy"....
-
I'd suggest trying something similar to the following:
DateTime dtFromSQL;
sqlCommand = new SqlCommand("SELECT date FROM Transactions", sqlConnection);
sqlDataReader =...
-
November 30th, 2011, 05:51 PM
Why are you using the goto? This isn't basic. remove them. Your code should work fine.
-
November 19th, 2011, 08:56 PM
Personally, I'm a fan of http://www.amazon.com/2010-NET-Platform-Andrew-Troelsen/dp/1430225491/ref=sr_1_11?ie=UTF8&qid=1321754136&sr=8-11.
Hope it helps. :)
Regards,
Q
-
November 15th, 2011, 12:23 PM
If you are wanting to create child forms for a MDI container, or hide/show, I'd suggest reading http://msdn.microsoft.com/en-us/library/7aw8zc76(v=vs.80).aspx.
Enjoy,
Quinn
-
November 10th, 2011, 03:55 PM
If you can't find any help in C# Programming category, check out http://www.codeguru.com/forum/forumdisplay.php?f=60, it's the Graphics Programming category. If that doesn't work check over at...
-
November 10th, 2011, 11:36 AM
Resolved.
ListView.SelectedListViewItemCollection myList = this.listView1.SelectedItems;
foreach (ListViewItem myItem in myList)
{
ListViewItem lvi = newListViewItem(text: myItem.Text,...
-
November 10th, 2011, 11:07 AM
I'm wanting to drag and drop, between listviews, and allow re-ordering. Currently, I can drag and drop items to an alternate listview, and can re-order within the same, however, when I drag and drop...
-
November 8th, 2011, 11:20 AM
-
November 2nd, 2011, 12:12 PM
In your submit, I'd do a check with the following:
if (String.IsNullOrWhiteSpace(txtValue.Text))
{
// Display MessageBox -- indicating null
}
else
{
// Perform non-null checks...
-
October 19th, 2011, 12:08 PM
If it's a multiselect listbox, I'd simply create a session variable, that had your selections, as a comma delimited string on the changed events, and doing a string split in your current page, and...
-
October 17th, 2011, 11:51 PM
Please edit your post, after reading the following, in particular regarding posting code. Thanks.
Regards,
Quinn
-
October 17th, 2011, 06:50 PM
You need to learn how to access a public function in another class, please see google for help.
Regards,
Quinn
-
October 17th, 2011, 12:30 AM
Wherever, you intend on populating this content into the control. So, a Form_Load for example.
-
October 16th, 2011, 11:22 AM
Should be an edit button, at the bottom of each post, then you can include the tags, before and after code blocks. Thanks for being willing to update your code samples. They work similar to pre-tags,...
-
October 16th, 2011, 11:06 AM
Please read, http://www.codeguru.com/forum/announcement.php?f=11, before posting anything else, especially the content regarding Including Code. Thanks.
-
October 16th, 2011, 11:03 AM
Yeap, the answer was the one lug from each of the other wheels. :)
-
October 16th, 2011, 10:56 AM
When you are saying pages - are you referring to web pages with input buttons? or a windows form application, with multiple buttons?
Thanks for the clarification.
Regards,
Quinn
-
October 16th, 2011, 10:49 AM
What in the world are you talking about? You are giving no context except student violations. Please elaborate...
-
October 16th, 2011, 10:47 AM
I've mentioned it in another post to him, please use the [ code ] tags, as it makes your code and posts easier to read.
-
October 16th, 2011, 10:44 AM
Well, assuming you have the control, usually you can just set the Datasource element in code, to that of the Dataset.
See the following:
DataSet ds = PMEWDirectorates_GetAll();
if...
-
October 16th, 2011, 03:03 AM
Hello Nmohammed, the following code will allow only a-z and A-Z characters to be entered into the textbox. You'll need to create the KeyDown event for the textboxes, in order to utilize the code. In...
|
Click Here to Expand Forum to Full Width
|