15,892,643 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 Sibasisjena (Top 150 by date)
Sibasisjena
28-Nov-17 1:55am
View
Please post your code.
Sibasisjena
21-Nov-17 4:30am
View
https://stackoverflow.com/questions/6385342/how-to-create-a-campaign-in-mailchimp-using-asp-net
Sibasisjena
16-Nov-17 9:24am
View
Please check the code below.
var obj, isSahrukh = false;
if(isSahrukh)
{
obj = {Name:"Saharukh", Movie:"DDLJ"};
}
else
{
obj = {Name:"Amir", Movie:"Sarfarosh"}
}
You may check in chrome/any browser console.
Sibasisjena
9-Nov-17 1:41am
View
Please try link
Create-Read-Advance-PDF-Report-using-iTextSharp-in
Sibasisjena
9-Nov-17 1:32am
View
The excel sheet might have corrupted. Please create a sample excel sheet and try to read that to datatable. Please find the solution given below.
Read-Excel-Sheet-Data-into-DataTable
Sibasisjena
3-Nov-17 2:11am
View
@Prashant, please put your code (C# & SQL), that you have tried
Sibasisjena
3-Nov-17 2:00am
View
Checked your code apart from the report issue, there is a if condition and that will always be executed. Please take necessary action.
if (true)
{
drow["proid"] = "0001";
drow["proname"] = "data2";
drow["cost"] = "200";
drow["code"] = "0123";
drow["shopname"] = "Shop Name";
}
Sibasisjena
2-Nov-17 3:47am
View
After populating the treeview you can use the TreeNode.CollapseAll Method ()
Sibasisjena
31-Oct-17 7:24am
View
Do all the table's are having same columns with types?
You are trying to merge those in C# code?
Sibasisjena
31-Oct-17 6:31am
View
So is it worked?
Sibasisjena
31-Oct-17 5:05am
View
When you click on the Edit button, the method grdChangeRequirement_RowEditing would be executed. Please check and let me know
Sibasisjena
31-Oct-17 2:16am
View
You mean, method grdChangeRequirement_RowDataBound is not executed while page load?
The process:
1. On page load the grdChangeRequirement_RowDataBound method would be executed for all rows recursively.
2. Inside this method you need to check the myTextBox.ToString()
3. If the value is "Yes", then only make the edit button disable.
Then it should work. Please post your Gridview markup.
Sibasisjena
30-Oct-17 9:32am
View
Please check, the soulution is updated. I think you need the RowDataBound event in the grid. Checked your code you have used this one. What is the exact problem you are facing? Your 2nd method should work. Put a debugger in the grdChangeRequirement_RowDataBound event and let me know, whether the control is going there or not.
Sibasisjena
13-Jan-15 5:49am
View
You have to write code like below:
document.getElementById("yourControlId").focus();
Sibasisjena
13-Jan-15 5:31am
View
Please send me your .cs file. You can use gett to share files. You can upload the file there. And give me the link. Else you post your code here.
Sibasisjena
13-Jan-15 5:22am
View
Hi James,
Which control you have used.
1. A list of CheckBox control
2. A CheckedListBox control
Sibasisjena
13-Jan-15 5:01am
View
i think, onchange of your 3rd dropdown first 2 dropdowns are bound again.
Sibasisjena
13-Jan-15 4:56am
View
Hi Avinas,
Have you written the codes inside the
if(!IsPostBack)
{
}
Sibasisjena
13-Jan-15 3:06am
View
Hi Gayathri,
You said correct.
Thanks,
Sibasis
Sibasisjena
12-Jan-15 8:56am
View
I am not comfortable with vb.net. But i have provided a solution in C# please check my answer below. Please do a null check before use this.
Sibasisjena
24-Dec-14 7:11am
View
Please provide more information
Sibasisjena
24-Dec-14 3:01am
View
Do you have firefox browser? If yes, then open this page in firefox. Also open the firebug console and see there what is the issue.
Sibasisjena
24-Dec-14 2:59am
View
Hi krrazyumesh,
i have added 2 links. Please check those. You can an idea how to get out the issue.
If any specific issue, then please put.
Sibasisjena
24-Dec-14 2:15am
View
Have you included that js file in your page.
Sibasisjena
23-Dec-14 5:01am
View
Can you post your c# code
Sibasisjena
23-Dec-14 3:38am
View
Hi loai_maane,
Please do check in sql server management studio before create dynamic query in c# code. That will help you a lot
Sibasisjena
23-Dec-14 3:27am
View
Hi loai_maane,
What exactly you are trying to do? You want to add column or what?
Sibasisjena
22-Dec-14 8:16am
View
Thanks Maciej
Sibasisjena
22-Dec-14 6:46am
View
Hi Torakami,
How are you binding the dropdownlist. In C#?
Sibasisjena
22-Dec-14 6:04am
View
Apply style which will satisfy to all the browsers. If not possible then try chrome specific styles.
Sibasisjena
22-Dec-14 5:36am
View
What is the UI issue, you are facing @vijaykittur
Sibasisjena
18-Dec-14 1:06am
View
Please explain your question bit more.
Sibasisjena
17-Dec-14 9:13am
View
Please post your script/ procedure.
Plesae have a look on the below link
http://stackoverflow.com/questions/42648/best-way-to-get-identity-of-inserted-row
I would suggest "SCOPE_IDENTITY"
Sibasisjena
17-Dec-14 5:31am
View
What is the exact error you are getting?
Sibasisjena
15-Dec-14 5:01am
View
I was in lunch break, i am back to work now. please put your aspx code.
Sibasisjena
15-Dec-14 3:35am
View
Can you put some more description regarding the problem.
Sibasisjena
15-Dec-14 3:27am
View
Hi Manohar,
Please try with the below link
http://www.aspsnippets.com/Articles/ASP.Net-AJAX-Control-Toolkit-AutoCompleteExtender-without-using-Web-Services.aspx
Sibasisjena
6-May-14 2:48am
View
Please try this one
http://stackoverflow.com/questions/22223093/how-do-i-add-a-product-specific-facebook-share-button-to-order-confirmation-page
Sibasisjena
5-May-14 3:00am
View
Post your codes
Sibasisjena
8-Apr-14 6:43am
View
You are most welcome :)
Sibasisjena
20-Mar-14 7:31am
View
you want a procedure which will insert multiple values into the table.
Am i correct ?
Sibasisjena
20-Mar-14 7:14am
View
What do you want? you want to create a procedure or what ?
And what is the problem you are facing.
Sibasisjena
28-Feb-14 6:12am
View
you are most welcome :)
Sibasisjena
28-Feb-14 3:00am
View
You have used ajax call/server side coding for saving the label value ?
Sibasisjena
28-Feb-14 2:40am
View
I think, you want paging in your procedure .
Sibasisjena
27-Feb-14 0:43am
View
convert the enterdate into date time format. check is there any record with the condition you have given in the select statement
Sibasisjena
24-Feb-14 9:07am
View
Is your control going to showMessage() ?
Sibasisjena
24-Feb-14 9:03am
View
Can you show me your Jqgrid code.
Sibasisjena
12-Feb-14 4:38am
View
Get all the strings and concat all the strings separated by comma send it ti Javascript and split there.
Sibasisjena
11-Feb-14 7:35am
View
ok please check the link, i have provided to you. I have updated my solution.
Sibasisjena
11-Feb-14 6:58am
View
what kind of Date picker cotrol you are using.
Sibasisjena
11-Feb-14 6:53am
View
Check the link, let me know this is helpful or not
Sibasisjena
11-Feb-14 6:44am
View
You want to fetch date from Database and show in date picker. Am i correct ?
Sibasisjena
11-Feb-14 6:03am
View
Please try the given links, if you will face any problem then reply me.
Sibasisjena
11-Feb-14 5:13am
View
How do you want to fetch data using Webmethod /Wcf service ?
Sibasisjena
11-Feb-14 5:12am
View
What have you tried so far ?
Sibasisjena
11-Feb-14 5:07am
View
What type of grid you are using. I mean jqgrid/some server side grid.
Sibasisjena
17-Jan-14 8:58am
View
Ok thanks i will check this.
Sibasisjena
16-Jan-14 4:59am
View
Describe your problem, where you faced problem.
Sibasisjena
16-Jan-14 3:37am
View
Thanks for guide me.
Sibasisjena
16-Jan-14 3:34am
View
Where do you want to save the image in database or in folder.
Sibasisjena
16-Jan-14 3:30am
View
Please look into my solution. If you have any query please ask me.
Sibasisjena
16-Jan-14 0:48am
View
What have you tried, Please post the codes.
Sibasisjena
15-Jan-14 5:10am
View
Please check my updated solution.
Sibasisjena
15-Jan-14 2:18am
View
How can i answer you, Can you please provide the codes.
Sibasisjena
15-Jan-14 1:15am
View
Please check some links, i have provide to you. If you goal will not be achived then let me know.
Sibasisjena
14-Jan-14 7:22am
View
Is it your requirement to save in viewstate. Or is it fine if we can add row without using viewstate.
Sibasisjena
14-Jan-14 4:47am
View
post your codes
Sibasisjena
14-Jan-14 4:37am
View
Please post your handler code.
Sibasisjena
10-Jan-14 6:20am
View
I don't know php but is this "session['username']" allwoed in the mysql script
Sibasisjena
10-Jan-14 6:05am
View
Please delete your existing function, Then run this one.
Please use this one for dropping function
DROP FUNCTION Preg_form9
Sibasisjena
10-Jan-14 5:09am
View
Can you please give me, what is the error.
Sibasisjena
10-Jan-14 5:09am
View
Thank you very much :)
Sibasisjena
10-Jan-14 4:52am
View
Use this one
Sibasisjena
10-Jan-14 4:52am
View
protected void Button1_Click(object sender, EventArgs e)
{
MailMessage mail = new MailMessage("dnscubes7@gmail.com", "niya4422@gmail.com");
SmtpClient client = new SmtpClient();
client.Port = 25;
client.DeliveryMethod = SmtpDeliveryMethod.Network;
client.UseDefaultCredentials = false;
client.Host = "smtp.google.com";
client.Credentials = new System.Net.NetworkCredential("dnscubes7@gmail.com","msquaredrupeshjisha");
mail.Subject = "this is a test email.";
mail.Body = "this is my test email body";
client.Send(mail);
}
Sibasisjena
10-Jan-14 3:11am
View
Check my updated solution. I have added one more line to solution.
client.Credentials = new System.Net.NetworkCredential("Your EmailID ","password");
Sibasisjena
10-Jan-14 2:29am
View
You want to go to database again or what ?
Sibasisjena
9-Jan-14 9:13am
View
If you know how to develop a website. Then you don't have to pay for the development only you have to pay for the hosting in server.
Sibasisjena
9-Jan-14 8:13am
View
If you are selecting multiple row then you have to for loop. Some thing like this:
For Each itm As ListViewItem In listView1.SelectedItems
If itm.Selected Then
index = itm.Index
End If
Next
Sibasisjena
9-Jan-14 8:13am
View
Deleted
If you are selecting multiple row then you have to for loop. Some thing like this:
For Each itm As ListViewItem In listView1.SelectedItems
If itm.Selected Then
index = itm.Index
End If
Next
Sibasisjena
9-Jan-14 7:47am
View
You are selecting multiple files at a time or you are selecting multiple files one after another ?
Sibasisjena
9-Jan-14 7:28am
View
I think you need to convert the date format in your application. No need to do any thing in the Database. In the application where you are assigning the value,there itself you have to convert it.
Sibasisjena
9-Jan-14 7:27am
View
Can you please tell me what is you column type in the database.
Sibasisjena
9-Jan-14 6:43am
View
Post your codes.
Sibasisjena
9-Jan-14 6:11am
View
You can not subtract integer from datetime.
//The follow is not allowed.
DOB - 1
Sibasisjena
9-Jan-14 6:08am
View
Please describe your question clearly.
Sibasisjena
9-Jan-14 2:37am
View
Both the methods are doing same thing right ?
Sibasisjena
9-Jan-14 1:17am
View
Please check my solution @aassaahh
Sibasisjena
8-Jan-14 7:19am
View
What is your problem?
Sibasisjena
8-Jan-14 7:13am
View
Please put a debugger in the if condition and upload one file again and check the the control is going inside the if block or not.
Sibasisjena
8-Jan-14 7:07am
View
This should work because both the pages are in the same level.
Sibasisjena
8-Jan-14 6:09am
View
Can you please give me the path of the file you want to upload and the path of the saved file.
Sibasisjena
8-Jan-14 5:28am
View
also post the path of homepage.aspx
Sibasisjena
8-Jan-14 5:21am
View
path of both the files like
Ex:
C:\Users\sibasisj\Desktop\Admin\admin.aspx
Sibasisjena
8-Jan-14 5:09am
View
Please give your folder structure of both the aspx pages.
Sibasisjena
8-Jan-14 5:09am
View
got your problem. The calling page and called page are not in same directory.
Sibasisjena
8-Jan-14 5:02am
View
I have changed my solution please check it.
Sibasisjena
8-Jan-14 3:46am
View
Ok got you sir.
Sibasisjena
8-Jan-14 3:30am
View
If you want to store the video file in your application then check my solution.
Sibasisjena
8-Jan-14 3:20am
View
Run this script in sql server management studio:
ALTER TABLE [dbo].[FileUploads]
ALTER COLUMN [uname] VARCHAR(MAX)
Sibasisjena
8-Jan-14 3:17am
View
Check my solution 2
Sibasisjena
8-Jan-14 3:14am
View
Ok do one thing in the ddlPageRowSize_SelectedIndexChanged event save the selected value in view state. Assign the saved value in the page load again.
Sibasisjena
8-Jan-14 3:02am
View
Check my solution 4. I have updated it. Your table structure is wrong . The primary key column always will be the Identity(1,1). Please check my solution.
Sibasisjena
8-Jan-14 2:50am
View
please wait, i will give you a updated sol.
Sibasisjena
8-Jan-14 2:33am
View
Ok please check my next updated solution
Sibasisjena
8-Jan-14 1:59am
View
i think you have some problem in retriving the file path
Sibasisjena
8-Jan-14 1:54am
View
Check my solution. If this will not work then give me your file structure.
Sibasisjena
8-Jan-14 1:29am
View
Please have a look my solution. If this solution will not work then let me know.
Sibasisjena
8-Jan-14 1:13am
View
Can you please clear your questions? You want to import the excel sheet into the window application.
Sibasisjena
8-Jan-14 1:06am
View
please check my answer.
Sibasisjena
8-Jan-14 0:42am
View
You can change the style in client side.
Sibasisjena
7-Jan-14 11:15am
View
If we will do this in design view, then the text value will be always 0 according to your above code.
Sibasisjena
7-Jan-14 11:04am
View
In the page load check the text in empty or null, if yes then assign 0. Remove Text="0" from ASPx page
Sibasisjena
7-Jan-14 10:52am
View
I do agree with Phil
Sibasisjena
7-Jan-14 10:51am
View
No need to do any thing. The values will remain same after the post back
Sibasisjena
7-Jan-14 2:20am
View
Ok got your problem. You need to do an ajax call on the key press in javascript. I mean without reloading the page.
Sibasisjena
7-Jan-14 2:00am
View
Please explain some more regarding your problem.
Sibasisjena
6-Jan-14 2:33am
View
What actually you want to do ? I think you want the all records having inserted before today.
Sibasisjena
6-Jan-14 2:20am
View
Can you please explain some more about your problem.
Sibasisjena
3-Jan-14 6:52am
View
Please check the comboBoxthana.SelectedText and textBoxLicence_number.Text values are not null before use these. Else check record is there in db for the corresponding values.
If the record is not there, how it will be saved.
Sibasisjena
3-Jan-14 6:42am
View
You have to do it manually :( .
Declare a variable. use while loop to loop through the records.
Concat all the values you want and then select that concatenated value.
Sibasisjena
3-Jan-14 6:31am
View
Please like my solution :)
Sibasisjena
3-Jan-14 6:04am
View
There may be 2 cases
1.The table tblCustomer is not there in dataset
2.There is no table in the dataset
Please check the dataset while debugging and let me know.
Thanks,
Sibasis
Sibasisjena
3-Jan-14 5:46am
View
First bind the data in grid. Then after i will help you. Please provide your email here.
Sibasisjena
3-Jan-14 5:26am
View
Ok great, You are most welcome :)
Sibasisjena
3-Jan-14 5:12am
View
Use the following code and let me know, it is working or not.
using (SqlConnection con = new SqlConnection(str))
{
con.Open();
SqlCommand cmd = new SqlCommand("select Email from Registration where Email='" + loginemail + "' and password='" + loginpassword + "'", con);
using (SqlDataReader dr = cmd.ExecuteReader())
{
while (dr.HasRows && dr.Read())
{
if (dr.HasRows && dr.Read())
{
Response.Write("Login Successful");
Response.Redirect("Home.aspx");
break;
}
else
{
Response.Write("Wrong user name and password");
}
}
}
}
Sibasisjena
3-Jan-14 5:10am
View
ok got your problem. It is returning multiple records. I think the problem is due to multi records. Put a debuger and use while loop.
Sibasisjena
3-Jan-14 5:04am
View
Use the following line
SqlCommand cmd = new SqlCommand("select Email from Registration where Email='" + loginemail + "' and password='" + loginpassword + "'", con);
Sibasisjena
3-Jan-14 4:54am
View
Run the following script in your DB and tell me the result.
Select * from Registration where Email='jainamit.it@gmail.com' and password='amit'
Sibasisjena
3-Jan-14 4:48am
View
Can you show me your table structure in DB. I mean what are the columns you have. I will provide you a query. show me by taking screen shot of the data base
Sibasisjena
3-Jan-14 4:34am
View
There is no record in your database for the particular loginemail and loginpassword
Sibasisjena
3-Jan-14 2:40am
View
First of all reader is not required.
Sibasisjena
3-Jan-14 1:33am
View
If the above will not work then go through following links, you may get some idea.
Link1
Link2
Sibasisjena
3-Jan-14 1:21am
View
Deleted
Please try this one and let me know this is working or not.
Sibasisjena
2-Jan-14 8:43am
View
Hi Maulikshah,
Can you please post your code. What have you done to achieve this.
Sibasisjena
2-Jan-14 6:40am
View
Hi Maulikshah,
Actually in makemytrip they have used some kind of jquery controls like JQGRID.
But you are using server side control. If you will fire any event using server side control then the whole page will load again.
If you want to load the particular grid, then go for a JQgrid.
Thanks,
Sibasis
Sibasisjena
2-Jan-14 5:22am
View
I agree with you @Karthik
Sibasisjena
2-Jan-14 5:17am
View
Can you please explain some more about your problem. I am not getting what is your problem.
Sibasisjena
2-Jan-14 4:58am
View
What is your question @ak.prakash
Sibasisjena
8-Aug-12 8:52am
View
It can be possible using server side as well as clientside(javascript). First confirm what do You want ?
Sibasisjena
7-Aug-12 5:37am
View
Can you please check the class or id of that label after rendering ?
Sibasisjena
18-Jul-12 4:08am
View
Hi djrocks, did you get your answer or anythingelse you want.
Sibasisjena
17-Jul-12 10:22am
View
Hi kelly, you can do this functionality by using Jquery or in .cs page. First decide in using what you want to do that. If you will do it in jquery .cs code is not required vice versa.
Sibasisjena
17-Jul-12 6:46am
View
Please provide more data to solve your problem.
Sibasisjena
13-Jul-12 9:24am
View
Hi bahar_Agi,
write the javascript coding in <head></head>.
It is better and the proper way.
Sibasisjena
13-Jul-12 9:17am
View
No you can not check a mailId is valid. If you want to do this the send a mail if you got response then that emailId is valid one.
Sibasisjena
13-Jul-12 8:58am
View
Deleted
Ok Zery you can do like this
$(document).ready(function () {
$('#txttitle').click(function() {
$(this).val("");
});
});
Sibasisjena
13-Jul-12 8:27am
View
Actualy we can not hide text.We can do one thing the text which you want to hide.Just hide the container of the text.
Sibasisjena
31-Jan-12 5:32am
View
Linq is better than sql because linq has more advantages than sql
Sibasisjena
31-Jan-12 5:31am
View
it is another way i have written above
Show More