« first day (2546 days earlier)      last day (2401 days later) » 

5:00 PM
Well there's where you went wrong.
 
dont link w3schools ever again
 
but here it uses like this: FOREIGN KEY(ID_articulo) REFERENCES Articulo(ID)
 
Don't link to me or my tutorial ever again
 
Fuck the system
 
private void Listview_Refreshing(object sender, EventArgs e)
{
how can I get the values from e? :)
 
5:00 PM
My problem is that I can put the values I want to foreign keys, which have nothing to point
 
@Failsafe 👌
 
when it should show an error
 
That's some quality room moderation right there.
 
Anyway @QuicoLlinaresLlorens that's really a question that we can't answer
There are so many considerations that go into that decision that we can't even touch on
 
5:02 PM
Come on folks - stop playing about...
2
 
Can I share with you my database ?
it is very simple, but I don't know where is the error
 
@JonClements wow your response time is fast
@QuicoLlinaresLlorens please don't let us into your database
or post any connection strings
 
it is an sqlite file on local
 
!!giphy you're gonna have a bad time
 
5:04 PM
I will answer all of your database design questions for $500/hour
And by that I mean I will cross post them to Database Administrators and charge you $500/hour for the privilege
 
>for the privilege
 
Goddamn right having me post your questions is a privilege
I got a reputation to think about.
 
? no you dont
what reputation
 
I didn't say it was a good reputation.
!!giphy but you have heard of me
 
 
!!afk noms
 
user7480455
5:20 PM
Mike I;ll pay you 500 in my homeland's currency for error page help.. good now that the paper work is done and dusted ... when should we proceed? :)
 
What's your homeland's currency
 
user7480455
well this offer is not to you
 
I've got a stupid question about stored procedures...
Um where should they live?
 
user7480455
on your sql server
 
I'm following a tutorial that says to use a stored proc for AdoNetAppender for Log4Net
and it seems to be on sql server but i don't know how the code knows about the stored proc
from sql server
 
user7480455
5:24 PM
you have to have a connection string
 
ok I have a connection string
 
user7480455
to tell your application where your sql server is
 
it knows where sql server is
but how does it know where the stored proc is?
 
user7480455
the data adapter
 
user7480455
that would created by your programming language has elements in it
 
5:26 PM
link your tutorial
 
user7480455
that know all of that stuff so once you make your connection it does the rest of the work for you I believe
 
It's a video
let me time it to show you where it goes over the stored proc
Here's where he talks about stored proc after showing a manual raw sql approach: youtu.be/2lAdQ_QwNww?t=47m21s
 
ok i watched that part
whats the problem?
in ADO.NET you call a stored procedure using cmd.CommandText = "dbo.myProc"; cmd.CommandType = CommandType.StoredProcedure;
log4net just uses ADO behind the scenes
the parameters are defined in your parameters section
you do not need to list them again
 
I never used a stored proc before
I want to create a new stored proc but if it lives in sql server, how does log4net know about it
location wise where to look for it
 
because the ADO.NET data provider knows about it
 
5:37 PM
ok um how do I create a new stored proc inside sql server? Just new query, create the stored proc and execute it?
Does the stored procedure need to live somewhere in particular? Like what folder in sql server?
 
what program are you using to view sql server
sql server management studio?
 
yup
 
Database -> Programmability -> Stored Procedures -> (right click) New Stored Procedure
 
cool thank you so much
What's the difference between natively compiled and regular SP?
 
im sure google can answer that better than I can
 
user7480455
5:47 PM
bing is better
 
haha probably, thanks a lot again @Failsafe!
I'm writing my first stored procedure ever now :O
 
user7480455
but I notice alot of people push people toward internet searching... which makes some wonder why are people in a help forum lol
 
user7480455
good luck...
 
user7480455
are you doing this in management studio
 
yup SSMS
 
user7480455
5:49 PM
nice
 
I rarely do DB work, so I'm like omg scary world out there
 
user7480455
I will see if I can find the resource I use to help me remember the syntax and I will send it over
 
No worries, I got the syntax for stored proc
I just need a simple insert
 
user7480455
I look up things called cheating sheets.. I find them to be helpful
 
5:53 PM
@Euridice01 why
 
user7480455
this one is a download but I use this as well
 
sql is like ling but 10 times easier
 
I like linq better
and I use linq daily versus interacting with db directly
 
5:54 PM
?
 
its pretty much the same thing
on my freshman year
we had a db class right
so in order to implement the framework we did an aspnet website to interact with the db
thing was so stupidly easy its not even funny
 
I mean to say, I'm mostly a front end developer
so I rarely do legit db stuff in SSMS
besides basic queries if I need to look at db data
 
ask net datagrids had built in query commands
asp.net*
you pretty much deleted or inserted a row and that was auto reflected to the sql server
without writing a single line of code
i miss asp.net
now being replaced by net.core
 
webforms is disgusting
 
no
they are the future
 
5:58 PM
thats.....very debateable
 
we are so close on writing something on c# and then be used everywhere
the viewmodels are love
 
user7480455
no so failsafe
 
user7480455
not so at all
 
viewmodels are life
 
user7480455
webforms is still web stuff
 
5:59 PM
webforms is horrid
 
viewmodels exist in .net core right?
 
but right now they are closer than ever
 
user7480455
and people did web forms before mvc and thought it was good
 
it is widely considered a bad framework
 
You can still use MV* pattern in .net core
 
5:59 PM
viewmodels exist everywhere
 
widely
 
webforms is bad because there is no pattern
 
user7480455
you only say that because people around you say that failsafe
 
xamarin forms uses vmmv
mvvm*
 
@007 no its because i've used it before
 
user7480455
5:59 PM
older people like me this is what we learned on
 
yeah I used web forms too and hated it
 
user7480455
I see
 
there a mix of logic in the views
 
no you didn't because you haven't been programming for that long unless you lied about that too
 

« first day (2546 days earlier)      last day (2401 days later) »