« first day (441 days earlier)      last day (727 days later) » 

05:34
@AnantDabhi o/
KEM cho bhai..
majoo majoo
tu keh
code generator malyu mane
morning
good morning all
05:51
MOrning PPl
06:18
In EF its not possible to set the ID field if its identity on a table when you use add method right?
@VikasRana
@TheDictator
@Gotalove not understand ??, pkid is set identity field usualy
yes
say you want to add a new record but set its ID
will it work with add method?
@VikasRana
like add a record with ID=2
i think not coz it is mostly auto incrimented
id will r auto add
so what method can we use to add and specify the ID
i just make it autoinc in sql server and ef do rest
@Gotalove
you can do this in class if you not use sql
06:30
but for some records you may need to explicitly insert a certain id
eg for code first
if not then is there a way I can set it to use another field in the find method?
make a field in class with type of int for this make sure it is distanct the rest depends on your needs but leave pkid to do its work
@Gotalove
wait doesnt ef use pk for find method always
@VikasRana
@Justcode @TheDictator wassup
06:36
They seem busy this morning
@Gotalove yes but you can also find with lambda ex
other fields
using where
@vishuminhas ping me when you are here of free
but that will return an enum not a model
I would have to declare a model and assign right?
Gud mrng Frnds
@Gotalove \
@VikasRana
how to get the count
plz checkthis pastie
count of records returned @suresh?
i want to the count for consultantname , group by vendor
@Gotalove
06:42
yes gota
use count of employeeid
cool Vikas
although without ef its usually possible to explicitly insert a certain ID
@Gotalove i tried but i will retrun over all count
it will return over all count
oh yes
thats not what you want
@Gotalove EF has lot of flexibility its depends on dev how he use it.
so do you know of a way to force Ef add to insert the ID you declare explicitly?
06:46
SELECT V.VendorName,
count(employeeID) as ConsultantCount

FROM Employee E,
Project P,
Vendors V
WHERE E.ProjectID = P.ProjectID
AND P.VendorID = V.VendorID
AND (P.Enddate IS NULL
OR P.EndDate >= Convert(date,getdate()))
AND E.PlacementType=1 group by VendorName
doesnt that return the correct number?
try getting rid of v.vendorname and use select distinct count employeeid
07:03
@Gotalove @VikasRana o/
o/ Dictator
07:31
2 messages moved to Trash can
posted on March 13, 2015 by kbironneau

/* by SynxS */

 
2 hours later…
09:05
Hello Guys
Anyone Here??
@yash no
Hehehe
Why today is So Silent??
don't know
do u know how give write access a file in winform setup??
in program files
09:09
yaar i have xml file in my setup folder and i want to edit it via form but it says access denied
lol, check read permissions
I Need Write Permission....
??
There is a Same File which is Editable in Program Files via Software....
I want same
@Justcode
don't know bro
09:35
posted on March 13, 2015 by kbironneau

/* by Frankie */

wassup ladies
@Elahe you there
09:52
@VikasRana on holiday
Jumme ki raat
chumme ki raat ;)
Are Jumma man jayega mera...problem solve karni he yaar
hey all
need some help
what is cgi file
and how it is responsible for command injection
?
@yash where are you from few days
no messages on whats app group by anyone
?
10:08
0
Q: Get Last two folder's name from URL using C#

Ram SinghI have a URL and from which i need to get names after "bussiness" and Before the Page Name i.e. "paradise-villas-little.aspx" from below URL. http://test.com/anc/bussiness/accommo/resort/paradise-villas-little.aspx I am not getting how can i get this. i have tried the RawUrl, but it fetched th...

what do they use for those small message kind of modals that are on facebook?
@VikasRana @Justcode
is it jquery modal
10:24
@Gotalove i'm not understanding you, can you please elaborate more
I was wondering how to get that floating kind of modal on a page
the ones without a title
for example you can have an insert page and when you post a message appears saying posted then disappears
@VikasRana you get now
?
rest api + graph search of fb
@Gotalove
okay is there some jquery css equivalent I can use
I dont exactly want to use fb's technologyu
oh they are alert like things nuget has spacial package for tham you can also make tham custom , and yes they use js @Gotalove
that was just an example @HarshBhavsar
so any link @VikasRana
10:29
wait
for custom you can use this @Gotalove
10
A: Success Alert popup in mvc4 View without using jquery and AJAX

karaxunaWhen you submit form, I think then you are redirecting, am i right? So you can use TempData for this purpose: In controller action: if(success) { TempData["AlertMessage"] = "my alert message"; return RedirectToAction("SomeAction"); } The view which SomeAction action returns (or in lay...

nice
awesome Vikas
thanks
let me try it
hope its abit stylist
unlike the alert
box
@VikasRana whats the equivalent but stylish version?
yes i used that but dont remember now you can show bootstrap popup or srch for nuget they hv vry cool dsgns
10:46
cool
on it
11:23
@VikasRana Do u know how can i set file permission while installing a setup?
@Gotalove
sorry nop
ok
I solved one MVC problem :D
Dan
Dan
Anyone ever had an issue with MVC 8 using ASP.NET Membership (With OWIN) in which login functionality doesn't seem to work on IIS 8? It seems to work just fine on IIS Express locally. I can register a new user, as I can see the new DB record.. however the login just keeps redirecting back to itself. I can also see in FireBug that it has set the Security Cookie...
MVC 5*
12:17
@yash no
which one @Justcode
my colleague had one problem :D
@Dan never tried that. may be you should put it on stackoverflow
 
1 hour later…
14:01
is iis instance pointing at the same db as iis express instance?
 
1 hour later…
15:06
posted on March 13, 2015 by kbironneau

/* by Arekibian */

 
2 hours later…
17:06
posted on March 13, 2015 by kbironneau

/* by Jo Labrycol */


« first day (441 days earlier)      last day (727 days later) »