15,890,185 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 IpsitaMishra (Top 117 by date)
IpsitaMishra
27-Nov-15 4:59am
View
Which mail are you using?
You have issue in mail box or in the code that you are using to send mail, please clarify on this.
IpsitaMishra
14-Nov-14 7:49am
View
I think you are referring to the same link.
IpsitaMishra
14-Nov-14 7:39am
View
Is it like you have a Icon on click of that you will be redirect to room reservation process,and if the room corresponding to the icon ,is not available you want to show a different icon and that will not be redirect to process.Is it ?
If this is your query,then get the status from your db and depending upon the status change the icon.
IpsitaMishra
14-Nov-14 7:25am
View
You can use the same error logging method to log the error in code behind file.
IpsitaMishra
14-Nov-14 7:15am
View
try
{
//your logic
} catch (SqlException exSqlType)
{
Log("Error message:" + exSqlType.Message, exSqlType);
}
catch (Exception exGen)
{
Log("Error message:" + exGen.Message, exGen);
}
IpsitaMishra
14-Nov-14 7:13am
View
Here inline query is used .You can use sp like this
cmd.CommandType = CommandType.StoredProcedure;
cmd.CommandText = "spName";
IpsitaMishra
14-Nov-14 7:08am
View
see the following link
http://programcall.com/7/aspnet/binding-dropdownlist-with-dataset-values-in-aspnet.aspx
IpsitaMishra
14-Nov-14 5:35am
View
yes.
IpsitaMishra
14-Nov-14 2:37am
View
Debug in firebug and see what is the issue?
IpsitaMishra
14-Nov-14 2:13am
View
Like this
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
onclientclick=" return validate();" Text="Button" />
IpsitaMishra
14-Nov-14 2:12am
View
In your Html..
IpsitaMishra
14-Nov-14 2:01am
View
Put a semicolon(";") onclientclick=" return validate();"
IpsitaMishra
13-Nov-14 7:04am
View
Instead of
<CR:CrystalReportViewer ID="crpt_print" ReportSourceID="CrystalReportSource1" runat="server" AutoDataBind="true" />
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
use <CR:CrystalReportViewer ID="RptViewer" runat="server"/>
IpsitaMishra
13-Nov-14 7:04am
View
just use this
<CR:CrystalReportViewer ID="RptViewer" runat="server"/>
in our html page and instead of CrystalReportSource1 use RptViewer
It is working for me..
IpsitaMishra
5-Nov-14 1:35am
View
Deleted
check this link
http://www.telerik.com/help/reporting/winforms-report-viewer-embedding.html
It might help you
IpsitaMishra
5-Nov-14 1:31am
View
You can pass the Task list at a time and do all the update operation in a single sql transaction.
IpsitaMishra
4-Nov-14 2:34am
View
Hi Afzaal Ahmad Zeeshan Thanks for your answer :) .
String.Replace is a very popular function but it will not work for me now :( .
The urlWithoutWww will now look like "example.com/images_folder/image_name.png"
And this is the issue... I am looking for a solution which help me to download the image from the address "example.com/images_folder/image_name.png".
IpsitaMishra
22-Oct-14 9:00am
View
can you check this.
onunload="window.location.href='logout.aspx';"
Hope it will work...
IpsitaMishra
22-Oct-14 8:41am
View
can you please try the following code
$.post("logout.aspx?action=logout",{},function(data){
location.href="logout.aspx";
to call the logout.aspx
IpsitaMishra
22-Oct-14 8:35am
View
Deleted
can you please try the following code
$.post("logout.aspx?action=logout",{},function(data){
location.href="logout.aspx";
to call the logout.aspx
IpsitaMishra
22-Oct-14 8:08am
View
Is it calling the unload function or not..
IpsitaMishra
22-Oct-14 7:26am
View
Can you Please debug and check what is the issue.
IpsitaMishra
22-Oct-14 7:20am
View
please see the updated answer.
IpsitaMishra
22-Oct-14 7:16am
View
Deleted
please use one of the following line
<network enablessl="true" host="smtp.gmail.com" port="587" username="test@abc.com" password="password">
<smtp from="password" deliverymethod="SpecifiedPickupDirectory">
<specifiedpickupdirectory pickupdirectorylocation="D:\00TestEmails\">
but not both at a time.
The 2nd 1 is used to store the email in the specified path.
Please change and check......
IpsitaMishra
12-Sep-14 1:05am
View
Prasad Avunoori has defined the out parameter in a very nice way you can refer his answer.
IpsitaMishra
12-Sep-14 0:46am
View
It is not possible to return 2 values from a method,but you can try other alternatives
1.Create 1 class with 2 properties and return that class from the method.
2.You can return 1 value and set 1 out parameters.
Hope this help you.
IpsitaMishra
18-Nov-13 2:31am
View
What is the issue you are getting here..
IpsitaMishra
18-Nov-13 2:28am
View
go through the link
http://stackoverflow.com/questions/9515380/excel-interop-com-exception-while-running-in-background
IpsitaMishra
5-Nov-13 6:53am
View
Do you want to get the report only for selected class?
IpsitaMishra
4-Nov-13 7:27am
View
Thanks Tadit :)
IpsitaMishra
31-Oct-13 8:41am
View
why donot you use onkeypress event of textbox
IpsitaMishra
31-Oct-13 8:37am
View
Accept answer if it helps you.
IpsitaMishra
31-Oct-13 8:25am
View
You can optimize the query so that it will be faster
IpsitaMishra
31-Oct-13 6:56am
View
If possible can you please paste your html content.
IpsitaMishra
31-Oct-13 6:56am
View
You mean that On clicking the first Radio Button and check box your second radio button should be selected.
IpsitaMishra
31-Oct-13 6:37am
View
Here I am using Jquery.
IpsitaMishra
31-Oct-13 6:36am
View
$('#txtSearch').bind('keypress', function () {
var DataSource=GetGridData($("#txtSearch").val());
//---Write your code to bind the Grid
});
IpsitaMishra
31-Oct-13 6:33am
View
can you please clarify you question,so that it will be easier to answer.
IpsitaMishra
31-Oct-13 6:29am
View
If you are binding in js then only it is possible other wise not.
IpsitaMishra
31-Oct-13 6:28am
View
are you binding the grid in js or in code behind.
IpsitaMishra
31-Oct-13 6:28am
View
No... :(
IpsitaMishra
31-Oct-13 6:27am
View
yes exactly..
try this
http://www.i18nguy.com/markup/right-to-left.html
IpsitaMishra
31-Oct-13 6:21am
View
httpcontext.current.user.identity always return a string.
If your user_id is string then its ok,other wise you need to change.
IpsitaMishra
31-Oct-13 6:17am
View
You can do 1 thing
on the KeyPress of textBox you can bind the Grid.
In the database you need to query using like command.
I am not sure how it will work in your current code structure.
IpsitaMishra
31-Oct-13 6:14am
View
Go through this
http://msdn.microsoft.com/en-us/library/ehszf8ax%28v=vs.90%29.aspx
IpsitaMishra
31-Oct-13 6:09am
View
Are you looking to bind the Grid on every keystock in the textbox.
IpsitaMishra
31-Oct-13 6:00am
View
Do you mean to create a autocomplete textbox?
IpsitaMishra
31-Oct-13 5:49am
View
It ask for the Database credential,set it in code file it will not ask again
_objReportDocument = new ReportDocument();
_objReportDocument.SetDatabaseLogon(DB_UID,DB_PWD,SERVER_NAME,DB_NAME)
IpsitaMishra
31-Oct-13 5:41am
View
Add a default value ---Select Value ---in the commbo box.If you want to reset it just change it.
IpsitaMishra
30-Oct-13 8:38am
View
please take a look on this http://www.c-sharpcorner.com/UploadFile/gtomar/storedprocedure12052007003126AM/storedprocedure.aspx
IpsitaMishra
30-Oct-13 8:22am
View
can you please make sure the datasource is not blank.
IpsitaMishra
30-Oct-13 8:19am
View
It works fine for me .Can you please write a try catch and debug the code to get the error.
IpsitaMishra
30-Oct-13 8:15am
View
opps..Now your a/c is credited :P
IpsitaMishra
30-Oct-13 8:09am
View
It might fix the issue but not sure.
IpsitaMishra
30-Oct-13 8:09am
View
Change the autobostback property of the gridview to true
IpsitaMishra
30-Oct-13 7:51am
View
+5 to Tadit for nicely expained demo :)
IpsitaMishra
30-Oct-13 7:40am
View
If u r asking for the foramt here is it
INSERT INTO Table3(Col1,col2....)
VALUES(SELECT Col1,Col2 ...
FROM table1
INNER JOIN tabl2
WHERE Condition)
if u want the exact solution please provide all the table structure.
IpsitaMishra
30-Oct-13 6:28am
View
Is it calling the service or not ?
IpsitaMishra
7-Oct-13 8:49am
View
Your requirement is not specify.Can you please explain what exactly you want.
IpsitaMishra
7-Oct-13 7:57am
View
@thatraja thanks for the information :)
IpsitaMishra
4-Oct-13 2:49am
View
1.Put the logged in user credentials in session in the login page(or method)
2.In The Master Page check the session.
3.If the session is null then redirect to Login page else the page in the url
4.In the Log out page (or method) clear the session.
IpsitaMishra
4-Oct-13 2:22am
View
Your requirement is not specified,Can you please explain what exactly you want?
IpsitaMishra
4-Oct-13 2:13am
View
Put a debugger in session_end of global.ascx and check,and even if you will not provide the timeout in the config the sessionout time is 20 min by default.so, erase this line from config file and check once.
IpsitaMishra
31-Jul-13 7:47am
View
Nice Explanation TaditD :)
IpsitaMishra
31-Jul-13 6:32am
View
Where are you getting the problem?
IpsitaMishra
15-Jul-13 9:54am
View
The may be some Issue with the path of the uploaded file.....can you please provide your code here.
IpsitaMishra
10-Jul-13 3:25am
View
Thanks for your answer but I am using classic asp here not the Asp.net.
IpsitaMishra
18-Jun-13 4:02am
View
Have a look on these links it may help you
http://www.yaplex.com/java-script/how-to-call-wcf-services-from-javascript-jquery-and-asp-net-ajax/
http://msdn.microsoft.com/en-us/library/bb924552.aspx
IpsitaMishra
30-May-13 9:36am
View
What is the issue you are getting over here ,please post your question here.
IpsitaMishra
29-May-13 7:10am
View
Can you please provide your code ,how you are binding the grid.
IpsitaMishra
29-May-13 7:03am
View
Do you want to change any column's type of the db table from varchar to binary(16)?
IpsitaMishra
29-May-13 6:57am
View
check this it may help you
http://www.c-sharpcorner.com/uploadfile/afenster/gridview-sorting/
IpsitaMishra
29-May-13 6:56am
View
Where are you facing the Issue,please provide the code.
IpsitaMishra
29-May-13 6:52am
View
If you want to export the data to a excel sheet .You can create a third gridview (make it invisble in the page) containing the data of the two gridview.
IpsitaMishra
28-May-13 9:03am
View
What is your exact requirement ,to which data type you want to take it .
IpsitaMishra
28-May-13 7:05am
View
can you please provide your code,so that it will be easier to help you.
IpsitaMishra
28-May-13 7:01am
View
Do you want to change the gridview data to array or the datasource of the grid view to array.
IpsitaMishra
28-May-13 6:54am
View
please provide your code that will clarify your question.
IpsitaMishra
28-May-13 6:49am
View
I have added my suggestion as solution ,please have a look :)
IpsitaMishra
28-May-13 6:42am
View
Try out this link
http://stackoverflow.com/questions/5916667/sql-insert-into-table-from-select-without-duplicates-need-more-then-a-distinct
IpsitaMishra
28-May-13 6:28am
View
Make Studid and Studname label bind data to them and make them invisible.
and on button click make them visible.
IpsitaMishra
28-May-13 6:06am
View
Try this
Insert into newtable(Key1,Key2,Company)
Select distinct(WareHouseCode) ,PartNum ,Company from PartTran where company =@companyname
on qns your newtable is a temporarytable or db table?
IpsitaMishra
28-May-13 5:47am
View
I think you have a grid view where you have a view button .on clicking the view button you want to go to a page where you can see the details of that particular row.
IpsitaMishra
28-May-13 5:38am
View
I think you should decrease the precision while fetching the data from db.
IpsitaMishra
28-May-13 5:31am
View
can you please provide the code how you are adding the checkbox dynamically,so that it will be easier to go ahead.
IpsitaMishra
10-Apr-13 6:12am
View
can you please provide your code so that everyone here can help you.
IpsitaMishra
5-Apr-13 1:43am
View
Thanks for accepting the solution ..:)
IpsitaMishra
4-Apr-13 7:48am
View
can you please provide the code here so that everyone here can help you .
IpsitaMishra
15-Mar-13 1:51am
View
refer to the following link I hope it helps you
http://www.techrepublic.com/forum/discussions/102-276265
IpsitaMishra
18-Feb-13 8:22am
View
What exactly your requirement is ??? do you want to get different connection string at different server ..or something else....please specify your requirement .....
IpsitaMishra
18-Feb-13 8:18am
View
yes ofcourse but if we want to change a block of code then it help better.If we want to change the entire project then it is not good option.. :)
IpsitaMishra
5-Feb-13 2:18am
View
100 + for you Tadit
IpsitaMishra
4-Feb-13 4:35am
View
How to get the index ??? that is the Issue :P
IpsitaMishra
4-Feb-13 2:37am
View
Its giving all the selected Item but I want the last selected one.
IpsitaMishra
4-Feb-13 2:28am
View
e.g the client id of my checkboxlist is ctl00_ContentPlaceHolder1_cblcheckbox
then under that i have 5-6 checkbox with client id
ctl00_ContentPlaceHolder1_cblcheckbox_0
ctl00_ContentPlaceHolder1_cblcheckbox_1
ctl00_ContentPlaceHolder1_cblcheckbox_2
ctl00_ContentPlaceHolder1_cblcheckbox_3 etc
I click the 3rd item of the checkboxlist then i want the id "ctl00_ContentPlaceHolder1_cblcheckbox_2"
IpsitaMishra
9-Jan-13 23:56pm
View
you have mention in your qns itself
>ab.ABCD.DAL
>"Properties"
>References
>Read.cs
:):)
IpsitaMishra
9-Jan-13 0:33am
View
Yes sure :)
IpsitaMishra
7-Jan-13 5:21am
View
+10 to Tadit for your effort Keep it up :)
IpsitaMishra
4-Jan-13 8:26am
View
Try this out
http://msdn.microsoft.com/en-us/library/cc295367%28v=expression.30%29.aspx
IpsitaMishra
4-Jan-13 8:10am
View
Does your fare is coming from DB or you are provding it menually ?????
IpsitaMishra
4-Jan-13 8:07am
View
can you please specify your requirement so that everyone ready to help you :)
IpsitaMishra
4-Jan-13 8:04am
View
When back button is clicked the session value is what as it is at the time of previous page load so we can't get the set value.
IpsitaMishra
4-Jan-13 5:12am
View
If you have one SMTP emailID and password you can create your own application that can send as many emails as you can want :)
IpsitaMishra
4-Jan-13 5:04am
View
can you please specify your requirement so that every one can help you :) :)
IpsitaMishra
4-Jan-13 4:41am
View
Thanks :)
IpsitaMishra
4-Jan-13 4:41am
View
You are most welcome :)
IpsitaMishra
4-Jan-13 4:38am
View
read this you will get your ans :)
http://msdn.microsoft.com/en-us/library/ms175951%28v=sql.105%29.aspx
IpsitaMishra
28-Dec-12 5:25am
View
One of the situation where I have faced this issue is
If you are using any external files like the .ccs/.js and that are http site and our's one is a https .
The solution to the issue is instead of using the external files you can use internal file in you website.
IpsitaMishra
27-Dec-12 6:07am
View
I thought you want to insert all the column(and daterows) of excel sheet to one of the table in the your db .Is it :)
IpsitaMishra
13-Dec-12 2:45am
View
There is no Issue with your Code but make sure that "ddlCountry" is placed at propor place.
IpsitaMishra
12-Dec-12 8:22am
View
here is the code in the page
function GetTotal() {
totalDTH = 0;
totalMCF = 0;
// Get the gridview
var grid = document.getElementById("<%= grdVolumes.ClientID%>");
// Get all the input controls (can be any DOM element you would like)
var inputs = grid.getElementsByTagName("input");
// Loop through all the DOM elements we grabbed
for (var i = 0; i < inputs.length; i++) {
// In this case we are looping through all the Dek Volume and then the Mcf volume boxes in the grid and not an individual one and totalling them
if (inputs[i].name.indexOf("txtDekVolume") > 1) {
if (inputs[i].value != "") {
totalDTH = totalDTH + parseInt(inputs[i].value);
}
}
if (inputs[i].name.indexOf("txtMcfVolume") > 1) {
if (inputs[i].value != "") {
totalMCF = totalMCF + parseInt(inputs[i].value);
}
}
}
}
IpsitaMishra
12-Dec-12 7:13am
View
you can call an aspx page on the href of the
tag and in the pageload of the page you can write the code to send mail.
IpsitaMishra
12-Dec-12 5:10am
View
you can try with style="display:inline;"
IpsitaMishra
11-Dec-12 7:12am
View
ohh actually the hyper link in my case calls a javascript function
that javascript function has some re-direction code.
IpsitaMishra
11-Dec-12 6:32am
View
you can add a grid and make that invisible just a suggestion :)
IpsitaMishra
11-Dec-12 6:28am
View
Deleted
for .Net framework you can use .NET Reflector
IpsitaMishra
7-Dec-12 6:00am
View
thanks a lot :)
Show More