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

2:00 PM
@ActionHank oh gawd... So you want the data item... <%# Container.DataItem.GetType().FullName; %> try that
 
@Sean if you were I woman I would overload you (ha ha) with kisses right now
 
dafuq did i just read
 
BTW this <%# %>, what is this called? scriptlet or something?
 
@ActionHank Hurry up transplant yourself into a woman's body and i won't hit you
 
@Sean will send @Ellie instead
 
2:04 PM
@ActionHank Uhm..... I honestly can't remember... It's a databinding expression when used with #. But you can use it with other symbols too
 
@userXemY are you sure your connection string is right?
 
@ActionHank e.g. <%= "asshat" %> would just print asshat
 
@Maverik yes. u mean in my app.config ?
@Maverik finally with ur advice I started the MVVM way.
 
You know you live in a sexist world when there is 20 blokes working in a building. 1 girl. The girl has to empty everyones bins and hover up the floor haha
 
:) glad for that, but no ConfigurationManager bit
that seems wrong to me
 
2:05 PM
@Sean thanks. you just reminded me to get my MCTS degrees, as I suck at understanding binding properly
 
Good morning, all
 
HIDE THE PORN GUYS
 
Shit, does that mean I have to hide my porn?
 
@userXemY Copy the contents of your app.config into notepad, delete it and any others you might have (copy their contents if you need to) and create a new one then paste it all back in, merging as necessary. Then use ConfigurationManager.ConnectionStrings or ConfigurationManager.AppSettings depending on which section you put it in
 
@Maverik then ??
 
2:06 PM
@Ellie touché
 
@userXemY and indeed the fact you can't create your view model, i'd bet your configurationmanager is bugging out
put a breakpoint on that line and see if you can even reach that far
 
should I use ConfigurationSettings instead ?
 
@ActionHank I don't have my MCTS, I think they're a waste of time =P
 
no thats not the problem i think
 
yes, already inserted BP, everthing seems fine
 
2:07 PM
@Sean not if you're applying for a job
 
but empty datgrid as output bugs me
 
Morning World!
 
I left this on all night, and had 15 notifications this morning. Pinging me for no reason. :P
 
i can only guess, but I think you're reading in whole array instead of one line
 
@ActionHank I know, but I don't plan on applying for any jobs in the future that require any .Net knowledge =P
 
2:08 PM
@Ellie
 
And since I have the urge to live in another country every now and again, this might come in handy
 
@JamieTownsend
 
@Sean Its confusing =(
 
How is @Ellie doing this morning
 
@Ellie is naked I heard
 
2:08 PM
@ActionHank I'm doing very well. Not naked, @JamieTownsend, but I am enjoying a bacon McGriddle YUM
 
@Ellie a bacon McGirdle?
 
McGriddle? That sounds like an STI
 
@userXemY i don't see your app.config in that code section, could you please share that bit (of course mask out any sensitive info)
 
Oh hush.
 
specifically whats your ConnectionString section like
 
2:09 PM
@JamieTownsend $explain STI
 
@Maverik ok I do ..
 
@ActionHank sexually transmitted infection
 
@ActionHank Sexual Transmitted Infection
 
Ah
In the US they call them STDs, correct?
 
Both
 
2:10 PM
@JamieTownsend It really does now I've repeated it a couple of times in my head xD
STI covers everything, as saying disease rather limits the scope of what you're infected with, but both are generally used to mean the same thing
 
@Maverik : for u
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="ConnectionStrings" value="Data Source=testDB;Initial Catalog=SystemStatus;Persist Security Info=True;User ID=XYZ;Password=12345"/>
</appSettings>
</configuration>
 
I've had a sti test before, fcking hell that hurt
 
It's a breakfast sandwich from McDonald's. Bacon, egg, cheese, and two pancakes injected with syrup. THE BEST THING EVER
 
Soo you guys are constantly making fun of Impreza drivers then? :P
 
@JamieTownsend Where they push that fucking plastic swab down the end of your nob... PAIN
@ActionHank Indeed
 
2:11 PM
yeah, pure pain that shit is
 
@ActionHank But only the ones that bothered to get a proper one
@userXemY In which case the code for getting it out will be ConfigurationManager.AppSettings["ConnectionStrings"]
 
@Sean you guys are so lucky getting all the good cars from grey import
 
@Sean yea i assumed she was using normal < ConnecitonString/> tag
 
STI coupes, skylines, the better Evos...
 
@Maverik, @Sean is tat a wrong way
 
2:13 PM
@userXemY Although I would suggest changing the name attribute to something more descriptive, like "AdventureWorksConnectionString" and even moving it into the right place
 
We OTOH need to buy it from you guys, which is when they are driven to SHIT already
 
umm not necessarily the wrong way.. but you'd normally have it in ConnectionStrings section :)
 
@Ellie sounds delicious
 
@ActionHank It's the only thing I'll get from McDonald's for breakfast. It's absolutely fantastic.
 
@userXemY which would be <configuration><connectionStrings><add name="MyConnectionString" ConnectionString="actual connection string in here" /></connectionStrings></configuration> then using ConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString; to get the value out
 
2:14 PM
@Ellie what do you mean 'I'll get'. Aren't you allowed to buy anything else?
 
@userXemY obviously you can change the name of "MyConnectionString" to something else but don't forget to change it on both places
 
@Sean will try tat
yes sure
 
@ActionHank By choice, of course. I just don't like anything else they offer.
 
@Ellie Do they not do wraps for breakfast over there?
 
GUILTY PLEASURE TIEM
 
2:15 PM
@userXemY once you've made the change, breakpoint on that line to see what string are you getting back in "con"
 
@Sean I think they do, I just don't care for them. The syrup injected pancakes on this sandwich make it unbelievably delicious.
 
retch
 
?!
 
the guy that gives me a lift in sometimes eats breakfast pancakes, the smell makes me feel sick
but then again, the smell of food before I actually feel hungry in the morning makes me feel sick
 
2:17 PM
'syrup injected', it sounds like a medical procedure
 
@ActionHank I know, but I don't know how else to say it. They have little pockets of syrup throughout.
 
@Ellie "syrup-filled"?
 
That is a heart attack waiting to happen
 
@Sean That makes it sound like it's a HUGE amount of syrup in the middle.
@JamieTownsend YOLO
 
YOLO (BUT BE FAT)
 
2:19 PM
@Ellie YOLO not for very long at this rate =P
@Ellie Also, YOLO = You Obviously Like Owls
 
Owls are cool
I like owls, I must be yolo
 
I'm done defending myself.
 
or isn't that how it supposed to work?
 
I refuse to read it as what most people mean it for
 
Damn Europeans. The condescension is almost overwhelming.
 
2:20 PM
@Ellie how dare you defend yourself. Back down like the French!
 
We know, we like pointing out stupid stuff people do
@JamieTownsend LOL
 
@Sean @Maverik : I added the ConnectionString as u suggested and changed at both places too.
 
@Ellie we just want you to remain hot
fat != hot
 
Wow
 
and by fat I mean
 
2:21 PM
You guys sure know how to make a lady feel good.
 
Okay did I just... wow :P
 
I'm off.
 
@ActionHank congrats xD
 
Well done Action!
 
@ActionHank Don't ever say fat != hot to a woman
They will never talk to you again
 
2:22 PM
@Maverik, @Sean : I get this as error. grrr
The ConnectionString property has not been initialized.
 
"So Hank, did you learn something useful today at work?"
 
when I set BP on con
 
Let's see if she blocks me on FB too
 
lmfao
you have her on FB?
 
Oui
 
2:23 PM
Jeeezzz, you don't hang about
 
She thought I was hot. I am, but I'm also an asshole at times!
 
You defo won't be hanging out the back of her now though !
 
@JamieTownsend rewrite that sentence, I don't get it
 
@ActionHank It's cool. Not liking fat people is not an asshole thing. It's completely natural. It's just women be crazy about it
@ActionHank Hanging out the back of her = having your dick stuck in her
 
@ActionHank ok. "You will not be fucking her from behind, because she thinks your a cunt"
 
2:25 PM
@JamieTownsend thanks :P
 
^ Flag waiting to happen that lmfao
 
@Sean exactly, by fat I meant REALLY REALLY FAT
like 'honey could you get the tow truck I need to go shopping' fat
 
Define really fat ?
Like can't walk fat or just fat cunt ?
 
@JamieTownsend you define 'fat cunt' then :P
 
@userXemY at least you know why ModelView isn't working :D
 
2:26 PM
I'm guessing somewhere between that
I like natural roundings and all
 
@ActionHank "Fat cunt" = Quite fat, looks fat, has a big belly, 4 chins, bingo wings ?
 
@JamieTownsend that... no.
 
wow good morning then
 
@userXemY this line: SqlDataAdapter da = new SqlDataAdapter("select top 5 System,Date,Typ,Message,Critical from test_DB.dbo.SystemStatus",con); con should be sqlcon
 
lmfao @ChadRuppert
 
2:27 PM
yes i changed
 
oh
 
Hi @ChadRuppert we were just discussing my delicacy towards women
 
I've no idea then
 
Yes we was
 
@Sean i changed it before debugging
 
2:28 PM
@ActionHank basically told @Ellie not to eat cause he hates fat people and fat people are not hot. Which is an arsehole thing to say. She now hates him and hopes he dies
 
@JamieTownsend still have her on FB though!
 
@userXemY so what does that section look like now?
the getData function
 
@Maverik If i knew it before I would hav got the output =/
 
You better say sorry then @ActionHank
 
public DataTable getData()
{
DataTable ndt = new DataTable();
SqlConnection sqlcon = new SqlConnection(ConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString);
sqlcon.Open();
SqlDataAdapter da = new SqlDataAdapter("select * from testDB.dbo.SystemStatus ", sqlcon);
da.Fill(ndt);
return ndt;

}
 
2:29 PM
@JamieTownsend I should, shouldn't I?
 
Yes indeed
 
and your app.config ?
 
Show her a picture of your cock, that will cheer her up
 
gross. datatables too?
 
@ActionHank haha, as if that hadn't crossed your mind ^_^
 
2:29 PM
what the hell did i walk into this morning?
 
A shit storm
 
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<connectionStrings>
<add name="MyConnectionString" connectionString="my connectionstring here"/>
</connectionStrings>
</configuration>
 
@JamieTownsend 'here, I'm fat too, look'?
 
lmfao
She said she liked girth haha
 
@userXemY sounds like your app isn't picking up the config file
 
2:30 PM
@Sean Noooooo. really
 
@userXemY And also I sincerely hope that where I've put "my connectionstring here" you've replace it with the actual connection string
 
lmfao
 
yes I( did
 
@userXemY Does this output an exe?
 
i was going to ask the same thing! hope you haven't split into libraries
 
2:31 PM
@JamieTownsend gotta love debugging over chat =D
 
Data Source=testDB;Initial Catalog=SystemStatus;Persist Security Info=True;User ID=xyz;Password=12345"
 
shouldn't there be a providerName in taht connection string??
 
@Maverik what s tat
 
@Maverik Doesn't strictly need one
 
oh ok.. i haven't actually had to do this manually
 
2:33 PM
The fact you are using the SqlConnection class tells it that it's using the SQL driver
 
presumably yes :)
 
@JamieTownsend I laughed so hard my coworkers asked about whether they could see the joke too :P
 
Now do I have to add a providername
 
no sean is probably right
 
I never put that bit in and my stuff works fine
 
2:34 PM
@Maverik shall I add one ?
 
i only read that last line
@sean
takes a whole new meaning
 
@Cylen hahahaha
omfg I hate shitty dev servers with no resources
 
@userXemY if sean says it works, i'd say it works :)
 
@Maverik No please don't tell him that, 90% of the time I'm wrong >_<
 
@Maverik fine.
 
2:36 PM
btw! DataSource=testDB...
 
But I know for a fact that this bit works
 
is that the name of the server?
 
@userXemY Could you update or comment on your post so that we can see all your code as it is now? =]
 
NOpe-- I added ramdomly in a hurry replacing my server name. shit
sry abt tat
in msdn or in SO ?
 
@userXemY do you at least have it right in your own config?
 
2:38 PM
@Maverik yes,, ofcourse :P
 
can't be too sure :)
 
@Maverik ok =(
 
best to ask.. right... so you're not getting any connectionString as string in con ?
 
yes.. now it sqlcon
        SqlConnection sqlcon = new SqlConnection(ConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString);
 
umm
 
2:39 PM
@userXemY:Hi sister
 
wrap that bitch in a using
 
my first question would be.. are you even getting anything out of ConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString
 
@userXemY Are u family with UserControl
 
@ChadRuppert That's not his problem atm
 
HER problem :P
 
2:40 PM
oh right, sorry...
 
she can write it anyway she likes
it'll just work!
 
I fully don't understand it, if she wasn't getting anything from the config file, there would be an error
 
well we are sailing kinda blind :)
 
@BinhTieu I said yes earlier
 
@BinhTieu you totally need to learn that you mean FAMILIAR instead of FAMILY
as nobody here is FAMILY with UserControl
 
2:41 PM
OMG
 
@Maverik The error she's getting is "The ConnectionString property has not been initialized."
 
@ActionHank thanks for fix it
 
Just sayin'
 
@Maverik I am sry, I am confusing u guys.. I myself cant understd it is not binding
 
@Sean : Are you sure write it in webconfig
 
2:42 PM
@Sean i wasnt following the conversation. i just saw the sqlconnection. :)
 
@BinhTieu : r u replying to me ??
 
@BinhTieu Sorry I don't understand...
 
its ok @userXemY.. its the charm of remote debugging via chat :D
 
@ChadRuppert Yeah that's cool
 
@Maverik yup
 
2:43 PM
well.. i can't tell why your connectionstring isn't being picked up
you may as well zip that thing and post it as zip considering you've already pasted entire projects code in ms forums
 
ok
I will do that in a while
 
@Sean:About your bug,I think that because it didn't register at webconfig file.
 
drop a link here and i'll try to figure why its not picking
 
@Sean:So that,It show this message,I guess
 
ok
 
2:45 PM
@userXemY:yes,I'm talking with you about UserControl
@userXemY:Are you familiar with it
@userXemY:I have a question for you
 
yes, but pls tell me which kind of control
 
@BinhTieu Yeah that's what I thought but you would get an error before it tried to open the connection, i.e. when you tried to retrieve it using ConfigurationManager
 
@Sean: Do you use teamviewer
@Sean:May I view your status project,I believe i can fix it
 
@BinhTieu that's actually userXemY's project.. not Sean's :)
 
@BinhTieu I don't have a problem
 
2:48 PM
oh,yep,sorry.:)
 
I would offer to teamviewer onto userthingy's machine but I'm at work
 
@Sean:I see
 
@Sean liar! you're in SO Chat!
 
@Maverik Yeah but I'm at work, supposed to be working..
 
Gosh It's really friday afternoon
 
2:48 PM
not getting very far but still
 
1h 10 min left, then im otta here
 
@userXemY:I used a button,a textbox on UserControl
 
@Stripps I know, right?
 
A real page for register this UserControl
 
I got a cold, and I'm so tierd
 
2:49 PM
Isn't it suppose to Snow tomoz ?
 
But when I press button,It didnt' set label on real page
I dont' know why it didn't work
 
A bunch of work fell on me like an hour ago tho, but then at least I have something to do next week :)
And I've also gotta study for a certification
 
@JamieTownsend Is it?
 
Apparently
 
@BinhTieu Well unless you're finding the control in the context of the page rather than the usercontrol, it will never set a label outside of itself
 
2:50 PM
yes,I see,But my project must use usercontrol
My large project has something relate with it.
 
smells like architectural issue
 
smells like teen spirit
 
@BinhTieu Setting properties outside of the context of a user control defeats the object of using user controls but I'm not gonna argue with you about that, try this (assuming the class name for your page is Default and your label on your page is called Label1): Default myPage = (Default)this.Page; Label Label1 = myPage.Label1; Label1.Text = "Look, I set the label's value!!";
picking up bad habits from people not knowing the difference between plural and ownership, damnit.
@BinhTieu Although that code will only ever work on that one page. Which is why you should NEVER do this =P
warm mountain dew is nowhere near as good as cold mountain dew =\
 
@Sean shhhhh
Talking to yourself, first sign of madness
 
I already know I'm insane, I have arugments with myself and ref the ensuing fights
 
2:57 PM
@Sean, since you are now my default ASP.net hero, here's another question for you
I have the GridView I mentioned earlier
 
oh goody, I LOVE gridviews
 
I now want to be able to click on a row in this gridview and let a DetailView pop up
how go I about doing this?
 
uhhhm...
uno momento
.net version?
 

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