16,020,877 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Shridhar Gowda (Top 25 by date)
Shridhar Gowda
26-Feb-15 2:04am
View
In .net, whatever client side pages (.aspx, .js, .css, images etc) should be there in server. Same will be presented on client's browser. But .cs pages are server side pages which are not required by server. Instead, all data in .cs will be in .dll file in "bin" directory. So just notice that whether .dll is updating every time you build the application. That is enough. You can delete .cs files from server which is absolutely not required.
Shridhar Gowda
16-Feb-15 8:17am
View
Hi Anjana, I think its normal behavior. I visited your link. I guess slowness is because of amout of css, js and plugins used. Not becoz of images.
Shridhar Gowda
14-Feb-15 13:57pm
View
And updated
Shridhar Gowda
12-Feb-15 23:05pm
View
Same here.
Shridhar Gowda
12-Feb-15 23:01pm
View
First check select * from dbo.Issue_book ; then use functions u want
Shridhar Gowda
11-Feb-15 12:16pm
View
Drag and drop a script manager and an update panel from toolbox. Then place your repeater inside update panel. It works as you expect. i.e., ajax call.
Shridhar Gowda
11-Feb-15 1:46am
View
<forms loginUrl="~/LoginPage.aspx" timeout="2880"></forms> This line in web.config means, User can only access any .aspx page in application if and only if he crossed LoginPage.aspx successfully. Here .Master pages are nothing to do with authentication. Authentication is applicable to .aspx pages. Please refer below link for more info. http://www.codeproject.com/Tips/874663/How-to-use-Form-authentication-in-ASP-NET-and-MVC
Shridhar Gowda
10-Feb-15 12:45pm
View
15 to 20 min? Are you using 2g network? :) I am kidding. Please share the code details. Execute the stored procedure independently and see how much time it is taking. Focus your work on culprit section.
Shridhar Gowda
10-Feb-15 9:04am
View
Where are you executing this command? Use cmd.executenonQuery(). after all this code...:)
Shridhar Gowda
10-Feb-15 8:21am
View
Would you please elaborate the question? Provide the code what you have written. Where you are getting error
Shridhar Gowda
10-Feb-15 8:19am
View
try href="../font-awesome/css/font-awesome.css"
Also try "../../font-awesome/css/font-awesome.css"
Shridhar Gowda
10-Feb-15 6:01am
View
Are you sure all file paths are correct?
Shridhar Gowda
10-Feb-15 1:41am
View
Hi Sudevsu, WSDL is nothing to do with developer. WSDL is for client application to understand and generate service proxy. If you follow the 7 steps I mentioned, it will create the proxy and update the web.config automatically. When you create the object of this proxy and call the function in it, proxy will communicate with service and return you the result.
Shridhar Gowda
9-Feb-15 13:27pm
View
In the above example I given, function getdata() is in web service. It returns a string "you entered 32". U can view it in a messagebox.
Shridhar Gowda
9-Feb-15 10:17am
View
if (dt1 == 0)
{
Timer1.Enabled =false;//It will stop the timer
}
Add this @ Timer1_Tick event. If you no longer require the timer, just dispose it. Using Timer1.Dispose() function.
Shridhar Gowda
9-Feb-15 8:34am
View
in Page_load event of all .aspx pages u r using timer, add this code.
if (!Page.IsPostBack)
{
dt1 = Convert.ToInt32(Session["timerCount"]);
//Timer1.Interval=//Number representation in miliseconds
}
if (dt1 == 0)
{
Timer1.Enabled =false;//It will stop the timer
}
Shridhar Gowda
9-Feb-15 7:54am
View
Just replace localhost by IP of remote computer. Example "http://localhost:2626/myservice.svc/wsdl" is url generated in your local system. Use "http://10.134.56.45:2626/myservice.svc/wsdl" from other system. IP is the where you are running the code.
Shridhar Gowda
9-Feb-15 6:51am
View
Ya exactly thats what I too thinking of.. But here my intention was to correct the formula not to develop application :) I am expecting the guy who has posted this qsn will taken care of it.
Shridhar Gowda
9-Feb-15 5:55am
View
:) According to this formula description in wikipedia, a year starts from March=3 ends at February=14. So this February belongs to 2014 :)
Shridhar Gowda
9-Feb-15 5:38am
View
This is output for today's date:
Enter day of the month
9
enter the month
14
enter the century
20
enter the year of the century
14
The day is Monday
I am sure you might have missed input parameters
Shridhar Gowda
9-Feb-15 5:07am
View
This is the code I written in c#. It works exactly... Convert it into Your language.
class Program
{
static void Main(string[] args)
{
Console.WriteLine("enter day of the month");
int q = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter the month");
int m = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter the century");
int j = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter the year of the century");
int k = Convert.ToInt32(Console.ReadLine());
string h = calculateDay(q, m, j, k);
Console.WriteLine("the day is {0}", h);
Console.ReadKey();
}
public static string calculateDay(int q, int m, int j, int k)
{
int h = (q + (26 * m + 1)) / ((10) + k + (k / 4) + (j / 4) + (5 * j)) % 7;
int h1 = (q + ((13 * (m + 1)) / 5) + k + (k / 4) + (j / 4) + (5 * j)) % 7;
Console.WriteLine("h: " + h + " h1: " + h1);
string day = string.Empty;
switch (h1)
{
case 1:
day = "Sunday";
break;
case 2:
day = "Monday";
break;
case 3:
day = "Tuesday";
break;
case 4:
day = "Wednesday";
break;
case 5:
day = "Thursday";
break;
case 6:
day = "Friday";
break;
case 7:
day = "Saturday";
break;
default:
day = "h1: " + h1 + " wrong calculation";
break;
}
return day;
}
}
Shridhar Gowda
9-Feb-15 4:06am
View
Is Web.Config file is Outside of all WebPages? I think, the file you are referring to is outside of the web.config's boundary.
Shridhar Gowda
9-Feb-15 2:11am
View
Hi, Use Get method if you are not passing any data to server(Or simple and small data). As Get is faster compared to Post. Post is preferred when you are posting large data to server (or if it is sensitive and you don't want to show it on browser's URL).
Shridhar Gowda
9-Feb-15 1:05am
View
I think google is having some security reasons not to showing on iframe. Check it out. You may get an Idea.
https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options
Shridhar Gowda
7-Feb-15 21:41pm
View
Try https for google. Or else, simply use google.com it will automatically append http/https.
Show More