15,893,588 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 Javascript questions
View Visual Basic questions
View Python 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 Ajith K Gatty (Top 139 by date)
Ajith K Gatty
15-Oct-15 2:26am
View
Please add your code snippets so that it will be easy to help you :)
Ajith K Gatty
31-Oct-14 6:17am
View
solution1 looks good. implement that.
Ajith K Gatty
14-Oct-14 2:13am
View
that is how it supposed to be. you type something and enter programs knows that u are done with typing and triggers the corresponding event.
Ajith K Gatty
14-Oct-14 2:08am
View
try window.history.go(-1); But im not sure whether it reloads the page again.
Ajith K Gatty
1-Oct-14 10:51am
View
Hehe.. Sorry :)
Ajith K Gatty
23-Sep-14 9:13am
View
Hi,
in your program this.DDLPKGMinorCode.Text it self is a string and there is no need to add .ToString() method to it.
Check that once.
Ajith K Gatty
23-Sep-14 4:04am
View
Deleted
Hi,
In ItemDatabound event of grid add all the values of Datafield "Debitor" and assign it to a public variable or something. Then in Button click assign that to the text box.
Ajith K Gatty
23-Sep-14 3:55am
View
Thank you Praneet :)
Ajith K Gatty
18-Sep-14 8:23am
View
Post your code. It will be easy to find the real problem.
Ajith K Gatty
18-Sep-14 8:21am
View
I think he wants to split the string based on '?' and assign it to new string.
Ajith K Gatty
18-Sep-14 8:18am
View
What do u expect from us ???
Ajith K Gatty
18-Sep-14 1:47am
View
Hi,
The value counts are matching. But check the values you are passing is proper or not.
Ex:You have a column Named DataID and the corresponding value to that is NULL.
Check it once.
Ajith K Gatty
23-Jul-14 6:53am
View
You need to explain properly.
Ajith K Gatty
23-Jul-14 6:50am
View
hello brother,
You should Google for this. You will get good solutions.
Ajith K Gatty
23-Jul-14 6:48am
View
hello GoneBump,
I think you are binding this datatable to some gridview. Then you can use few words in a particular column and you can provide a tooltip to get full details.
According to me you shouldn't modify the result what you are getting from the query. it would be better if you modify the result in the control where you are gonna bind this table.
Ajith K Gatty
5-Jun-14 8:52am
View
Hi Surajemo,
follow the suggestion of Peter Leow.
If you are considering real world scenarios(Employee leave Management) then every year this value gets refreshed.That is say you have total 30 days leave in a year, and you haven't used any of it.Again in next year you have again 30 days leave and u didnt consume it then you will be still having 30 days leave instead of 60 days.30(a years total leave) days amount will be given to you.At any conditions you cant have more than fixed leave count(Decided by company). So dont worry about so many past years record.
Ajith K Gatty
5-Jun-14 8:34am
View
some already posted solution for your previous question.Kindly check it. If it is not working as per your need please come back.
Good Luck
Ajith K Gatty
5-Jun-14 7:57am
View
yes. It looks fine to me.
Ajith K Gatty
5-Jun-14 7:24am
View
and also see this link "http://code.msdn.microsoft.com/101-LINQ-Samples-3fb9811b"
Ajith K Gatty
5-Jun-14 6:27am
View
really a good work.
Ajith K Gatty
5-Jun-14 6:24am
View
good solution.
Ajith K Gatty
5-Jun-14 6:22am
View
hi,
give all div different id. and call hide explicitly for each div in script. It works. I mean deletes all your div.
Ajith K Gatty
5-Jun-14 5:53am
View
Hi...here,Developers will help you to fix your errors and i dont think that they will code for you. Try to code. when you are in problem please come back with specific error details. Everyone will be happy to help you.
Ajith K Gatty
5-Jun-14 5:48am
View
This solution was down voted. May i know the reason so that i can learn from my mistake. Please. :)
Ajith K Gatty
5-Jun-14 5:32am
View
Post your code please!!!
Ajith K Gatty
5-Jun-14 5:25am
View
let me confirm again....I checked and i dont see the problem in that...Will see..Someone else may face the same problem like u.
Ajith K Gatty
5-Jun-14 3:52am
View
And i checked your code with IE.It is proper.
Ajith K Gatty
5-Jun-14 3:48am
View
hey,
Correct your Id names ok. in script u are using wrong Id's.Check spellings.
Ajith K Gatty
5-Jun-14 1:29am
View
Hi Sharath,
Actually what you wanna do??
Ajith K Gatty
5-Jun-14 1:20am
View
Solution looks nice.
Ajith K Gatty
4-Jun-14 9:30am
View
Hi Rajesh,
Do you really think setting that value to 0 and running forever sql server is a good idea??? I dont yhink so.
Ajith K Gatty
4-Jun-14 9:25am
View
Hi,
I think you should do more research about this on google. Consult your Seniors as well.
Ajith K Gatty
4-Jun-14 9:14am
View
good explanation Sir!!
Ajith K Gatty
4-Jun-14 9:14am
View
You are reposted your question again with little changes. But your query is again wrong exactly like your previous post.Use ' and " properly. Check that last post please. Just fix it first. Then debug. Good Luck.
Ajith K Gatty
4-Jun-14 7:01am
View
Error in Style??? what error?
Ajith K Gatty
4-Jun-14 3:37am
View
Hey,
Most of the time this error comes because of the mismatching versions. If your system is 64 bit make sure that crystal report is also of 64 bit.
Ajith K Gatty
4-Jun-14 3:21am
View
i think this member want to divide this paragraph in to columns.
Ajith K Gatty
4-Jun-14 3:16am
View
I have never tried this before. So i just googled it for you. im not sure how it will help you. but now u explained what you want exactly rit, you will definitely get help from here. try this URL-->"http://msdn.microsoft.com/en-us/magazine/cc507635.aspx"
And what you explained in this comment, use the same in your question. Developers will get a better idea about your need.
Ajith K Gatty
4-Jun-14 3:02am
View
if you want only Nationality, remove * and add what you want to retrieve(Column Name) based on UserName.
add try catch block always when you are working with databases. It will help you a lot in finding errors.
Ajith K Gatty
4-Jun-14 2:59am
View
Like sending OTP??
Ajith K Gatty
4-Jun-14 2:56am
View
Hi,
Add ;.ie;
OnClientClick="return ele();" It may not trigger without proper syntax.
Ajith K Gatty
4-Jun-14 1:41am
View
Hi Ashwini,
Use debugger to find the error. And from stack trace u can identify the error as well.
and check your string str="" once. It Should be "select * from BAsiccdtl_tbl where UserName='" + usertxt.Text +"'";
Confirm once.
Ajith K Gatty
3-Jun-14 8:55am
View
In JS > or < works fine with date. Do you get any error?
Ajith K Gatty
30-May-14 5:46am
View
Best answer (y)
Ajith K Gatty
30-May-14 3:43am
View
Its ok bro. you did a good job.
Ajith K Gatty
30-May-14 3:41am
View
Hey Naz, Nice answer for a good curious question.
Ajith K Gatty
30-May-14 3:26am
View
Good work bro!!
Ajith K Gatty
30-May-14 3:18am
View
Hi,
See your function whichDirection (x) {}. in that replace direction by x. You have your correct output. and correct that </form>. It is missing <form>.
Ajith K Gatty
30-May-14 2:58am
View
what error u get?? tell about it so than we will understand the real problem.
Ajith K Gatty
30-May-14 2:37am
View
Hi...Your explanation is good. but when you split PHP- based on '-' you wont get '-' in second part. i think the second part is just "". just verify once.
Ajith K Gatty
28-May-14 6:25am
View
You are new to MVC5. Ok. Are you even new too OOP Concepts??
Ajith K Gatty
28-May-14 6:21am
View
Nice effort (y)
Ajith K Gatty
28-May-14 6:05am
View
Hi..I checked your code. Does it work properly on Chrome?? Dont you have to hit enter twice to trigger the event?
Ajith K Gatty
26-May-14 3:27am
View
Hi.....You dont delete this question. Just keep it. Mistakes do happen just learn from it. Mr. Sergey is a nice guy. He corrected me once. Follow his advice.
Ajith K Gatty
23-May-14 6:47am
View
Hi, I know this is not the answer you are expecting. But what is the use of script in Url???
Ajith K Gatty
23-May-14 3:51am
View
yeah!!! i guessed it. Hope now u r problem is resolved.
Ajith K Gatty
23-May-14 1:51am
View
Nice explaination...
Ajith K Gatty
23-May-14 1:49am
View
not at all!! sometimes i have to do the same when i work on telerik controls... :p
Ajith K Gatty
23-May-14 1:36am
View
u have a variable handler. is that the div object where you want to place the check box??
Ajith K Gatty
22-May-14 3:19am
View
did u mean by " check box sign doesn't appear " that u cant see the small void square box??? but only label is visible.
Ajith K Gatty
22-May-14 2:18am
View
Hello..If you want alphanemerics only, why dont you use /\w+/???
Ajith K Gatty
21-May-14 6:53am
View
Well said :)
Ajith K Gatty
21-May-14 6:40am
View
hi, to get proper help post your codes here, so that developers get better understanding of your requirement....
Ajith K Gatty
21-May-14 6:38am
View
Hi NagaRaju, you have to use stored procedure with out parameter which is of type decimal. after the select query set that value to out pararameter. Google it for examples.
Ajith K Gatty
6-May-14 1:39am
View
Hi Ajay,
try solution 1 and 2.
If you have date a column you can easily implement BETWEEN Operator.
Ex: SELECT * FROM Orders
WHERE OrderDate BETWEEN #07/04/1996# AND #07/09/1996#
Good Luck.
Ajith K Gatty
2-May-14 5:48am
View
Thank you for mentioning me and you implemented it. That is really nice. :)
Ajith K Gatty
2-May-14 5:46am
View
Ohh!! That's really cool. :)
Ajith K Gatty
30-Apr-14 5:48am
View
Hi,
i think you can implement set difference in SQL.
If you would like to represent Set Difference (A-B) in SQL, here is solution for you. Let's say you have two tables A and B, and you want to retrieve all records that exist only in A but not in B, where A and B have a relationship via an attribute named ID. An efficient query for this is:
SELECT DISTINCT A.* FROM (A LEFT OUTER JOIN B on A.ID=B.ID) WHERE B.ID IS NULL
Ajith K Gatty
25-Apr-14 6:19am
View
Page should load first. then only you can reload it. Guess you are missing something.
Ajith K Gatty
25-Apr-14 6:18am
View
His requirement is same as your comment. :)
Ajith K Gatty
25-Apr-14 2:22am
View
Hi Ravi,
You want to store value of 2 textboxes as single column(named as address) in database. right?
Ajith K Gatty
24-Apr-14 2:49am
View
Ohh..What exactly the error message?
Ajith K Gatty
24-Apr-14 2:46am
View
once you try with this RE. "([^\\s]+(\\.(?i)(jpg|JPG))$)"
Ajith K Gatty
24-Apr-14 2:27am
View
You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page
Ajith K Gatty
23-Apr-14 12:31pm
View
You are welcome friend :)
Ajith K Gatty
23-Apr-14 12:30pm
View
Hi sir,
I removed the solution.It was not proper. Thank you for informing.
Ajith K Gatty
23-Apr-14 6:35am
View
Little confusing. Can you explain with more details.?
Ajith K Gatty
23-Apr-14 6:32am
View
Is this Database related? If yes add proper tag.So that developers can easily find the database related answers for you.
Ajith K Gatty
23-Apr-14 6:24am
View
Did you get proper output in IE,Chrome??
Ajith K Gatty
23-Apr-14 3:52am
View
Hi,
Can you please provide more details. You want to delete single row associated with checkbox or entire gridview?
Ajith K Gatty
23-Apr-14 3:09am
View
i tried it on FireFox. Working perfectly.
Ajith K Gatty
23-Apr-14 0:20am
View
Hi Sir,
Nice guess and good answer :)
Ajith K Gatty
22-Apr-14 13:06pm
View
Hi,
Its not limitation of onclick event.
It would be nice if you follow solution1. It looks more appropriate.
Ajith K Gatty
22-Apr-14 13:00pm
View
Good solution
Ajith K Gatty
22-Apr-14 7:10am
View
Nice one.
Ajith K Gatty
22-Apr-14 7:08am
View
Welcome :)
Ajith K Gatty
22-Apr-14 6:44am
View
I have updated solution. replace the first line by "<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.0.js"></script>"
Ajith K Gatty
22-Apr-14 6:36am
View
Actually i have downloaded that library in my script folder. You can download jquery library from "http://jquery.com/download/". Other solution is that replace first line by <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> .
Go through this http://jquery.com/download/. It will give you more details.
Ajith K Gatty
22-Apr-14 6:06am
View
Ha ha. I just Googled it on behalf of rayhan12345. Nothing else. Anyways Thanks. :p
Ajith K Gatty
22-Apr-14 6:04am
View
Welcome :)
Ajith K Gatty
22-Apr-14 5:52am
View
Google something like this "online shopping website source code asp.net". many solutions are provided under that query.
Ajith K Gatty
22-Apr-14 5:46am
View
Hi,
I don't know VB.NET.I'm just giving a try.
I think there is a mistake in your img.ImageUrl.
Server.MapPath("~/upload/Photo/" & ImageName & ".jpg");
check once.
Ajith K Gatty
22-Apr-14 3:59am
View
You should provide more details.
Ajith K Gatty
22-Apr-14 3:58am
View
\w+: is a best solution.
Ajith K Gatty
21-Apr-14 3:46am
View
CSS is a good option for you.
Ajith K Gatty
21-Apr-14 2:02am
View
Nice suggestion.
Ajith K Gatty
21-Apr-14 2:00am
View
Your question is ambiguous. It would be better if you explain in detail.
Ajith K Gatty
21-Apr-14 1:56am
View
hi
Use TryParse and implement the code.
Ajith K Gatty
14-Apr-14 3:32am
View
What is the error message?
Ajith K Gatty
11-Apr-14 6:38am
View
It will be like that only. Body loads first and event will be fired.
Ajith K Gatty
11-Apr-14 2:25am
View
check updated solution
Ajith K Gatty
11-Apr-14 1:58am
View
Already you have 2 solutions. did you try to implement?? If yes ,what went wrong??
Ajith K Gatty
11-Apr-14 1:39am
View
It is a direct solution. Easily you can implement it.
follow the link.
Ajith K Gatty
11-Apr-14 1:38am
View
Deleted
It is a direct solution. Easily you can implement it.
follow the link.
Ajith K Gatty
11-Apr-14 0:40am
View
implement that in thanks.aspx page then...
Ajith K Gatty
10-Apr-14 7:17am
View
Hi,
from where you are binding data to grid?
Ajith K Gatty
10-Apr-14 6:18am
View
Depends on your requirement. If from every page it should redirected to MyPageName.aspx then call the script from body of master page.
Ajith K Gatty
10-Apr-14 4:39am
View
Hi
Do you want search or navigate within a grid? or when you click on search it should navigate to that page say Mumbai.aspx??
Ajith K Gatty
10-Apr-14 0:55am
View
Hi,
header problem can be solved with no break tag of html.
Ajith K Gatty
9-Apr-14 9:53am
View
if you are implementing on selection changed,If the event is firing when you click for the first time and doesn't fire when you click on it for the second time your coding is correct. If you select different value than the previous,then event is not firing then only it is wrong. According to your explanation code is correct i feel.
Ajith K Gatty
9-Apr-14 9:31am
View
Hi Harshal,
Your code is correct. If you fire an event based on selection changed then it will only fire when the dropdown value changes.Select a value and event fires. click again on the same and event doesnt fire.because value has not changed. If you want every time to fire an event when you click then fire the event based on click.
Ajith K Gatty
9-Apr-14 6:08am
View
Check your smtp.Send parameters. it should be in smtp.Send(string From,string To,string sub,string body).
If still you have problems you should ask someone else. I dont know the actual problem then.
Ajith K Gatty
9-Apr-14 5:33am
View
Hi OriginalGriff
in SendMail() function what is that var smtp = new System.Net.Mail.SmtpClient();{//codes// }. is that correct?
Ajith K Gatty
9-Apr-14 4:57am
View
for checking purpose get jquery from any CDN. Then try it.
Ajith K Gatty
8-Apr-14 8:07am
View
still problem exists?
Ajith K Gatty
8-Apr-14 6:25am
View
Solution 4 is taken from that link. Hope you get this time.
Ajith K Gatty
8-Apr-14 6:15am
View
Deleted
Hi Clara,
If you dont get any good answer for this question, then try it in "Quora" or "Stack Exchange".
Good Luck
Ajith K Gatty
8-Apr-14 6:05am
View
Hello Neeraj,
I checked the code myself and it is working fine. Can you tell me what is happening in your code?
Using alert check whether the control is going inside script or not.
Ajith K Gatty
8-Apr-14 5:11am
View
Any error message?
Ajith K Gatty
8-Apr-14 1:49am
View
Hi,
provide the script also.
Ajith K Gatty
7-Apr-14 8:25am
View
It would be better if you post your code here. Others can check it and probably find a solution for you.
Ajith K Gatty
7-Apr-14 8:17am
View
Try this link http://try.jquery.com
You can also read Javascript and Jquery, The missing manual 2nd edition.
Good Luck
Ajith K Gatty
7-Apr-14 4:12am
View
I think Member 10578683 is getting output.since the query is involved with 2 fields it is not giving distinct values. values are getting repeated.
Ajith K Gatty
4-Apr-14 6:46am
View
retrieve all the images and bind it to the grid.
Ajith K Gatty
4-Apr-14 6:34am
View
Hi thatraja
This member wants to implement <marquee direction="">...</marquee> type functionality in Asp.NET.
first image is a still image. second image to right and last one to left direction.
Ajith K Gatty
3-Apr-14 6:05am
View
Excellent solution OriginalGriff :)
Ajith K Gatty
3-Apr-14 2:51am
View
Hi
can you post your entire code of Getinfo(int empid)?
Ajith K Gatty
27-Mar-14 5:07am
View
oh!! Actually it works in local. I dont know why it is not working in main. Sorry.
Ajith K Gatty
26-Mar-14 5:56am
View
CausesValidation property is present. Check link button properties under Behavior.
Ajith K Gatty
26-Mar-14 5:53am
View
Your link button is firing properly. I tried it. Put one break point and check it.
Good Luck
Ajith K Gatty
20-Mar-14 0:19am
View
debug it with break point..check what error it is giving
Ajith K Gatty
19-Mar-14 7:43am
View
Yeah..Got it
Ajith K Gatty
19-Mar-14 6:50am
View
Yeah Yeah. I almost forgot about that concept. Thank You.
Ajith K Gatty
19-Mar-14 6:45am
View
I guess the problem is in the URL.Try Fully qualified URLS.
Ajith K Gatty
19-Mar-14 6:42am
View
/JOBS/www.infosys.com just try this in browser. It is redirecting. and all URL which starts with www is giving same error. So i tried prefixing http:// like http://www..... So i observed everything is working properly.
Ajith K Gatty
19-Mar-14 6:35am
View
This is my redirected url http://localhost:49829/www.infosys.com/careers.
Ajith K Gatty
19-Mar-14 6:32am
View
yes. Those urls are giving error.You just check with other urls once to make sure that site is redirecting properly. use this link http://www.hclisd.com/apply-jobs.aspx or http:google.com. update me with result.
Ajith K Gatty
19-Mar-14 6:07am
View
you are getting error 404 right?? when you try to click on URL: /JOBS/www.hcl.com ?
Ajith K Gatty
17-Mar-14 5:34am
View
What is the multiple web forms in requested URL? did u check it?
Show More