« first day (818 days earlier)      last day (4137 days later) » 

8:00 AM
Once you make a new control, just paste the code in.
See if it fires then
 
May you access my computer?
by teamviewer?
 
np code, first question on here i got right
 
I don't have it. I have webex. Put a breakpoint on the click method. Does it get to the breakpoint?
I have yet to get one right. My purpose on here is to make the problem worse.
 
@BinhTieu : Check if you bind your gridview on pageload..it may stop you from firing events..
 
yes,I bind it on pageload
of course
 
8:08 AM
Hello all..
 
hello
I used breakpoint for see what it did perform
My big question is why it work fine on normal page (test page)
But it didn't work on my project
 
Did it get to the breakpoint?
 
Just on main page
Don't perform on usercontrol
 
Where did you place the breakpoint?
On the click method?
 
@BinhTieu: your project has lots of interfering code...it may need precise logic...check your code with break point..post code here for help.
 
8:10 AM
yes
click method in Usercontrol
and breakpoint in main page too
 
OK. Then the button isn't linked to that method. You can fix it in the designer cs file, or you can just make a new control, double click it, and paste the code in there.
That's the easiest way
 
I tired when performed with this issues
So that,I make a demo page
 
May I ask.. can we delete record in table A and related records in table B just use command DELETE from tableA WHERE id = 1?
 
For testing about how to communicate between UserControl with Main page
Ihttp://www.dotnetfunda.com/articles/article97.aspx
It work fine at small demo page
And,When I apply this demo to my project
It didn't work
 
What happens when you double click the control on design view?
 
8:15 AM
You can use Scala Design in SQL2005 or SQL2008 when you design table
 
user1752532
try it?
 
It'll auto delete tableB when you remove a row on table A
@Chuki2
I use codebehind for design UserControl
 
Scale design?
 
So that,Design View is error
 
user1752532
MVVM
 
8:16 AM
In folder database diagrams?
 
Don't have anything
Just use codebehind
yes,diagram @chu
 
oh ok. Do you have form tags around everything?
 
So I need create database diagram ini SQL server 2008. And then, in my application C#, I just do SQL command DELETE from tableA WHERE id = 1.. After that, it will delete record in table A and related records in table B right?
 
yes,I used form tabs
yes
@Chuki2
 
@BinhTieu : Thanks so much...;)
 
8:19 AM
@Chuki2 you're welcome
@codebrain do you have any idea?
 
Without posting the code, it's hard to help
 
YOu can acces my computer,by teamview
yes?
 
You can't just paste it in here?
 
I can
But it hard to explain
It'll easy if we can see it direct
I can easy explain when you see my screen
 
If you install webex, I'll go on there
 
8:25 AM
How is your idea?
 
wooohoo, asking a russian ballerina out
said yes
can tell its a recession :P
can't gloat on facebook, she's on there too, so unlucky...
 
webex is like teamviewer
 
ok,webex
 
teamviewer is really good
 
okay
Pls send to me your meeting number
 
8:29 AM
Morning all
 
hai tts
 
can someone give me link to script I once found for restoring database in single mode
please*
it changes db into single mode , restores db and then changes back to multiple
 
user1752532
why is everybody complaining about VS 2012 color scheme ... seriously, is that an issue?
 
@BinhTieu 198 523 189
 
ok
 
I"m in
 
in my meeting? are you sure? What meeting # are you in?
I think you made your own
 
oh,yes
I've been joining
wait sec
Just a moment, we are setting up your meeting.
 
Mine is setup
use the link and just click join
 
whats wrong with this one,


ALTER DATABASE backup
SET SINGLE_USER WITH
ROLLBACK IMMEDIATE

RESTORE DATABASE backup
FROM DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\backup.bak'

ALTER DATABASE backup SET MULTI_USER
GO
 
8:37 AM
yes,I done
I input
binh
binhtieu89dn@gmail.com
Is it invalid?
 
I sent you an invite. Check your email
 
yes,I check it
 
now share your desktop
 
ok
may we chat private in stackover?
ARe u tehre?
Could you see my screen?
Are u there,@RyanJMcGowan
 
hey guys, hope someone can help me out with this: I want to check how many times an executable has been started. I guess I could use the amount of filehandles...but how do I check/count those in C#?
 
8:48 AM
I was talking to you on private. Your screen is no longer sharing
now it is
 
@SteffenWinkler wish I knew, but no, sorry :P
 
damn. Well maybe there is another way...
 
you want to check how many instances are running? Or just how many times the executable has been fired since x?
 
the problem I got is that there is an application that shouldn't be started more than one time
the problem is there are two ways to start this application
 
what are the two ways?
 
8:50 AM
1st you open it through an executable, I could get those via taskmanager.
2nd you start it from another program, problem is that that program only opens a thread in which the program runs
so I don't see those in taskmanager
 
Okay, you might find this useful: ai.uga.edu/mc/SingleInstance.html
 
the only solution I see is to check how many times the assembly which the executable and the program use is open
 
I guess you should go with the mutex option, since this is the fastest and as you were saying the 2nd way of starting your application won't show up in the process table
 
yeah that's brilliant
thanks
 
Hope it works, I haven't worked with mutexes or semaphors (or the GC directly for that matter) in C#
 
8:57 AM
hey hank
 
morning ladies
 
Le @Cylen! Bonjour!
et @Jean aussi bien sur
 
Que?
Je n'ais parlez pas bien Francais.
 
I'm only practicing my French
 
ohlala
 
8:59 AM
Where I should be practicing MEIN DEUTSCH
 
Nicht hier. Aus gehen.
 

« first day (818 days earlier)      last day (4137 days later) »