16,020,519 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 AnkitGoel.com (Top 168 by date)
AnkitGoel.com
12-Jun-14 6:47am
View
Dear Andy,
This kind of URLs help when URL rewriting is implemented in your website. Support you have two URLs www.xyz.com/sports/car.php and www.xyz.com/technology/car.php
The original page in your website might by anyhting like xyz.php but, using this technique you are passing some query string parameters to your web server such as- Sports and Car in first URL and technology and car in second URL. You do not have to write something like- www.yyz.com/articles?id=454501 and www.yyz.com/articles?id=43401
So, when a user hits any one of these URLs, physically a single page will server the requests from both URLs but, you will be able to change the content according to the URL.
And, lastly it is also SEO friendly and easy to remember.
AnkitGoel.com
12-Jun-14 6:34am
View
You are welcome Sherkhan.... Yes, you need not be connect to master database, sql server will connect you automatically to the default database associated with the login user. Which is generally master db itself.
AnkitGoel.com
10-Jun-14 2:40am
View
Can you explain the code? and, share the filename being built?
AnkitGoel.com
31-May-14 2:41am
View
The printers used by client do not have such feature. So we are planning to applying this security and logging mechanism...
AnkitGoel.com
30-May-14 13:39pm
View
i have written a code but that, is just an event. It does not stop print job. I want t stop print job and resume it after user authenticates in the app.
AnkitGoel.com
1-Jul-13 5:10am
View
if you use ASP.Net role based authentication and authorization, this will be managed by ASP.net automatically. All you have to do is create a login page and specify permissions in web.config file.
AnkitGoel.com
1-Jul-13 4:30am
View
where is the code?
AnkitGoel.com
1-Jul-13 4:27am
View
Please be specific when you are sending your code. It's too lengthy to debug.
AnkitGoel.com
21-Jun-13 2:56am
View
Please share the problem with us. what have you tried and what errors you get..
AnkitGoel.com
21-Jun-13 1:54am
View
how do you plan to decide which image to show in the banner?
AnkitGoel.com
21-Jun-13 1:45am
View
Why can't you do that? may i know?
AnkitGoel.com
13-Jun-13 4:41am
View
go to ccavenue website, log into your merchant account and download integration api and documentation.
AnkitGoel.com
15-May-13 0:56am
View
That is your own logic.... i can help you only when you stuck in coding....
AnkitGoel.com
14-May-13 6:21am
View
use this...
string str= "value";
SqlParameter[] parameters = {
new SqlParameter("@RoleTypeCode",1),
new SqlParameter("@RoleTypeDesc",1),
new SqlParameter("@OutMsg",str) };
parameters[2].Direction=ParameterDirection.Output;
OR
SqlParameter[] parameters = {
new SqlParameter("@RoleTypeCode",1),
new SqlParameter("@RoleTypeDesc",1),
new SqlParameter("@OutMsg",1) };
parameters[2].Direction=ParameterDirection.Output;
parameters[2].Size = 20 //Required Size in bytes, 20 is just an example.
AnkitGoel.com
14-May-13 6:17am
View
what do you mean by relating them? what is your purpose?
AnkitGoel.com
14-May-13 3:09am
View
you may either pass two lists (one for each groupbox).
OR
pass a dictionary (key as string (grpbox + check box name), value as Boolean (checkbox value))
OR
get checkbox value from single list. but, remember the index of checkbox in the list and get value on that basis.
AnkitGoel.com
14-May-13 3:02am
View
If you have a variable number of checkboxes OR if there are too many checkboxes then you can pass a list too..
Please mark as answer if it worths..
AnkitGoel.com
14-May-13 2:44am
View
why do you want to split?
AnkitGoel.com
14-May-13 2:36am
View
what kind of report output you need?
AnkitGoel.com
21-Jan-13 7:37am
View
I feel the same and don't have time to get into the depth at this time.
AnkitGoel.com
21-Jan-13 0:06am
View
Thanks Jochen, did u try this code? Does it work for you?
AnkitGoel.com
18-Jan-13 4:23am
View
one of them is HHD Serial Port Emulator
AnkitGoel.com
18-Jan-13 3:19am
View
it cannot open an already open port.
AnkitGoel.com
18-Jan-13 3:19am
View
thanks but, it could not work.
AnkitGoel.com
18-Jan-13 3:02am
View
AS i already said, i am able to open a port multiple times using a third party application. but i want to do it in my own code to make it user friendly.
AnkitGoel.com
18-Jan-13 2:33am
View
i have to trace the communication between an existing application and some manufacturing machine.
AnkitGoel.com
18-Jan-13 2:30am
View
Deleted
i have to trace the communication between an existing application and some manufacturing machine.
AnkitGoel.com
14-Jan-13 14:12pm
View
Thank you sir. u r right. still can u tell me some reliable service providers for sending newsletters? I want to skip setting up my own, as we don't have man power to manage this overhead.
AnkitGoel.com
22-Dec-12 5:19am
View
how would i know that when i am unable to see ur db ?
AnkitGoel.com
22-Dec-12 5:11am
View
As per my understanding, your select query is not producing correct result. you need to check that query.
AnkitGoel.com
22-Dec-12 5:07am
View
dear, no one is free to do your work. we can only guide you. there is some bug that u have to resolve by urself. i can't do anything from here.
AnkitGoel.com
22-Dec-12 4:21am
View
may be ur not getting any row from database for this qry. did u check?
AnkitGoel.com
22-Dec-12 3:51am
View
i said u to check the value of textboxes at following line-
string s = "select depertment from checkuser where user_name='" + txtusername.Text + "' and password='" + txtpassword.Text + "'";
and u are teelling me some other thing.
AnkitGoel.com
22-Dec-12 3:41am
View
check the values at-
string s = "select depertment from checkuser where user_name='" + txtusername.Text + "' and password='" + txtpassword.Text + "'";
tell me what u get here?
AnkitGoel.com
22-Dec-12 3:37am
View
check the condition before this.Are you able to authenticate the user?
AnkitGoel.com
22-Dec-12 3:30am
View
please debug it and check the value in the textbox.
AnkitGoel.com
22-Dec-12 3:28am
View
tried debugging?
AnkitGoel.com
22-Dec-12 3:26am
View
send complete code pls..
AnkitGoel.com
22-Dec-12 3:25am
View
why have u kept "emplpoyee" in parentheses?
AnkitGoel.com
22-Dec-12 3:24am
View
or i will have to review the complete code behind to be able to investigate the problem
AnkitGoel.com
22-Dec-12 3:23am
View
i feel u need to debug your app and find out the reason
AnkitGoel.com
22-Dec-12 3:22am
View
try rebuilding your project. this prob should not occur if u are passing something other that 'emplpoyee' in username textbox.
AnkitGoel.com
22-Dec-12 3:17am
View
in this case which page are u getting redirected?
Also, check the spell mistake -emplpoyee- should be 'employee-
AnkitGoel.com
22-Dec-12 3:03am
View
send your code by which u are redirecting users to different pages
AnkitGoel.com
22-Dec-12 2:29am
View
what command are U typing to run it?
AnkitGoel.com
21-Dec-12 4:13am
View
use this- http://www.disablesafemode.com/
AnkitGoel.com
21-Dec-12 3:55am
View
Are you trying this with administrator rights?
what error message u getting?
AnkitGoel.com
19-Dec-12 11:37am
View
please elaborate by example. your input and required output.
AnkitGoel.com
19-Dec-12 11:24am
View
unable to understand what u want. can u explain?
AnkitGoel.com
19-Dec-12 11:17am
View
I dont think so. The problem you are talking about occurs when there are decimal places in the last. But, here there is no decimal place.
AnkitGoel.com
19-Dec-12 0:21am
View
But there is some important code in that exe. And we don't have source code.
AnkitGoel.com
13-Dec-12 13:35pm
View
please mark as answer if helped.
AnkitGoel.com
13-Dec-12 0:06am
View
you need to use standardized css in your page.
AnkitGoel.com
12-Dec-12 3:23am
View
pls mark as answer it helped.
AnkitGoel.com
11-Dec-12 11:40am
View
you can, but u have to download that installer from microsoft's site.
AnkitGoel.com
11-Dec-12 7:43am
View
'Rebuild All' your solution.
AnkitGoel.com
11-Dec-12 7:41am
View
i have no idea why this is not working on your machine. while, it works perfectly on my machine.
AnkitGoel.com
11-Dec-12 7:40am
View
In your global.asax file, overload session_start method create a global app level list of sessions and ip addresses.
And before adding to this list, Loop through all sessions and check the IP address or current session is same as any previous session or not?
If already exists with same IP then deny otherwise add current to list and let user access the site.
AnkitGoel.com
11-Dec-12 7:37am
View
when it sucks you, what does it say as error message?
AnkitGoel.com
11-Dec-12 7:33am
View
may be u can detect it by checking IP Address of each session.
AnkitGoel.com
11-Dec-12 7:26am
View
please share create script of table client_billing_address
AnkitGoel.com
11-Dec-12 7:22am
View
did u try this format?
DirectoryInfo di = new DirectoryInfo("F:\\\\VS2008\\TTI_Script(Web)\\TTI_Script(Web)\\bin\\TTI\\Import");
AnkitGoel.com
11-Dec-12 7:01am
View
what kind of app is this? windows or web ?
AnkitGoel.com
11-Dec-12 6:47am
View
it's OK Ricky.......
AnkitGoel.com
11-Dec-12 6:44am
View
Deleted
patel nagar, new mandi
AnkitGoel.com
11-Dec-12 6:41am
View
Deleted
whr in mzn ?
AnkitGoel.com
11-Dec-12 6:36am
View
how do u want to use it? give some idea.
AnkitGoel.com
11-Dec-12 6:28am
View
use datagrid.
AnkitGoel.com
11-Dec-12 6:17am
View
correct answer :) rated 5
AnkitGoel.com
11-Dec-12 6:13am
View
gud sumit :)
AnkitGoel.com
11-Dec-12 6:11am
View
what do u want at what event please recheck with urself.
AnkitGoel.com
11-Dec-12 6:06am
View
any error?
AnkitGoel.com
11-Dec-12 5:33am
View
An explanation on why the solution was not accepted would be appreciated.
AnkitGoel.com
11-Dec-12 5:28am
View
An explanation on why the solution was downvoted would be appreciated.
AnkitGoel.com
11-Dec-12 5:02am
View
use only "F:VS2008/TTI_Script(Web)/TTI_Script(Web)/bin/TTI/Import"
remove "http://localhost:2020/" from your path.
AnkitGoel.com
11-Dec-12 4:57am
View
yes u r right. it will work. thanks.....
AnkitGoel.com
11-Dec-12 4:51am
View
let me check, Sir.
AnkitGoel.com
11-Dec-12 4:50am
View
u r welcome.
AnkitGoel.com
11-Dec-12 4:48am
View
then what is the problem go for it dear.
AnkitGoel.com
11-Dec-12 4:43am
View
You are not using value of path anywhere then, why are you using this line?
var path = Server.MapPath("F:\\\\VS2008\\TTI_Script(Web)\\TTI_Script(Web)\\bin\\TTI\\Export");
The problem is-
Server.MapPath() converts an HTTP URL into Physical Address. you are passing it a physical address that's why it throws the error.
hope it helps. please mark as answer if helped.
AnkitGoel.com
11-Dec-12 4:41am
View
which option do u want to use?
AnkitGoel.com
11-Dec-12 4:39am
View
Either you need to install sql server on same machine
OR
You need to install or another machine
In both case you have to specify SQL Server IP and DB Name. Which as i said, you can stored in anyone of the above files.
AnkitGoel.com
11-Dec-12 4:34am
View
Deleted
you cannot write on to app.config file from application.
AnkitGoel.com
11-Dec-12 4:31am
View
please check connectivity at client system. is your sql server accessible?
AnkitGoel.com
11-Dec-12 4:30am
View
As Richard said, Textboxes do this automatically. what do u want ? Please recheck and then ask.
AnkitGoel.com
11-Dec-12 4:24am
View
please share your code. i think u r using it the wrong way.
AnkitGoel.com
11-Dec-12 4:21am
View
are asking a question or writing an article? :)
AnkitGoel.com
11-Dec-12 4:03am
View
please see my updated answer.
AnkitGoel.com
11-Dec-12 3:58am
View
please see updated solution with code in c#
AnkitGoel.com
11-Dec-12 3:48am
View
unable to see your paste bin doc due to security applied in my office.
But, you can try this-
create a stored procedure and call it with two parameters LowerLimit and UpperLimit. Receive the value of @result in an output parameter.
hope it helps
AnkitGoel.com
11-Dec-12 3:28am
View
yes, obviously. tell me where are u stuck ? are you having nay difficulty implementing this code?
AnkitGoel.com
11-Dec-12 3:28am
View
you can set padding of <td> also.
AnkitGoel.com
11-Dec-12 2:51am
View
you have to replace 1 and 10 by text in your textboxes. and of course you can fire this query using SqlConnection object.
AnkitGoel.com
11-Dec-12 2:47am
View
ple see updated answer. hope it suits you.
AnkitGoel.com
11-Dec-12 2:33am
View
this code will work to send mails to any domain. depends on how you use it.
AnkitGoel.com
11-Dec-12 1:50am
View
what do u mean by while loading this? please elaborate.
AnkitGoel.com
11-Dec-12 1:48am
View
what is the problem? go for it.
AnkitGoel.com
11-Dec-12 0:49am
View
Reason for my vote of 5 \n really helpful.
AnkitGoel.com
11-Dec-12 0:42am
View
it's too simple in WPF using viewport and camera.
AnkitGoel.com
11-Dec-12 0:24am
View
try to paint on it by overloading paint() event of the dialog.
AnkitGoel.com
11-Dec-12 0:21am
View
then go for it. what is the issue?
AnkitGoel.com
10-Dec-12 8:58am
View
why do u want it to do? please explain the requirement? may be i can help u
AnkitGoel.com
10-Dec-12 8:55am
View
u r right it cannot be helped. the only solution i know is- you have to keep the boolean variable false and keep that statement out of try-catch block.
AnkitGoel.com
10-Dec-12 8:51am
View
please tell your objective. what do u mean by dynamic html ?
AnkitGoel.com
10-Dec-12 8:49am
View
couldn't understand. please, can u elaborate?
AnkitGoel.com
10-Dec-12 8:47am
View
dear a don't know ASP can u convert it by urself or using some online tool?
AnkitGoel.com
10-Dec-12 7:09am
View
please check your server name and host address
AnkitGoel.com
10-Dec-12 7:06am
View
please check this link:
http://www.dotnetperls.com/private-constructor
and
http://msdn.microsoft.com/en-us/library/kcfb85a6(v=vs.71).aspx
hope it helps.
AnkitGoel.com
10-Dec-12 7:00am
View
Simon, the question is about private constructors. do u remember?
AnkitGoel.com
10-Dec-12 6:54am
View
r u still getting errors? if yes, i need your table create script
AnkitGoel.com
10-Dec-12 6:53am
View
what code u r using right now?
AnkitGoel.com
10-Dec-12 6:52am
View
we can have private constructors in class but that class can only have static methods. also, such classes can only be used as parent for any other class. And, when the object of child class is created private constructor or parent class is called automatically.
AnkitGoel.com
10-Dec-12 6:50am
View
have you created DSN ?
AnkitGoel.com
10-Dec-12 6:39am
View
what is error message?
AnkitGoel.com
10-Dec-12 6:38am
View
do you want to just display pdf file or you want to create and then display pdf ?
AnkitGoel.com
10-Dec-12 6:37am
View
please mark as answer if helped you.
AnkitGoel.com
10-Dec-12 6:33am
View
thanks, prashant. it really increases my interest on CP.
AnkitGoel.com
10-Dec-12 6:29am
View
please mark as answer if helped
AnkitGoel.com
10-Dec-12 6:16am
View
what is the error message?
AnkitGoel.com
10-Dec-12 6:11am
View
Deleted
r u kidding about having private constructors?
AnkitGoel.com
10-Dec-12 6:04am
View
Dee_Bee :)
AnkitGoel.com
10-Dec-12 6:03am
View
:)
AnkitGoel.com
10-Dec-12 5:52am
View
the error occurs because you are passing the wrong path.
server.mappath() receuived a url and returns a path. so it should be
importurl="/Import",exporturl="/Export"
now try.
if u want to store on c: then do not use server.mappath()
directly use c:\import and c:\export in your code
AnkitGoel.com
10-Dec-12 5:44am
View
what are u passing in import_dir and export_dir ?
AnkitGoel.com
10-Dec-12 5:34am
View
what have u tried? send your code
AnkitGoel.com
10-Dec-12 5:32am
View
i think, no you have to use File.Write() method
AnkitGoel.com
10-Dec-12 4:56am
View
don't post such solutions as you may loose plenty of reputation points on CP. But, you are free to post them as comments. i hope u know this better than me M'am. and pls don't mind.
AnkitGoel.com
10-Dec-12 4:51am
View
first get the data from ms-access db then write in onto excel simple.
tell me where ru stuck?
AnkitGoel.com
10-Dec-12 4:49am
View
what is the logic of generating these combinations? please explain.
AnkitGoel.com
10-Dec-12 4:45am
View
you have to write a job in sql server which calls a stored procedure and that stored procedure should download the file from ftp and insert the contents into database.
AnkitGoel.com
10-Dec-12 4:43am
View
please inform me too when u hv done this.
AnkitGoel.com
10-Dec-12 4:42am
View
i think you are missing the call to login() which is required in case of new users.
AnkitGoel.com
10-Dec-12 4:38am
View
we don't need any jugaad here. :)
AnkitGoel.com
10-Dec-12 4:37am
View
have u tried passing & nbsp ; instead of space?
AnkitGoel.com
10-Dec-12 4:37am
View
Deleted
have u tried passing instead of space?
AnkitGoel.com
10-Dec-12 4:34am
View
do you know how to create excel file? if yes, i will explain rest of the procedure.
AnkitGoel.com
10-Dec-12 0:17am
View
:D
AnkitGoel.com
10-Dec-12 0:08am
View
do you want to calculate number or occurances of a word in a string?
AnkitGoel.com
10-Dec-12 0:05am
View
works only for textboxes and throws error in case these are controls other than textbox.
AnkitGoel.com
10-Dec-12 0:03am
View
should be posted as comments.
AnkitGoel.com
9-Dec-12 23:50pm
View
you have to execute insert query.
AnkitGoel.com
9-Dec-12 23:25pm
View
have you tried padding property of CSS?
AnkitGoel.com
9-Dec-12 23:23pm
View
you are asking this question repeatedly and i am not able to understand your requirement. can you explain in words rather than pasting the code?
AnkitGoel.com
9-Dec-12 22:49pm
View
please read my updated answer.
hope it helps.
AnkitGoel.com
8-Dec-12 7:05am
View
How many letters are possible in CorRes and StuRes? is there any maximum length of data in these columns? if there is not any fixed length you may need to write a function.
AnkitGoel.com
8-Dec-12 3:20am
View
i think this query will satisfy your requirement.
may be i am not getting you please explain what is the problem in this query and what result you want.
AnkitGoel.com
7-Dec-12 13:16pm
View
it would be good if u explain here rather than posting a link and letting others waste their time reading a long article.
AnkitGoel.com
7-Dec-12 6:42am
View
Please post your code to be able to be helped.
AnkitGoel.com
7-Dec-12 6:32am
View
please explain the scenario and the problem.
AnkitGoel.com
7-Dec-12 6:28am
View
please explain more. some code may help to understand
AnkitGoel.com
7-Dec-12 5:28am
View
can you specify by some code?
AnkitGoel.com
7-Dec-12 4:18am
View
Are you getting any error message? I am unable to see your attachment due to security issues of my company. please write down here only. or place an image link of photo bucket.
AnkitGoel.com
7-Dec-12 3:48am
View
i am not getting your question.... please specify
AnkitGoel.com
7-Dec-12 3:45am
View
Have u tried by creating InsertItemTemplate and EditItemTemplate ?
AnkitGoel.com
7-Dec-12 3:38am
View
Please implement KeyPress or TextChanged Event and use the same code in that event-
CultureInfo cultureInfo = Thread.CurrentThread.CurrentCulture;
TextInfo textInfo = cultureInfo.TextInfo;
Console.WriteLine(textInfo.ToTitleCase(title));
The problem your are facing is due to your coding style not because of this code. Please recheck and mark as answer if worked. May be u can send your code here if u need to be reviewed.
AnkitGoel.com
7-Dec-12 3:35am
View
This is due to inter-thread communication problem-
Please refer this link-
http://www.codeproject.com/Questions/504980/ERRORplus-3aplusCross-threadplusoperationplusnotpl
AnkitGoel.com
7-Dec-12 2:57am
View
can u explain a bit more about the application ? what is does and what services it may be accessing if any?
AnkitGoel.com
6-Dec-12 6:11am
View
Probably you asking this question at wrong place, please google for it or search MSDN.
AnkitGoel.com
6-Dec-12 6:10am
View
can you paste a screenshot of naukri.com? As, due to firewall restrictions i am unable to see it in my office.
AnkitGoel.com
6-Dec-12 6:07am
View
Please let us know, what code you have written? I believe, CP is regarding fixing your bugs and not for asking solutions. So please paste your code so that someone can correct it.
AnkitGoel.com
6-Dec-12 6:05am
View
Please write down your code with proper formatting. It is completely unreadable. hence, i am unable to help.
AnkitGoel.com
15-Oct-12 2:53am
View
Please share the path of the file you are deleting.
AnkitGoel.com
15-Oct-12 2:44am
View
Please explain more. Also provide code you are using to delete the file.
AnkitGoel.com
11-Oct-12 8:05am
View
try restarting visual studio and rebuilding your soltuion.
AnkitGoel.com
11-Oct-12 8:05am
View
Deleted
try restarting visual studion and rebuilding your soltuion.
AnkitGoel.com
11-Oct-12 7:21am
View
yes they will provide an account and after login you can download api. but for asp.net the api is not good i recently implemented in my site but had to create my own code. And, most important don't use ccavenue it is not a good gateway. i am having many issues with them.
AnkitGoel.com
11-Oct-12 7:15am
View
you will need a payment gateway. choose from paypal, ccavenue, paisapay etc. they will provide their api and samples. using which you can achieve you objective.
AnkitGoel.com
11-Oct-12 6:50am
View
you can override OnSelectedIndexChanged() event and get row index from GridView1.SelectedRow.RowIndex and set it to textbox. keep you gridview inside update panel to make it function.
Show More