Search:
Type: Posts; User: SpecialK
Search:
Search took 0.01 seconds.
-
January 20th, 2011, 11:36 AM
public partial class frmOne : Form
{
// Constructor
public frmOne(){}
// Button click event but the code could go anywhere
private void btnSearch_Click(object sender,...
-
January 20th, 2011, 11:10 AM
using System.IO;
string exePath = Directory.GetParent(System.Reflection.Assembly.GetExecutingAssembly().Location));
-
January 15th, 2011, 02:15 AM
I created a card game and had better results getting a "more" random number this way:
Random randGen = new Random();
int randomCard = randGen.Next() % 13; // 0 base
-
January 15th, 2011, 01:18 AM
hhmmm...Didn't know optional values worked like that, or in that syntax anyways in C#. Can someone give an example of a code that will compile which uses optional param?
As a rule of thumb, for...
-
January 14th, 2011, 11:06 AM
string AceFormatString = "";
int[] AceFormatPoints = { 114, 15, 27, 44, 44, 316, 356, 99, 74, 591 };
foreach (int i in AceFormatPoints)
{
if (i == 114)
AceFormatString =...
-
January 13th, 2011, 11:51 PM
try this
string curMethod, curUserAgent;
HttpCookie myCookie = Request.Cookies["CookieName"];
// gets the value of this key in cookie: Method = GET
// curMethod = "GET"
-
January 9th, 2011, 12:29 PM
You'll have to write which animal belongs to which column eventaully. Maybe you could use the switch statement
private void LoadAnimals(string Animal)
{
switch (Animal.ToUpper())
{...
-
January 7th, 2011, 06:32 PM
This is most likely because you're not following the structure of the xml. XPath won't handle XML nodes out of order.
Try:
XmlNode barNode =...
-
January 6th, 2011, 07:17 PM
Ya, you're right. You could shove anything in an object but when it comes to using the object for what it is, it's only gonna know that it's a "generic" object and you won't have access to your...
-
January 6th, 2011, 03:40 PM
In the end, you'll have to code for both objects (JET and SQL) anyways. I've built an app, similar to what you're trying to do. I, also, only have 2 types of db(JET and SQL). I made a class called...
-
January 5th, 2011, 05:06 PM
|
Click Here to Expand Forum to Full Width
|