« first day (746 days earlier)      last day (4207 days later) » 

11:00 PM
Gotcha
USING TOWER OF POWER:
using(productTable = new DataTable())
using(SqlConnection conn = new SqlConnection(this.ConnectionFactory.ConnectionString))
using(SqlDataAdapter adapter = new SqlDataAdapter())
using(SqlCommand command = new SqlCommand("spAdminGetProduct", conn))
 
well, the problem is that data binding in wpf needs you to store the value somewhere
 
WpfVL.BasedeDatosDataSet basedeDatosDataSet = ((WpfVL.BasedeDatosDataSet)(this.FindResource("basedeDatosDataSet")));

// Cargar datos en la tabla Visitas. Puede modificar este código según sea necesario.
WpfVL.BasedeDatosDataSetTableAdapters.UsuariosTableAdapter basedeDatosDataSetUsusariosTableAdapter = new WpfVL.BasedeDatosDataSetTableAdapters.UsuariosTableAdapter();

//Consulta
DataTable dt = basedeDatosDataSetUsusariosTableAdapter.GetDataByAct();

dt.Columns.Add("Mark");
 
and what happens when you try to bind to Mark?
 
i dont bind Mark
 
shouldn't that be the solution to your problem?
 
11:01 PM
my idea is when press button foreath row
and save the values of Mark in database
 
at first you said you wanted to add a column to your wpf grid
did that change?
 
in the xaml?
 
you tell me
you said "
i try to add a column in a listview that show a sql table data"
 
yes
in xaml
y add a new column
but when i enter values store in screen but when find in the row no found
 
didn't you just say there's no binding?
where do you expect to find the value if you don't have any binding?
 
11:06 PM
yes i supose that is the problem
but i don´t know how to resolve this
 
so why don't you bind your ListView column to Mark if you made a new column in your DataTable for it?
you know how to create bindings, right?
 
if i have the previous code DataTable how i can bind with listview?
 
do you know how to create bindings? and do you have anything working right now?
 
y don´t know
always the IDE create the bindings for me :( Sorry
 
well select your ListView in the UI, then look at the XAML for it in the XAML window
you'll see a few columns with stuff like {Binding Name}
add the same thing for your Mark column, and change Name for Mark
 
11:10 PM
ok
 
and I humbly suggest that you read about wpf DataGrids, DataTables, and bindings
 
yes i know
i do this things with Windows Form
but with Wpf is impossible ?
 
it's totally possible, that's why I humbly suggested that you read about it
 
i add this code
<GridViewColumn x:Name="mark" Header="Mark" Width="80">
<GridViewColumn.CellTemplate>
<DataTemplate>
<TextBox Margin="6,-1,-6,-1" Text="{Binding Path=Nombre, Mode=OneWay}" />
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
what is the Binding?
 
{Binding Path=Nombre, Mode=OneWay}
change Nombre to Mark
 
11:14 PM
But mark dont exists in this table
 
what is dt.Columns.Add("Mark"); for then
 
ok
and how to asociate listview with datatable?
 
at that point I'm afraid that I'll ask you to do a google search about it
 
@TravisJ probably. you can set a handler that fires for every .js file
 
11:17 PM
although I haven't done that personally, so I'm not sure how
I would look up an http handler tutorial
 
@kyle - I am kind of at a loss of what to do to be honest. Right now I am inlining this new code and I will deal with how to cache bust it later
 
if you want to bust the cache for testing, just add the query string
and remove it when you're done
 
I am calling the new function __CustomPanels for lack of a better idea
yeah, but I want it to work in production for others that have already been using the service
 
alright my shit's not working, everyone left because it's halloween and they have kids, now I'm off
 
listView.ItemsSource = dataTable.DefaultView
 
11:18 PM
I don't want them to get an empty view when they are supposed to get details
 
@TravisJ hmm, change the filename when you're done
or hardcode a query string
 
bye everyone, I hope you can get your stuff right @user1663513, there are thousands of examples of what you're trying to do on google
 
I think versioning like jquery does it the best practice
it just sucks because it is annoying as shit
 
i agree
 
@zneak thank you for all
i try some examples but i don´t get found
 
11:23 PM
I know this is Java lads.. but why does he use the term "base type" in this website:
http://math.hws.edu/javanotes/c7/s1.html
Would it be the same for C#?
 
oh come on Lews
 
 int[] s = new int[5] ;
 
you know that.
the base type of that is int.
 
Why? :O
 
because you defined it is as int.
List<BASETYPE> stuff
 
11:24 PM
But why not say the type.. why base type?
 
because the type of that is an array
 
When we use base type I think of inheritance
 
s's type is an array, its base type is int
 
well, since you are talking java, it is an object
just like everything
 
11:25 PM
@LewsTherin I agree with that view
 
So there are two types? An incomplete type and a complete type?
@TravisJ Yeah, except in the website it says int as well.
 
Don't let a poorly written article confuse you of what you already know :P
 
@JohanLarsson Yeah, makes sense right? First time I've heard of that,,
 
Hi all
 
@TravisJ This is also in a book lol.
 
11:27 PM
I just realized (out of laziness) I have the 3 creepiest possible things in my nightstand
 
What is the best way to make C# program (win Forms) start with windows
I don't want only administrators to have this option
I want all users to be able set the progam to start with windows
 
Services?
 
@Pheonixblade9 Please share.
 
@LewsTherin U talking to me?
 
@user1739957 Yeah
 
11:29 PM
@LewsTherin Wouldn't that require admin privledges, just like editing the registry
Its a simple program
nothing fancy
 
You can use the Startup folder.
I highly doubt that requires admin privileges.
 
@KendallFrey I has wondering about that, but I can't find it WIN8
Where is it in Win 7?
 
@KendallFrey Duct tape, condoms, and a webcam
 
@user1739957 C:\Users\Kendall\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
 
@KendallFrey Thanks man! /o
 
user142019
11:32 PM
@Pheonixblade9 why was that message flagged.
 
user142019
Stop flagging, it’s annoying to all 10k people on the entire chat.
 
@Zoidberg'-- idk.
I think I scared @KendallFrey off...
 
Of course not?
 
user142019
lol
 
11:34 PM
I was hoping you'd all share the contents of your nightstands
 
Um, books, and maybe a Kleenex box, and a few used Kleenexes?
I have no idea, really. I never look.
 
I'm just trying to imagine a creepier combination of 3 things
 
A mason jar, a roll of toilet paper, and a flashlight.
 
user142019
@Pheonixblade9 PHP, Java and Visual Basic.
 
@Zoidberg'-- you sick son of a bitch.
 
user142019
11:38 PM
:D
 
user142019
Makes me think of a graph I made a while back.
 
@Zoidberg'-- I can beat that. MUMPS, PHP, and COBOL
 
50 Shades of Grey, a bloody carrot, and a handgun.
 
@Pheonixblade9 - Or.. ASM, Fortran, and a Karnaugh Map
 
user142019
 
user142019
11:41 PM
@Pheonixblade9 PHP, Java, Bash. Proof:
 
@TravisJ I like ASM and K-Maps
 
user142019
Mitt Romney, Vladimir Putin, Linus Torvalds
 
@Pheonixblade9 - Yeah, but they are dark and scary with lots of cobwebs in them. No one goes in there anymore.
 
@Zoidberg'-- That graph is full of shyte.
 
I have a viagra in my nightstand
 
user142019
11:42 PM
@KendallFrey But I made it!
 
I went to school for computer engineering... I use K-maps to simplify my boolean expressions and freak out my co-workers by knowing to use A XOR B instead of (A AND !B) OR (!A AND B)
 
Got it from a girl in a bar a couple of years ago
never used it
 
Must... star...
Now no one will know what it is you got.
 
@JohanLarsson funny thing, most people usually use that phrase with regards to herpes
You bastards are just trying to knock me off the board
 
*broad
XD
 
11:44 PM
@KendallFrey no, the broads do that themselves quite well ;)
 
Jon Skeet's on the site right now... 497837pts. Do you think he'll hit 500K before Dec 21st?
 
@JeremyThompson Obviously Jon Skeet hitting 500k is the cause of the apocalypse
 
conspiracy?
will the SO counter goto 500K.. {so]'s very own Y2K bug?
 
Actually, that would be Jon hitting int.MaxValue.
 
@KendallFrey -> double?
 
11:48 PM
MaxValue couldn't take the wrath of Jon? I think it would buckle and increase
 
@JohanLarsson Omg Mrs infected you with the arrow thing.
 
I'm confused now
Ok, how about this, I bring the Viagra to work tomorrow and take it 30 minutes before sauna? Kool?
 
@JohanLarsson so you want all the naked dudes at the sauna to think you're aroused by them? Good idea.
 
@JohanLarsson Trying to find the transcript
 
That can be the maximum exploitive strategy!
 
11:53 PM
Ugh, couldn't find it.
 
what was it?
 
I once took a viagra and it got stuck in my throat. Had a stiff neck for hours!
 
@TravisJ I once took a Viagra and banged your mum. She had a stiff neck for hours!
:D
..I'll show myself out
 
Passive aggressive?
 
@JohanLarsson MRS1367 kept using ->
 
11:55 PM
¿?
 
Found it!
 
¿ʇnoqɐ buıʞןɐʇ noʎ ǝɹɐ ןןǝɥ ǝɥʇ ʇɐɥʍ
 
Oct 24 at 11:41, by MRS1367
-> means that person pay attention to the following text
 
˙ɐıןɐɹʇsnɐ uı ʇɐǝɹb sı buıɥʇʎɹǝʌǝ
 
hm
¡noʎ oʇ uo ɯɐ ı - 9ǝpɐןqxıuoǝɥd@
 
11:56 PM
advanced stuff
 
Oct 24 at 11:40, by MRS1367
@Bryan -> store _list.Count value to a new variable and replace it with new variable in the for loop condtion
Start of the conversation..
 
ok, it was unintentional by me
 
@TravisJ O͍̮͎͉̻̼̥̒̅͒ͭ̔̄̀b̪̥̰͓̮̙ͪ͐ͅv͍̤i͔̟̭̣͎̟ò̡̠̒ͨ͆ͬu̶̥̇̉s̆̓͐ͯͥͤ̚͏̜͓̮l̼̺͖̠̽͋̓ͩy̨̞̝̮ ͇̠̯͎̦ͅy͍̬̺̞̬͂ͧ̑́̅͛̌ͅo̧͖̗̟͈̙u̯͍̳͚̪̫ͪ ͈̺̈̽̂d̨̜̰̯̦̲͓͑̇̑ͣͭ̐̄oͬ͆͜nͬ'͚̰̙͘t͈͕̎̕ ̡̙ͯ̃ͤk̤͒n̈ͭ̆ö̦͑̏́w͔ͦ̑ ͍̳͚̯̬̘̭ͩ͆̉ͨͩ͛͑h͙͙̱͇̐͑̈̔ͅͅo̝ͣw̨̭͕ͅ ̒̂f͑́̈́҉̥a͔̮̟͕ͨ̒̂̋ṙͫ͏̺ ̎ͭͧ̽I͉̻ͧ̀ͮ̍̐̓'ͮͩͭ҉͍͇͚͇̦̳m̱̰̉ͥ͐͐ͨ̅͘ ̯̥͖̖̊ẅ̤̫̗iͣ͗͐l̪̦͗ͥ͛̀l̂i͌͌̕n̨̜̫̰̻̘̰ͯ̒̆̋̌͆͐g̤̝̓͆̏͞ ̳̠̲̫̥̯͈̍ͤt̤͕̯̠͇̼͈ͨ͡ŏ͒ͣ̍̽̔̃͏̳͉̱̤̖ ̡̈́̓ͦͩ͑̿g̹̣͕̻ͯͪ͒̏̂̀ȯ̫̲̜̜̫͉̻̂̍̃.͇͇̜̐̈́ͣ̉͑
aww, stupid encoding.
 
your zalgo failed
 
Yep.
eeemo.net SCARE YOUR FRIENDS
 
11:58 PM
Goodnight all
 
Obviously, you don't know how far I'm willing to go!
 
@JohanLarsson Night.
 
@Lews - nite
 
4432
A: RegEx match open tags except XHTML self-contained tags

bobinceYou can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool th...

@LewsTherin night
The end of that post is a masterpiece
 

« first day (746 days earlier)      last day (4207 days later) »