« first day (391 days earlier)      last day (777 days later) » 
03:00 - 11:0011:00 - 18:00

3:46 AM
Good morning guys..:)
@AmitKumar how many records your List Item contains?
 
4:41 AM
good morning all
 
4:55 AM
good morning all
 
@VikasRana Today room is empty why?
 
don't know may be .....
@vishuminhas you listen about MS Hololens launched yesterday
 
nope Hololens means?
 
ok @VikasRana
Seems Nice framework
 
5:09 AM
its hardware like google glass
 
will you please more elaborate?
 
good mrng frnds
 
you have seen 3d objects in iron man movie in tony's workshop something like that @vishuminhas
 
@VikasRana @vishuminhas
 
Yup @VikasRana but what is the benefit of this for us?
hey @Suresh
Are u trying to send email?
 
5:12 AM
@vishuminhas yes with attached word document
got error while spliting
 
what error you are geting?
@Suresh
 
strsendtoMailArray = Org.BouncyCastle.Utilities.Strings.Split(sendto, ";");
actually i converted code from vb to c#
in vb code like If sendto <> Nothing Then
strsendtoMailArrayList = sendto.Substring(sendto.Length - 1)
If strsendtoMailArrayList = ";" Then
sendto = sendto.Substring(0, (sendto.Length - 1))
End If
strsendtoMailArray = Split(sendto, ";")
in C# strsendtoMailArray = Strings.Split(sendto, ";");
 
Hi
Gm all
 
@DH__ gm
 
@Justcode @Nimesh @TheDictator finally I used this and it works... stackoverflow.com/a/28067781/1624583
 
5:14 AM
'System.Linq.Strings' is inaccessible due to its protection level got this errror
 
@Suresh ok
 
@vishuminhas how to solve this pbm
i serched over the google bt didnt get
 
yeah i am just looking your problem
 
@vishuminhas @DH__ @Suresh windows 8.1 pro with licence from ms in 3499. is it good
 
i used windows 7 only
 
5:17 AM
nah i'm talking about price official price is 18k
 
@VikasRana it will good for desktop machines only
 
@vishuminhas it will also good for laptops
 
naa consumes more battry
 
how o solve
 
@vishuminhas bhai price ??
 
5:19 AM
hehehe ok
 
3500 me licence mil rha h or kya chahiye
Its Student Licence
 
lifetime?
 
@DH__ have u used directive for that?
 
@Suresh system is trying to call the "String" method that is in "Microsoft.VisualBasic".
 
5:26 AM
 strsendtoMailArray = sendto.Split(';');
 
you should convert it properly and it will work
 
@vishuminhas is this correct way??
 
yeah this is correct @Suresh
 
Gd Mng @VikasRana @Gotalove @Nimesh @SpringLearner @vishuminhas and all
 
whare you declare strsendtoMailArray
where you declare strsendtoMailArray?
 
5:27 AM
string[] strsendtoMailArray = null;
string strsendtoMailArrayList = string.Empty;
 
@Suresh
 
@vishuminhas
 
good morning Cool
hello @vishuminhas @VikasRana
 
@Nimesh morning
 
shall i send pastie @vishuminhas
 
5:29 AM
morning @Cool @Nimesh
 
@suresh in ur pastie code you are trying like this strsendtoMailArray = Strings.Split(sendto, ";");
 
what should i do guys?? should i accept their policy and join that company or not?
 
yes correct @vishuminhas but this way i got error
 
@Suresh question nd code?
 
@Nimesh strsendtoMailArray = Org.BouncyCastle.Utilities.Strings.Split(sendto, ";");
actually i converted code from vb to c#
in vb code like If sendto <> Nothing Then
strsendtoMailArrayList = sendto.Substring(sendto.Length - 1)
If strsendtoMailArrayList = ";" Then
sendto = sendto.Substring(0, (sendto.Length - 1))
End If
strsendtoMailArray = Split(sendto, ";")
in C# strsendtoMailArray = Strings.Split(sendto, ";");
 
5:32 AM
@Nimesh if i were you i wait for batter oppturnity (ITS MY PERSONAL OPINION, ASK MOHIT ALSO WHEN COME HERE)
 
@Nimesh
pastie.org/9850314
code
 
@vishuminhas pastie.org/9850337
 
getting error here?
strBCCMailArray = Strings.Split(BCC, ';');
 
this is my full code for attach word and sending mail
yes getting error
 
dont pass BCC in split parameter
 
5:35 AM
strCCMailArray = Org.BouncyCastle.Utilities.Strings.Split(CC, ';');
this line also
 
try with .split(';')
 
then how to split ? @vishuminhas
BCC.split(';')
 
yeah
 
ok i will try
 
have you tried with this?
 
5:37 AM
check my coding
i tried
 
and what is the error message u r getting is?
 
strsendtoMailArray = sendto.Split(';');
 
Hi Guys
Good Morning
 
@VikasRana yeah thats right so, i am thinking to reject it
morning @Mohit
 
5:38 AM
Good Morning @Nimesh @vishuminhas @vishuminhas @Cool @Gotalove
Good Morning @Sabilv
 
@Suresh ERROR MESSAGE?
 
!!Good Morning
 
@Mohit That didn't make much sense. Maybe you meant: food
 
ya Ice cream
 
@Nimesh if you desserve batter wait for it
@Mohit what you say
 
5:39 AM
Oh She said you mean food
i wrote ice cream
 
@Mohit say morning only
!!morning
 
@Nimesh Very Good Morning :)
 
i taught her
 
@Mohit
 
ha ha ha
 
5:43 AM
@VikasRana i can accept their policy in only one case if the HR is agree to spend 1-2 hr daily to chat with me
 
how to make button disable during AsyncCallback in wcf application?
 
@Nimesh haahaa ask hr
what is company name hr must be on linkdin
 
it is a network based app. so, I want to disable login button during login process. @Nimesh @VikasRana
 
@VikasRana is it possible?
look at the @Ranger query?
 
yeah @vishuminhas
i am very new to wcf
 
5:47 AM
wcf is working like a middle layer right?
 
no. It's a service for desktop application
 
@VikasRana yeah but, she has uploaded company's logo
 
Gd Mng @Mohit
 
hmm she must be on fb whats her name
 
Morning
 
5:51 AM
@ranger you will disable your button in desktop application code behind ?
How it will be in wcf ?
 
yeah.. that i want to do. but, don't know how to do.
 
@Ranger getting issue in accessing different thread ui control?
 
no no no
basically there are two applications
 
ok
 
5:52 AM
one is wcf service another is desktop application which is using that service
so i want to make button disable during login process
 
@Nimesh found her :))
 
your quetion was not clear how to make button disable during AsyncCallback in wcf application?
 
because user can click multiple times on login button and when response coming from service for authenticated user it runs multiple instance for single application
 
you should also refer your frontend framework you are using?
 
Hi @Cool
 
5:54 AM
ok
 
i just don't want multiple instance for desktop application
only single instance at a time
@TheDictator have a look at my problem
 
hi @Mohit hw r u?
 
I am fine
what about you
 
6:18 AM
Im still confused and thinking about how the application is looking. is it desktop wpf application?
 
morning all
 
@VikasRana yeah but, she has not uploaded her photo
 
yes
o/ @yash
 
Mornign Guys...
\o @VikasRana
 
6:40 AM
Morning @yash
 
Morning...@Mohit
 
Afternoon yash
so how's going
 
still having problem in DataTable....@Mohit
 
had you applied the same code which i had sent earlier
 
@Mohit in which kind of application WebApi should i use?
 
6:42 AM
yes...but didn't worked....
Getting error....Invalid JSON Response...
 
meaning Nimesh???????
I don't get your question
@Nimesh this one
 
@vishuminhas @vishuminhas: In my table There is only 3 column. And total no of Record in table is 3.
 
u know there is a feature in .net call webapi. in which cases I should go with WebAPI in ASP.NET MVC application?
@Mohit
 
Here is My c# code...@Mohit
 
I know there is a variant of ASP.NET called ASP.NET Web API
as there is MVC and Web Forms
and you have to use that when your client is using HTTP to get result
so if you are dealing with much JSON then it became the ultimate choice
 
6:45 AM
@Mohit yeas that's what i need to know
 
but if you wanna use SOAP i don't recommend it then
Go for WCF
another variant of .NET
 
@Nimesh @Mohit Help me out yaar.....
 
@yash try Newtonesoft for json result
 
Thats what i am trying...
 
well actually i had checked your json
i don't find it wrong
it should be working as per me
 
6:48 AM
yes...but don't know why it is not working.....
 
@Mohit might be the problem is json and application/json. need to see both code client side and serverside
@Mohit thanks for the information. I need to learn more about it
 
i will show Client side code too....
 
OK
 
@Mohit @Nimesh
 
Good morning guys
 
6:52 AM
Morning....@Gotalove
 
Morning @Gotalove
 
@yash try to create json a new object and convert it into json object on server side instead of passing datatable row. it is possible that u r missing some properties
 
good noon all :)
 
ook....@Nimesh
 
Gd aftn @Gotalove
 
6:59 AM
is there any method we can get form controls values in IEnumerable<Project1.Models.abc> type View
 
Class myClass
{
    public int id{get; set;}
    public string name{get; set;}
}

List<MyClass> lst = new List<MyClass>();
foreach (DataRow dr in dt.Rows)
     lst.Add(new MyClass() {id = (int)dr["id"], name=dr["name"].toString()});

return JsonConverter.Serializeobject(lst);
@yash
 
ok....let me try it....
@Nimesh
 
@Nimesh @Mohit @yash
 
yes....
 
^ question
 
7:04 AM
@VikasRana dont get it.. means there are some properties which datatype is IEnumerable. and also all the property which datatype is like List which can have GetEnumerable() method. I am confused now.
 
yes
 
@Nimesh this is model of my view
@model IEnumerable<Champ.Models.champ_tktmsg>
 
le...
 
how can i create a form which able to submit values\
 
5
Q: how to get all controls of win form?

Shaileshi have a win form named A , A contains lots of different controls ,first contains a main groubbox and this groupbox countains lots of table and others group boxes. i want to find a control which has tab index 9(example) in form A but i dont know which groubox contains this control. how i found th...

is that what you want
 
7:08 AM
in champ_tktmsg table
 
r u retrieving values from database? @VikasRana
 
@Mohit i'm using mvc razorview
@Nimesh yes
 
@VikasRana use List<Champ.Models.champ_tktmsg> object and pass that list into ur view
 
ok i try it @Nimesh
 
List<Champ.Models.champ_tktmsg> lst = new List<Champ.Models.champ_tktmsg>();
lst.Add(new Champ.Models.champ_tktmsg() {....});
lst.Add(new Champ.Models.champ_tktmsg() {....});
lst.Add(new Champ.Models.champ_tktmsg() {....});

return View(lst);
just like this
@VikasRana
 
7:10 AM
hmm ok
@Nimesh got erro
 
why u have deleted ur error message?
@VikasRana can u show me that code where the error is showing?
 
solved the error :p
 
hehehe good
 
lambda expression not working
 
@Mohit do u know what is the benefit of being online on SO?
 
7:16 AM
problam persisiting now
 
@VikasRana make sure u have initialize mode correctly
 
wait i show you my form code
 
Morning office lovers
 
@Justcode morning
line 4
 
what is m? have u bound the view with ur model class?
try to use like model => model.FirstName
 
7:19 AM
yes
@model List<Champ.Models.champ_tktmsg>
m is for lambda expression
 
hehehe no
 
like use for TextBoxFor<m=>m.id>
@Nimesh
 
@Nimesh What???
 
@Html.TextAreaFor(model => model.id)
try to use like this
@Mohit we can be good at trouble shooting
 
yup but sometime i also feel after seeing many question that i know nothing
 
7:22 AM
wassap?
bhai log
 
Hi Ankit
Good Afternoon
 
Good noon
mohit
whats going on?>
 
@Nimesh i think it doesn't matter whether you use m or model or o in LE anyway not working :p
 
MVC O_o
@VikasRana have you initialized your model at page top?
 
yes
but model is of list type
 
7:25 AM
show that full code
 
@Mohit yeah but, u know that what kind of problem developer are facing during application development. So, u has to think about it and try to get best logic to resolve it.
 
thats the problam
 
yup
 
is it cascading? @VikasRana
 
hain ??
wait
 
7:26 AM
is your list inside another list?
@Gotalove I wanna tweet :P
 
(V) twit twit
 
lol
 
AFK LUNCH
 
@Justcode @Nimesh @Mohit my full code
 
fyea
@VikasRana and the error is?
sorry I joined late
 
7:29 AM
@Justcode i want to enter some value from this form
as useual we use
TextBoxFor(model=>model.name)
 
so your edit is not working right?
 
but this is not working when i use List<...> type model
yes
 
posted on January 22, 2015 by kbironneau

/* by AdminSys */

 
Do you have multiple data?
@model List<Champ.Models.champ_tktmsg>
change to
@model Champ.Models.champ_tktmsg
why using list?
 
yes list from table
because i need this
seemy gridmvc code
 
7:32 AM
but I don't see why you need a list?
 
i'm displaying data of multiple rows from a table
 
ok
22
A: Model Binding to a List MVC 4

AaronLSThis is how I do it if I need a form displayed for each item, and inputs for various properties. Really depends on what I'm trying to do though. ViewModel looks like this: public class MyViewModel { public List<Person> Persons{get;set;} } View(with BeginForm of course): @model MyViewMode...

ye le
 
prob is not getting list prob is Create new record in that list in same view
 
IF I'm getting you right then you need to access your data from list because model can not be used directly like what you're trying to access currently
 
hmm chal chhod yar lunch ke bad dekhte hain
aw thanks all
 
@Nimesh got this error 'System.Linq.Strings' is inaccessible due to its protection level got this errror
in meeting
so too late
i tried but got error
@Nimesh pastie.org/9850337
 
string[] strsendtoMailArray ;
@Suresh
change to this
and point me out where you are getting that error?
 
@SpringLearner oh but does it allows same no on multiple locations?
 
hahaha @Justcode
 
@Justcode havent tried yet,just saw in the news and posted here
I dont know why whatsapp web is not showing in my mobile
 
@SpringLearner u need updated version of whatsapp.
 
@HarshBhavsar yes I did that
just now I updated it
 
8:04 AM
http://www.nirmaltv.com/2015/01/22/use-whatsapp-desktop-chrome/
@SpringLearner
 
@VikasRana u cannot find the id field in List<Model> object u need to take an element either by loop or by index but, enumerable does not supports index so, u have to use foreach statement for that
foreach(var m in model)
     @Html.TextBoxFor(m => m.id)
 
@Gotalove :P
where is it in android??
 
@HarshBhavsar thanks
 
nice
 
@Justcode was laughing about twit
 
8:08 AM
also check education.skype.com
@Gotalove yea me too hahahha
 
@Suresh in which line u r getting this error highlight the line and paste ur pastie link again pastie.org/9850337#75-76
 
Hey all
 
@Elahe o/
 
/0
 
afk sleeping
 
8:14 AM
afk chatting
!!!!?
 
@Nimesh That didn't make much sense. Use the !!/help command to learn more.
 
hey nimesh can you put some conversation?
 
@Justcode he is busy and didn't talk with me since last week.. sorry, no new joke now
 
ok :(
 
hahaha
 
8:16 AM
@Justcode seems new twitter feature has attracted u toward it
 
no we can build up new code language especially when this room has girls!
 
ohh really hahaha
 
ok afk sleep now ._.
 
let me simplify me question how to add new row with Grid.Mvc
 
o,_,,,
@VikasRana if ur model is IEnumerable then u have touse foreach statement thats it
 
8:21 AM
@Nimesh you has three lags O_O
@Nimesh foreach for create new record????
 
@VikasRana not that was kambal
@VikasRana oye
 
ohh
 
16 mins ago, by Nimesh
foreach(var m in model)
     @Html.TextBoxFor(m => m.id)
 
i was thinking something else
kk m trying
 
its simepl if u have a List<String> lst object then how do u check if element is containing "something" string in it
 
8:24 AM
got it tnx
 
if (lst[0].Contains("something"))
   return true
or
foreach (string str in lst)
    if (str.Contains("something"))
        return true;
 
8:52 AM
@Ranger sorry i was offline
 
Hi Ronak
Good Afternoon
 
9:09 AM
@TheDictator Hello
@Mohit Wanna ask you something....
 
yes @yash
 
9:31 AM
 
9:45 AM
hi
 
@Cool @Nimesh are you guys here?
 
yes im here
 
I need one help in sql
i have a table SVC_ServiceTicketClaims which has a column serial number
ticketid and claim
if ticketid is duplicate then Sno will increse
for example
 
ur all requirement needs TSQL work
 
10:01 AM
hi
can i optimise this query further?

from qg in _entities.DevicesToQuickGuides
where qg.Device.BrandID == BrandId
from qgSteps in qg.QuickGuide.QuickGuideSteps
where qgSteps.QuickGuideSectionID == SectionId
from qgText in _entities.QuickGuideTextCultureDetails
where qgSteps.QuickGuideTextID == qgText.QuickGuideTextID && qgText.CultureID == 23
select new BrandsDisplay
{
BrandID = qgText.QuickGuideTextID,
BrandName = qgText.QuickGuideText,
}
 
yes @SpringLearner
 
@Cool @Nimesh so how will i insert into sno by getting the previous sno
 
want to do it manually or in SQL Query?
without TSQL it is not possible
 
it can be done like
insert into SVC_ServiceTicketClaims(Sno) select (sno) from SVC_ServiceTicketClaims
but how to increase by one
 
@Nimesh, @Mohit, @yash, @VikasRana, @vishuminhas, @Ranger, @Justcode any suggestions
 
03:00 - 11:0011:00 - 18:00

« first day (391 days earlier)      last day (777 days later) »