15,913,758 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 Sridhar Patnayak (Top 168 by date)
Sridhar Patnayak
17-Mar-14 6:43am
View
Check this
protected void Button1_Click(object sender, EventArgs e)
{
int a = Convert.ToInt32(TextBox1.Text);
int b = Convert.ToInt32(TextBox2.Text);
c=a + b;
label1.Text = Convert.ToString(c);
}
Sridhar Patnayak
12-Aug-13 8:22am
View
Why you require this functionality, Also it is not clear.
Sridhar Patnayak
9-Aug-13 4:11am
View
Md Mashkoor Ahmad is questioning, how to get sql server username and password, not from database, I think that's the reason it may be down voted.
Sridhar Patnayak
6-Aug-13 8:49am
View
This is not right way to answer the question. because it is not concept to read your links and implement. Just it is syntax issue.
Sridhar Patnayak
6-Aug-13 8:45am
View
Look at the code "K" is with in the try block now.
Sridhar Patnayak
6-Aug-13 8:43am
View
Deleted
Look at return 'K' which is in the try block.
Sridhar Patnayak
6-Aug-13 8:28am
View
shacha want solution with out using Cookies,Sessions, Querystring.
Sridhar Patnayak
6-Aug-13 8:23am
View
I don't agree with you, In MVC architucture, View will comes into front end, controller , model and ORM(Object Relational Mapper) will comes into server side, back end will be sqlserver or Oracle.
Sridhar Patnayak
1-Jul-13 7:33am
View
5+
Sridhar Patnayak
1-Jul-13 6:17am
View
Good links 5+,after long time to see you back.
Sridhar Patnayak
1-Jul-13 6:08am
View
So, he need to check the drive memory is full or not, but the question is different.
Sridhar Patnayak
1-Jul-13 5:57am
View
Yes, including this application and OS.
Sridhar Patnayak
1-Jul-13 5:47am
View
If the drive is full! then you want to format it, so what about your application and OS, Are you going to format these? :)
Sridhar Patnayak
19-Jun-13 1:43am
View
So what you want?
Sridhar Patnayak
13-Jun-13 4:24am
View
Repeated question, look at this link for your actual question and answers http://www.codeproject.com/Questions/606081/HowplustoplususeplusMultipleplusDatabaseplusinplus
Sridhar Patnayak
12-Jun-13 8:25am
View
Arun. you are correct.
Sridhar Patnayak
12-Jun-13 8:24am
View
How you are expecting the column 2 will get the count=2, because it has only one unique value. Your question is wrong.
Sridhar Patnayak
18-Apr-13 7:03am
View
Nice 5+
Sridhar Patnayak
18-Apr-13 5:58am
View
Good 5+
Sridhar Patnayak
18-Apr-13 5:55am
View
Agree with you
Sridhar Patnayak
18-Apr-13 5:51am
View
please let us know the reason of it.
Sridhar Patnayak
18-Apr-13 5:50am
View
So what, he entered within the range 1234567890
Sridhar Patnayak
11-Jun-12 8:10am
View
Look at my comment for basic differene between delete and truncate
Sridhar Patnayak
11-Jun-12 8:09am
View
Sandee this is the basic difference between turncate and delete
TRUNCATE will reset any identity columns to the default seed
value. This means if you have a table with an identity column and
you have 264 rows with a seed value of 1, your last record will have
the value 264 (assuming you started with value 1) in its identity
columns. After TRUNCATEing your table, when you insert a new
record into the empty table, the identity column will have a value of
1. DELETE will not do this. In the same scenario, if you
DELETEd your rows, when inserting a new row into the empty table, the
identity column will have a value of 265
Any reference http://codebetter.com/raymondlewallen/2005/05/09/the-difference-in-truncate-and-delete-in-sql-server/
Sridhar Patnayak
11-Jun-12 8:09am
View
Deleted
Sandee this is the basic difference between turncate and delete
TRUNCATE will reset any identity columns to the default seed
value. This means if you have a table with an identity column and
you have 264 rows with a seed value of 1, your last record will have
the value 264 (assuming you started with value 1) in its identity
columns. After TRUNCATEing your table, when you insert a new
record into the empty table, the identity column will have a value of
1. DELETE will not do this. In the same scenario, if you
DELETEd your rows, when inserting a new row into the empty table, the
identity column will have a value of 265
Any reference http://codebetter.com/raymondlewallen/2005/05/09/the-difference-in-truncate-and-delete-in-sql-server/
Sridhar Patnayak
11-Jun-12 6:55am
View
Added <pre> </pre> tags
Sridhar Patnayak
11-Jun-12 4:36am
View
Not clear
Sridhar Patnayak
11-Jun-12 4:20am
View
Good links 5!
Sridhar Patnayak
8-Jun-12 8:28am
View
Thanks Bhardwaj
Sridhar Patnayak
8-Jun-12 8:25am
View
Give some more details
Sridhar Patnayak
8-Jun-12 8:25am
View
Deleted
Give some more details
Sridhar Patnayak
8-Jun-12 8:19am
View
Not clear
Sridhar Patnayak
8-Jun-12 6:54am
View
Good links 5+
Sridhar Patnayak
8-Jun-12 6:54am
View
Thanks CodeBegin
Sridhar Patnayak
17-Apr-12 7:48am
View
The problem will be the primary key only, but removing primary key is not a best practice, Good gus 5+
Sridhar Patnayak
17-Apr-12 7:46am
View
Please explain briefly, Why you are inserting duplicate data!
Sridhar Patnayak
16-Apr-12 8:20am
View
Thanks Reddy
Sridhar Patnayak
16-Apr-12 8:20am
View
Thanks Shalini
Sridhar Patnayak
16-Apr-12 8:19am
View
Agree with you. 5+
Sridhar Patnayak
13-Mar-12 8:15am
View
Pretags added
Sridhar Patnayak
10-Feb-12 0:44am
View
Please elaborate your question little more?
Sridhar Patnayak
3-Feb-12 22:40pm
View
Thanks faizy
Sridhar Patnayak
3-Feb-12 12:55pm
View
Nice 5+
Sridhar Patnayak
3-Feb-12 12:43pm
View
update your existing link
Sridhar Patnayak
3-Feb-12 12:30pm
View
Repeated question , your answer at link http://www.codeproject.com/Questions/324507/bind-table-data-in-vb
Sridhar Patnayak
3-Feb-12 12:14pm
View
Deleted
Useful, Thanks for sharing
Sridhar Patnayak
3-Feb-12 11:51am
View
What is your error, which output you want? make it clear
Sridhar Patnayak
3-Feb-12 11:47am
View
Where is your combobox code, above code not related to the question, please elaborate your question clearly.
Sridhar Patnayak
3-Feb-12 11:32am
View
Good answer and link 5+
Sridhar Patnayak
3-Feb-12 11:24am
View
Good one for client side 5+
Sridhar Patnayak
3-Feb-12 11:03am
View
It sounds like homework!
Sridhar Patnayak
3-Feb-12 10:56am
View
please don't repeat question, check your previous answer
Sridhar Patnayak
3-Feb-12 10:38am
View
Please explain little bit more
Sridhar Patnayak
3-Feb-12 10:35am
View
Thanks Bijdar
Sridhar Patnayak
3-Feb-12 10:33am
View
Agree with you, Thanks
Sridhar Patnayak
3-Feb-12 6:58am
View
Good one 5+
Sridhar Patnayak
3-Feb-12 6:46am
View
Not clear, Which loop, and what it's doing? please provide little bit or code. Otherwise it is difficult to answer
Sridhar Patnayak
3-Feb-12 4:44am
View
Question not clear? Please provide little more info.
Sridhar Patnayak
3-Feb-12 4:32am
View
Question not clear? Do you want to access html code in code behind file? If yes place put runat="server" for html control. then you can access it in code behind file
Sridhar Patnayak
3-Feb-12 2:29am
View
So finally what you want, you cant access server, so where you want to upload
Sridhar Patnayak
3-Feb-12 0:05am
View
It is not a Question, it is a project
Sridhar Patnayak
2-Feb-12 7:32am
View
Not clear, you want to get primary key column with code or you want to set primary key for a table!!
Sridhar Patnayak
2-Feb-12 7:22am
View
Repost, any way what is your error?
Sridhar Patnayak
2-Feb-12 7:15am
View
Question Repeated
Your question link at http://www.codeproject.com/Questions/323788/how-to-connect-database-SQL-windows-authentication -- Please modify existing question
Sridhar Patnayak
2-Feb-12 6:55am
View
Good one 5+
Sridhar Patnayak
2-Feb-12 6:26am
View
Pre tags added
Sridhar Patnayak
2-Feb-12 6:13am
View
Thanks Freak
Sridhar Patnayak
2-Feb-12 6:10am
View
Tommy you placed WriteMenuText();
choice = int.Parse(Console.ReadLine());
in while loop, so it is displaying more times
for answer check my solution.
Sridhar Patnayak
2-Feb-12 6:08am
View
Please dont use solution, from next time use comment section. or edit your question.
Sridhar Patnayak
2-Feb-12 5:48am
View
Pre tags added
Sridhar Patnayak
2-Feb-12 5:37am
View
For this type of post use comment, not solution
Sridhar Patnayak
2-Feb-12 4:44am
View
Thanks Raj
Sridhar Patnayak
2-Feb-12 4:25am
View
you are welcome
Sridhar Patnayak
2-Feb-12 2:51am
View
Thanks thatraja
Sridhar Patnayak
2-Feb-12 2:48am
View
Where it is? please provide your sample code
Sridhar Patnayak
2-Feb-12 2:41am
View
Good one 5+
Sridhar Patnayak
2-Feb-12 2:35am
View
Good link - My 5+ and also look my solution
Sridhar Patnayak
2-Feb-12 2:13am
View
Not described properly?
Sridhar Patnayak
2-Feb-12 2:06am
View
Thanks Rajesh
Sridhar Patnayak
2-Feb-12 1:49am
View
Thanks Abhinav
Sridhar Patnayak
2-Feb-12 1:45am
View
Which download link? Tutorial or any other
Sridhar Patnayak
2-Feb-12 1:43am
View
Question not clear?
Sridhar Patnayak
2-Feb-12 1:34am
View
Good link my 5+
Sridhar Patnayak
2-Feb-12 1:20am
View
This is one scenario to rise this type of error, But their may be some other scenario like forget field while inserting records in db.
Sridhar Patnayak
2-Feb-12 1:17am
View
Not provided related code. This code is not related to the specific error
Sridhar Patnayak
2-Feb-12 1:09am
View
Sorry, Thanks Rajesh
Sridhar Patnayak
2-Feb-12 1:09am
View
sounds like homework!
Sridhar Patnayak
1-Feb-12 7:37am
View
Please don't use solution to provide code details, Next time use comments
Sridhar Patnayak
1-Feb-12 7:30am
View
Repeated
Sridhar Patnayak
1-Feb-12 6:47am
View
Quickest way to implement - Upload sample from stackoverflow - 5+
Sridhar Patnayak
1-Feb-12 6:42am
View
Good explanation, Me to 5+
Sridhar Patnayak
1-Feb-12 6:40am
View
Agree with you
Sridhar Patnayak
1-Feb-12 6:09am
View
Nice solution 5+
Sridhar Patnayak
1-Feb-12 6:08am
View
Only ajaxcontrols are not sufficient to speed up your application. Their are so many factors involved in it.
Sridhar Patnayak
1-Feb-12 6:05am
View
This is not correct place for this type of queries
Sridhar Patnayak
1-Feb-12 5:49am
View
Check your table records.
Sridhar Patnayak
21-Jan-12 0:37am
View
Good Link 5+
Sridhar Patnayak
7-Jan-12 6:05am
View
Thanks SAKryukov
Sridhar Patnayak
7-Jan-12 6:03am
View
Good solution - 5
Sridhar Patnayak
7-Jan-12 6:01am
View
How can you delete session manually?
Sridhar Patnayak
7-Jan-12 5:52am
View
If you want to access images from your solution, this type of requirement will not come, bcz the images are stored with your solution. But if you want to access images from another website dynamically it is not at all possible.
Sridhar Patnayak
7-Jan-12 5:47am
View
Thanks Amir
Sridhar Patnayak
7-Jan-12 5:29am
View
Nice 5+
Sridhar Patnayak
7-Jan-12 5:05am
View
Check the edited solution for file save link.
Sridhar Patnayak
7-Jan-12 4:51am
View
I agree with you Griff, and also this is very simple task.
Sridhar Patnayak
6-Jan-12 23:46pm
View
Can you share your code!
Sridhar Patnayak
6-Jan-12 12:40pm
View
Yes agree, but if we want to start any web programming w3schools is the first thought of our mind. because it is easy to learn with good examples.
Sridhar Patnayak
6-Jan-12 11:52am
View
Highly suggestible link to start - my 5+
Sridhar Patnayak
6-Jan-12 7:50am
View
Onblur event does not allow you to call client side and server side events at a time. He want to execute both events at a time.
Sridhar Patnayak
6-Jan-12 7:42am
View
Good link 5+
Sridhar Patnayak
6-Jan-12 7:35am
View
Nice to see you with comment, Thanks
Sridhar Patnayak
6-Jan-12 7:16am
View
Deleted
Use comment for doubts on questions, don't use solution for further clarification.
Sridhar Patnayak
6-Jan-12 7:14am
View
This is Also good 5+
Sridhar Patnayak
6-Jan-12 7:13am
View
Thanks Ravi
Sridhar Patnayak
6-Jan-12 6:33am
View
Dynamic creation of columns can be achieved by using pivot-table in sqlserver.
check this link http://blog.sqlauthority.com/2008/05/22/sql-server-pivot-table-example/. Your output can be achieved with pivot-table.
Sridhar Patnayak
6-Jan-12 6:29am
View
This is not a good approach
Sridhar Patnayak
6-Jan-12 6:17am
View
Good 5+
Sridhar Patnayak
6-Jan-12 4:57am
View
Good 5+
Sridhar Patnayak
6-Jan-12 2:40am
View
Good 5+
Sridhar Patnayak
6-Jan-12 2:02am
View
Thanks RaisKazi
Sridhar Patnayak
6-Jan-12 1:44am
View
My self I am experienced with tcp and VPN, and I felt that it is much easier to implement in the suggested networks like Lan and VPN. Their are several articles which will give you information to implement tcp file transfer. And now check my modified solution, when udp is need to implement. link provided (A UDP-based Reliable Data Transfer Library).
Sridhar Patnayak
5-Jan-12 23:20pm
View
Thanks Marcus
Sridhar Patnayak
4-Jan-12 6:32am
View
What is the error?
Sridhar Patnayak
2-Jan-12 12:43pm
View
Good answer Espen. 5+
Sridhar Patnayak
2-Jan-12 12:37pm
View
Good suggestion
Sridhar Patnayak
2-Jan-12 12:36pm
View
Agree 5
Sridhar Patnayak
2-Jan-12 12:31pm
View
Good suggestion 5
Sridhar Patnayak
2-Jan-12 12:28pm
View
Deleted
Reason for my vote of 5
Nice tip to validate IMEI numbers me 5
Sridhar Patnayak
31-Dec-11 0:01am
View
Nice solution -- 5+
Sridhar Patnayak
30-Dec-11 11:27am
View
Nice My 5
Sridhar Patnayak
30-Dec-11 11:14am
View
Thanks Espen
Sridhar Patnayak
30-Dec-11 7:19am
View
suggestible, good logic
Sridhar Patnayak
30-Dec-11 7:18am
View
I this is not suggestible, lengthy process
Sridhar Patnayak
30-Dec-11 7:15am
View
Thanks for update, solution edited now
Sridhar Patnayak
30-Dec-11 6:22am
View
Good link -- my 5
Sridhar Patnayak
30-Dec-11 5:51am
View
"selecte one row from database when i click to add button it should stored to database"
Please edit this post correctly
Sridhar Patnayak
30-Dec-11 5:40am
View
Very good solution -- my 5
Sridhar Patnayak
30-Dec-11 5:36am
View
Good links and easy to implement - my 5
Sridhar Patnayak
30-Dec-11 5:24am
View
Thanks Rajesh
Sridhar Patnayak
30-Dec-11 1:08am
View
Rajesh - Excellent video tutorial - my 5
Sridhar Patnayak
30-Dec-11 1:03am
View
Good Suggestion- 5 of me
Sridhar Patnayak
30-Dec-11 1:03am
View
Good Solution- 5 of me
Sridhar Patnayak
30-Dec-11 1:00am
View
Good link - 5 of me
Sridhar Patnayak
30-Dec-11 0:52am
View
In web application online user can go for any link with out completion of process. I think no need to block UI
Sridhar Patnayak
29-Dec-11 1:20am
View
My vote of 5 - The way of suggestion is very nice , localization and globalization are suggestible here.
Sridhar Patnayak
26-Dec-11 7:04am
View
I think you copied the code directly!
DateTime dt = DateTime.Now;
Check it... some thing like this
DateTime dt =datetimepicker1.value;
Sridhar Patnayak
26-Dec-11 1:43am
View
pls explain briefly
Sridhar Patnayak
24-Dec-11 7:21am
View
Use google search. This is not a place to start learning
Sridhar Patnayak
24-Dec-11 6:59am
View
If you want to create it dynamically, look the modified code
Sridhar Patnayak
24-Dec-11 6:52am
View
You want to create it dynamically?
Sridhar Patnayak
24-Dec-11 6:21am
View
Datetime is a constructor, so first you have to create object it and pass parameters .
2nd one datetimepicker1.value return date
Sridhar Patnayak
20-Dec-11 4:34am
View
Thanks for guiding me
Sridhar Patnayak
20-Dec-11 4:33am
View
Thanks for providing informative link
Sridhar Patnayak
20-Dec-11 4:31am
View
Thanks for guiding me, The paper on Secure Coockie protocol is very useful
Sridhar Patnayak
19-Dec-11 3:04am
View
User Coockie or QueryString, easily you can implement it in your project
I think this link useful to you
http://msdn.microsoft.com/en-us/library/aa479313.aspx
Sridhar Patnayak
19-Dec-11 1:40am
View
You have to send the value of dropdown in the form of String, in the second page you have to convert it in to long value--- it will work
Sridhar Patnayak
16-Apr-11 5:51am
View
In sqlserver if you write query like this
select GETDATE();
you will get current date
Sridhar Patnayak
16-Apr-11 3:30am
View
Please check "str" in the above code, To remove i want to click on the div which was created dynamically by "str", so the code you chosen is not sufficient to do this task
Sridhar Patnayak
15-Apr-11 8:42am
View
Thanks for your information
Sridhar Patnayak
15-Apr-11 8:18am
View
for better understanding
Sridhar Patnayak
15-Apr-11 7:27am
View
you want to set true or false for radio button,so what I am doing is I am getting the selected row from gridview, and based on the condition i am binding it to radiobutton.
Sridhar Patnayak
15-Apr-11 6:39am
View
you can take any example
Sridhar Patnayak
21-Mar-11 3:51am
View
Please describe me in detail
Sridhar Patnayak
21-Mar-11 3:51am
View
Theingi
I think it is not posible, because if we maintain lock then while updating records
if connection failed, lock will not update, so that another process does not enter
Sridhar Patnayak
19-Mar-11 8:48am
View
good link , very useful
Sridhar Patnayak
18-Mar-11 7:43am
View
Dear friends
I don't want solution like this, what jim provided link is useful
Sridhar Patnayak
18-Mar-11 7:01am
View
Jim
good link, I got solution
Thanks
Sridhar Patnayak
10-Mar-11 7:29am
View
Yh thanks, i got it
I didn't add BranchSearch.ascx(user control) to the aspx page
Show More