Thanks! That helped. My solution is fugly, but it works:
string pattern = @"`[^`]*`";
MatchCollection pkeys = Regex.Matches("(`field4`(255),`email`(255))", pattern);
...
Type: Posts; User: Dragoon_42
Thanks! That helped. My solution is fugly, but it works:
string pattern = @"`[^`]*`";
MatchCollection pkeys = Regex.Matches("(`field4`(255),`email`(255))", pattern);
...
I have , "(`password_hash`(255),`email`(255))" and want to get "password_hash,email".
So far my best guess has been:
string pattern = @"[`(\(0-9\))]";
string pkey = Regex.Replace(tokens[offset],...
No, now go away or I shall taunt you a second time.
This page will come in handy:
Cheat Sheet : All Cheat Sheets in one page
Learn to love MSDN as well:
The C# Language
You do know that you can use C# with web based stuff right? You may be able to reuse some of the code you're written already. You can just specify Encrypt in the connection string and it'll use...
Nevermind, I'm a friggin moron. Following code works as expected:
protected void processDS(DataSet ds)
{
DataTable dt;
int i=0;
...
protected void processDS(DataSet ds)
{
DataTable dt;
int i=0;
batchLot = ds.Tables[0].Rows[0].ItemArray[0].ToString();
...
Not sure about the network simulator, but you could always use a virtual machine. VirtualBox is free, quick, and easy.
SqlDataSource1.UpdateParameters["ACCEPTED"].DefaultValue = "N";
Are you sure you don't want to set the Value and not the DefaultValue? Have you debugged it to make sure all the necessary...
I was reading some MySQL stuff last night and you popped into mind. How's the project coming along?
www.hoomanb.com/cs/QuickRef/CppQuickRef.pdf
Cheat Sheet : All Cheat Sheets in one page
Unless you're using Mono you'll want this too:
MySQL :: Download Connector/Net
which ties in nicely with this:
MySQL Connection String Samples - ConnectionStrings.com
Well, I wasn't going to just give this to you, but here:
GridView Examples for ASP.NET 2.0: Editing the Underlying Data in a GridView
Yes to both your questions.
The difference between...
C# would be perfect for this project. Specifically you'll want to read up on how to create an editable gridview. Good luck! This project actually has real world applications too, fyi. I've done...
Cat,
I just wanted to report back that your method works flawlessly. Thank you very much!
Thanks, Cat. Your method is awesome. This being my first WinForm, I generally make web apps, I haven't had to deal with threading issues in C#. I'll implement your method for the next revision.
Das funktioniert wunderbar!
private void frmMain_Shown(object sender, EventArgs e)
{
this.TopMost = true;
this.Focus();
this.BringToFront();
this.TopMost = false;
}
Bah! It's way more fun to store them in BLOBs in SQL. Give it a shot, it's not too difficult and then you're not relying on the file system maintaining it's structure.
Awesome, thanks for the ideas. I'll give them a shot and post the results. :)
I have a WinForms program that launches another program and then waits for it to exit before moving on. This launched program may run for an hour or so. After the user exits my form disappears from...
Because a whole object contains more data then just a pointer to the object.
Even though you didn't ask for others here's the rest:
Android: Android Developers
iPhone uses Objective C: iPhone Dev Center - Apple Developer Connection
Lots of phones will run Java's J2ME: ...
That's awesome. Thanks for the LOL on a Friday! :)
Looks like there's lots of crazy stuff going on.
1.) incr() is declared as void yet returns a zero?
2.) add() is declared as returning an INT yet really returns a complexNumber
3.) Reread about...
I've been asked to create a small pop-up box with a message and picture whenever someone prints from any application. (It's an office in-joke apparently) Being a web-geek I'm not really even sure...