« first day (144 days earlier)      last day (1024 days later) » 
01:00 - 10:0010:00 - 13:00

01:44
@Wulworine you're here :)
 
1 hour later…
03:02
Hello @eirishainjel
now I am here
Good Morning
03:19
Morning...
@eirishainjel , @Wulworine
good morning @TheDictator
@eirishainjel wssup?
i'm good :)
oh i thought its ceiling .. :D
@eirishainjel
i have a question..
03:26
@Illaya now tell me.. whats ur problem
anyone here familiar with ajax...???
@eirishainjel yah tell me
i know lil bit.. but u can aske question here @Illaya
i have a code like this to print a panel aspsnippets.com/Articles/…
the panel contains grdiview. it prints but the output isn't colored.. :) help?
I want to call a method, which is in a Class written in C# winforms application.
public void highScoreXML(string playerName, string carName, string points)
{
}
Now, my question is, how to call this? I am using,
$.ajax({
   url: "MainClass.cs/highScoreXML",
   success: function ()
   {
	alert("Success");
   }
});
But its not working
@eirishainjel are u printing it using Black ANd White Printer??? :D have u checked that?
03:33
@TheDictator can you help me?
@Illaya that methsod should be static... its not a static..
My page got hanged..
@Illaya
0
Q: How to call code behind method from a javascript function?

user2729114I am having an javascript function for a HTML img click event in aspx page. And a server Method in its code behind page.Now I want to call the server method from the javascript function without any parameter only when the HTML img is clicked by the user. C# Code Behind Method: [WebMethod] publi...

yes.. i mean, the texts ae colored but it the color of the gridview (header, alternate-something) is not printing
oh is it... just a sec.. @eirishainjel
@eirishainjel
have u seen that they have provided style here...
        This is <span style="color: #18B5F0">Mudassar Khan</span>.<br />
        Hoping that you are enjoying my articles!</span>
so why dont u use headerStle tag in gridview.. to get that color in u have used class here then..
@eirishainjel
@Illaya best ever example for u
ahh.. ok, wait. i'll try
@TheDictator I am developing winforms application, not web application
the example you provided is a web application
03:42
@Illaya then why u are using web method... in windows form
wait... one of my friend is from windows team.. so he will guide u in quick succession
@Wulworine
I am using a web browser control in a winforms application
@Illaya ok but specify your requirements..
@Wulworine
gudmrn @Wulworine @The Dictator
Good Morning @Belinda
I just want to call the method in C# winforms application
03:47
@Illaya what's ur query? have u posted ur question on StackOverflow?
@Belinda morning how are u?
fine.... hru
@The Dictator
@Wulworine no. bcz I am getting "Sorry, we are no longer accepting questions from this account. See the Help Center to learn more." when to ask Question
m also good.. thanx for asking
hru @Wulworine
03:48
fine :) and u?
@Illaya just because many of ur questions got constant downvotes.. and u havent earn much reputation through giving answers.. so thats why this is happening
fine....thnku @Wulworiine
@TheDictator ok ok
so for that u need to give answers(proper and correct) to questions and need to earn good reputation.. then only you wiull be able to ask quesiton
@Wulworine can you help me
03:50
Hey
@AliK hello.. welcome
thanks
@Illaya let me check how can we use AJAX in windows form application"?
just a quick question regarding httpclient to call service
@eirishainjel just let me know if u complete your problem
03:52
Basically i'm making a number of alls to a webservice 3rd party and getting the underlying server closed connection msg
@Wulworine I know. we cant. So that I am using web browser control.
I have read that its not a good idea to wrap a httpclient call in a Using
yah.. but is it ok if i will get back to u after some time.. i am going for a meeting.@AliK
sure
if @Justcode come then u caln also ask him.. he will give u proper guidance as well
@AliK
03:53
@Illaya what actually want to do with ajax? may be there are other methods available.
Ok thanks
@Belinda why u left?
04:10
u r all so busy @Wulworine
I just want to call the method in C# winforms application using any method
where u were yesterday???? @Wulworine
@Illaya , @Belinda he is busy in meeting with boss.. so please wait for sometime
@TheDictator sure
ya sure.. @TheDictator
04:37
sorry @Belinda i was on call...
yesterday i was on holiday for two days saunday, monday
i arrived at home just @ 7am today.
oh... so you hav enjoyed a lot your holidays
yeah....
we have spent some time on OKHA beach
oh... how it will be.... charm and quiet place?!?! @Wulworine
@TheDictator you mentioned to wait for someone who might be able to help?
that was a very quite place.. and very refreshing...
04:44
so it will be nice to spend time.....@Wulworine...
yeah...
here marina beach will always full of crowd... i dont like that kind of place
@Wulworine
ok @Wulworine... am going for a meeting... I ll be back after some time
ohh... ok we'll talk later
@AliK thats @Justcode he is not came yet.. just wait fore more time.. and sorry as i need to go to meed my boss anytime.. so thats the reasone i am not able to help u
@Belinda when i was there in chennai .. every evening i went to marina beach and sat there..and enjoy seeing everything there
@TheDictator Didn't went to Besant Nagar Beach?
04:55
@Illaya i went there when i came there six years back.. i thing there is a church or some temple there
Yes. This besant nagar beach is very superb than the marina beach
actully marina beach is closer to my place... i live in Park town.. so thats the reasone i was goes there everyday
Yes I know. you already told to me
remember me?
04:59
yah i know u very well
the owner of some company... :d
No no. Its a lie. I am just working in a company.
Good morning @all
@Justcode u know anything abt httpclient?
Morning
1 hour ago, by AliK
Basically i'm making a number of alls to a webservice 3rd party and getting the underlying server closed connection msg
@Illaya i kew that.. and i caught u on that... :D
oh good good.
when @AliK
Its a webservice ronak
05:04
i'm back from lunch break ;)
Hi
when u got that msg ? @AliK
When service is called many times
@eirishainjel I back from breakfast :)
its high transact site
05:05
@eirishainjel did u got ur last query solution "sql 2000 cross tab"
show me ur code @AliK here pastie.org
Hi. I have an IIS related question about scaling up/out a web app. Say my web app is as follows

\Default Web Sites
|
|--App1 (`http://contoso.com/app1`)
|
|--App2 (`http://contoso.com/app1/app2`)

App2 is a kind of web api application. Using this type of a directory structure can we scale App2 - increase the number of instances serving App2?
not yet @Wulworine
oops...got the heirarchy wrong...
@deostroll
I think <httpRuntime executionTimeout = "number(in seconds)"/>
05:07
does that query gives invalid result or giving error like invalid syntax? @eirishainjel
can do for it
what does it have to do w/ runtime?
don't get u @deostroll
why the execution timeout?
invalid syntax.. the user that answered it said that he's not sure if it runs on sql 2000 since he doesn't have one. i try to debug his given code but it's not working. the sql 2005 version of his answer is running perfectly
05:09
Actually this is a question related with azure cloud services architecture...
ya but what kind of instances u want to provide users?@deostroll
simple call
read that it should not wrap in using
@AliK but connections?
The client is generated from wsdl, so connection is automatic when calling client.handler
05:10
If you have both the things running in a single web role, is the scenario possible
as its auto-generated i don't hav emuch control over client
vs created it
App1 is supposed to be lightweight - hence no need to scale
but app2 needs to scale
@AliK
I Guess
using (var client = new CWIPServiceClient())
{
client.Open();
var request = new CWIPRequest
{
//credentials
};

var response = client.handler(request);

}
client.Close();
should work....
@deostroll scale in which manners?
apparently thats the issue, the connection sometimes is closed before the client.hanlder
@Justcode i need to learn all these..
05:12
@Justcode well to handle traffic I think you'd want to scale out.
According to some artiales its becuate httpclient implements idisposable
increase the number of nodes
which disposes quickly
really just wanted to confirm if taking using out would be any help
or would cause any issues
@Justcode this page talk about how to run two different web apps in a single web role...
but I think this is analogus to having a sub-virtual directory setup in IIS
i.e. a virtual directory nested inside the main virtual directory.
@deostroll wait let me think i think there is setup in config that u can handle this much users at a time....
05:15
I am of the opinion we need two different web roles...
ya that's a best options
although
"integrated security=SSPI;SERVER=YOUR_SERVER;DATABASE=YOUR_DB_NAME;Min Pool Size=5;Max Pool Size=60;Connect Timeout=60;"
this will handle users synchronously
@eirishainjel so, it gives error like "invalid syntax near .......... Line No ... Column No...."?
@AliK i close() does not work?
it would not have a chance to work connection is clossed before close is even called, also this is random occurence
@Justcode i also there!!
05:19
so this happens when u have a multiple requrests right @AliK?
@Wulworine
18 mins ago, by Just code
Good morning @all
Yep multiple
why don't u download fiddler?
this will gives u idea where u stuck
Syntax Error converting the varchar value to data type int
@Wulworine
An existing connection was forcibly closed by the remote host
ok let me check that query again.. but, im also using 2005. but, i have created database for sql 2000 in my SSMS. i will try that query in that database
05:29
That is what it is exactly
try convert(<field_name> as int) @eirishainjel
so it might be too many connections
@AliK i think its going in infinite loop i guess
Because of the using?
there is no loop here
ya may be i am not sure
05:31
@TheDictator have you seen the query? what field should i convert? the grade? or the sport? but it cannot be
@Wulworine alright. i am also debugging the code
i have created database like that as u have defined in ur question and i have also tried that query.. on friday
let me check again
@eirishainjel actully whatever field is of varchar and u are ruight now passing parameters through int thats why this is happening ..
05:49
SUM(CASE WHEN sport.sportid=''' + sport.sportid + ''' THEN grade.grade END) AS [' + sport.sportid
+ '] '
FROM sport LEFT JOIN
grade ON
sport.sportid = grade.sportid
it should be like this on the first sql query right? @Wulworine
@TheDictator
@eirishainjel download this sample database and try to restore in ur sql 2000
then try to run this query.
DECLARE @dynamicCols VARCHAR(8000);
SET @dynamicCols = '';

SELECT @dynamicCols = @dynamicCols+
       ', SUM(CASE WHEN sport.sportid='''+sportid+''' THEN grade.grade END) AS ['+sport+'] '
FROM sport

EXECUTE (
      'SELECT student.idnumber AS ID, student.student AS Student '
      +@dynamicCols+
      'FROM student
       JOIN grade on student.idnumber=grade.idnumber
       JOIN enrol on enrol.sportid=grade.sportid
       JOIN sport on sport.sportid=enrol.sportid
       WHERE enrol.teacher=''91'' AND enrol.sy=''2014''
i haven't make any changes but, it was working fine in my database
06:07
i'll try it @Wulworine
ohk... then tell me.. what happened...
is field grade on tale grade varchar datatype or you put it as float/int?
yeah that's why i have gave u that sample database..
oh, i didn't see it. okay, wait
@eirishainjel after making changes it gives me error in above query
Msg 8117, Level 16, State 1, Line 1
Operand data type varchar is invalid for sum operator.
is grade field in Grade table varchar or int/float?
06:17
same error since grade field is varchar..
so grade field should either be float or int and so is id in table sport, am i right?
yeah
or u can convert it in ur query
yeah.. i try to convert it
something like this

SUM(CASE WHEN sport.sportid='''+sportid+''' THEN Cast(grade.grade As int) END) AS ['+sport+']
wow. it works! :D
so happy??
06:23
super.. i have this problem since the start of the year
how to have paramater here? like in WHERE clause.. enrol.teacher = ''@teacher''
it's not like that right?
use like this
WHERE enrol.teacher=''' + @teacher + ''' AND enrol.sy=''2014''
@TheDictator
wht r u doing man?
he is on call with boss
@Justcode i did ride on big tug yesterday @ OKHA port.
i will upload pics today on fb
06:51
@Wulworine i can use this on sqldatasource right?
:)
dataset is the best option right @Wulworine?
yeah... but, if the records returns in only single table view than datatable is enough.
Doc
Doc
Hi
dataset will contains multiple tables in it. So, in that case dataset is not needed.
but, when u r trying to join other tables also, then u have to use dataset.
Hello @Doc
welcome to ASP.NET room
so i will use dataset?
06:56
but i think it will be more reliable for dynamic connections...
i don't have much idea what u say @Wulworine?
yeah
dataset is just a collection of datatable
if u have result which can be displayed in single table view like @eirishainjel 's example then u can use datatable instead of dataset.
ya i know
ok right
Hello
So I have a web application deployed on my windows 7 machine and I need to test my application over my phone. How to connect my phone to my laptop wireless so i can access my deployed application?
@MohammadMMohammad when I tried a PHP website on my phone, i used connectify.
@eirishainjel sorry as i was on call..
@Justcode morning.. i ma here...
07:12
@eirishainjel I will try connectify
@eirishainjel i it used for static connections?
using wifi?
@Justcode what would be translated WIFI word in Hindi?
no idea
07:28
i like that... what is the cost of this device
07:52
Hello
So i install connectify and connected my phone to it
but when i open the url of my deploed application it is not opening
i have an asp.net application deploed on iis on my laptop windows 7
and i want to access this application from my mobile
what am i missing
?
08:10
@MohammadMMohammad you connect to the deployed app with the ip address?
Yes
@eirishainjel
Good catch @eirishainjel
who is out?
problem
now how many wickets are remaining....?
08:14
0 hatricks from @eirishainjel
hmmmmmmm
hmmmmm
man of the match goes to......
@eirishainjel
i don't know what to do next. lol. i only used connectify with php web on android
08:18
commentator >> what u want say about ur victory?
then i would like to change my announce "Woman of the match goes to....."
hey @Wulworine
post match presentation is running
where is our guest >> @TheDictator?
@Justcode i am here
08:20
he is not only guest he is a chief guest cum Sponsor
oh... give her trophy
@eirishainjel here i present u the Woman of the Room award
08:24
         ______
         '.        .'
         _\:.   /_
        //|::   |\\
        \\|::   |//
         `\::.  /`
           `\ /`
              T
         __/ \__
        |       |
       _|SUCCESS|_
       |  ~~~~~|
       ^^^^^^^^
and a check from Netwest Bank
i want cash.. lol
U can encash it after the presentation... :D
no @TheDictator given
08:25
@Justcode prize is in Pound not dollar
:D :D :D
paypal is there man
paypal lol
welcome back @Belinda
08:28
Thank u... Whr u doing???@Wulworine
Im not going anywhere
what are you doing?
Im testing our project
Im a windows application developer
in .net technology
gud....had ur lunch?
yeha just 30 mins ago
08:33
why don't i get dataset? lol.. i am used to use sqldatasource
how do u bind ur grid view?
@Wulworinie your office is gud. always you are all taking lunch at 1o clk itself.... here there is no proper time for lunch. Sometimes we ll have lunch by 3o clk...
ado.net
ohh.... dats not good @Belinda
what to do.... we have to obey the company rules.right? @Wulworine
08:39
yeah... that's also true..
@Justcode can u help @eirishainjel to bind gridview
ya ofcourse
ok... am going for lunch... See u later @Wulworine
next time friends :)
@Belinda hello
yeah c u @Belinda
08:40
it's almost 5pm here so i will be out
have a good lunch :D
ok @Wulworine
Hai @justcode
am going for lunch... I ll talk with u later. Please Dont mistake me... @justcode
hahahahahahahahahaha... @Justcode
hmmmm???
why should i ?@Belinda
08:44
u said hello... i said am going.. This s not a good mannerism.... But i have to go.Thatswhy.... @justcode
ohk nop
ok bye........
ahha... thats good
what is the meaning of aha?
achha
are evu
ooooho !!
08:46
so say achha
why aha!!!! ?? :O
@TheDictator comment pls
goodbye friends.. i'll see you all on June 3 :)
why this much @eirishainjel?
@eirishainjel what??? why???
@Justcode yah.. aha... means ..
we will have a training, for system deployment.. then i will be home at our province
u got this word heard from an indian? @TheDictator "aha"
@eirishainjel ur company rocks!!
08:48
@eirishainjel we can be in contact through mails as well...
aha...
i am working at a military school in the philippines :)
i will visit here maybe :)
aha...
good
@eirishainjel oh k ... no worries... enjoy your work.. happy training.. :D
08:54
aha...@TheDictator
good bye :D
@Justcode stop it..
@eirishainjel buy.. TC
aha...ok @TheDictator
M going tooo
?
@TheDictator
08:56
having some work
he he
work in relish?
hey @Justcode u laughing??
ya actually
@Justcode
ya man
09:02
@Justcode
ok want to play?
reference it well man
till now i havent faced this problem in any of my project
then whats this?
@Justcode
i think merging prob
09:04
what kind of merging problem?
anything make sure that its referenced it well
is it server error?
no its local then add reference again
i got that... bin folder was not included.. Rohit has just created the master page
hmm u really need to growup
i m worried one day u will find bugs in vs also...
and say sorry rohit does not have setup in his pc...........
but what i do.. i was just designing the page.. i havent noticed that he have not included thzat bin folder..
aha...
09:12
:@
@Justcode, @TheDictator, I have a table ( Tickets ) including column like Status ( value like: pending, resolved, closed ), CreateTicketDate. Now I want to show this result order by CreateTicketDate, but always show the "Status" value "pending" first, if any resolved value found, it show below
01:00 - 10:0010:00 - 13:00

« first day (144 days earlier)      last day (1024 days later) »