15,907,329 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 HariPrasad katakam (Top 31 by date)
HariPrasad katakam
19-Jan-15 5:03am
View
Where is your submit button located (is it inside gridview)? What is your exact requirement for submit button?
HariPrasad katakam
31-Jan-14 0:56am
View
Thanks for your response Prasad. I See that thread was pretty old, Do you think is that work is still work in progress? and please keep me posted if you find any update. once again thanks for your efforts and time.
HariPrasad katakam
29-Oct-13 6:15am
View
Have you put below code inside your Page Load and inside if(!IsPostBack){} block?
if (!IsPostBack)
{
rbtlistdrawings.Items.Add("Draw Polygon");
rbtlistdrawings.Items.Add("Craw Circle");
}
HariPrasad katakam
23-Oct-13 6:52am
View
Check your page_load event and put the code which is not needed to reload in post backs in if(!postBack){--} block.
HariPrasad katakam
23-Oct-13 6:21am
View
Do you meen you have a list of users and each user has a list of profiles? Please elaborate your requirement. So that some one can help you.
HariPrasad katakam
10-Jul-13 9:10am
View
Reason for my vote of 3 \n Good one. But, as @cjb110 said it would be great if you include negative point in each section.
HariPrasad katakam
10-Jul-13 9:07am
View
Reason for my vote of 4 \n 4
HariPrasad katakam
10-Jul-13 2:49am
View
Reason for my vote of 4 \n Thanks For Sharing.
HariPrasad katakam
8-Jul-13 9:32am
View
Reason for my vote of 3 \n Suggestion: When even you are share code, Do use code block. Please do not use images.
HariPrasad katakam
7-May-13 12:03pm
View
Thanks Zoltán Zörgő, Let me try with your solutions. I will let you know once done.
HariPrasad katakam
3-May-13 13:32pm
View
Ok thanks.will try to fix from my end with the same logic.
HariPrasad katakam
3-May-13 13:19pm
View
Ok do that.send it to urstrulyhariprasad@gmail.com. but it may take some time to give you reply.
HariPrasad katakam
3-May-13 11:38am
View
Hello Prabu, Thanks for your time. The query is throwing syntactical errors.
HariPrasad katakam
3-May-13 6:37am
View
Yes
HariPrasad katakam
3-May-13 6:12am
View
Sorry Was in hurry, below is one alternative i can suggest. might not be a effective way of coding,but until you find some other solution you can use this
replace below lines of code
string[] seats = Request.Form[Label13.ClientID].Split(new char[] { ',' });
for (int i = 0; i < seats.Length; i++)
objBooking.SeatDetails.Add(new StarBusModel.SeatDetail() { SeatID = Convert.ToInt32(seats[i]) });
with
string[] seats = Request.Form[Label13.ClientID].Split(new char[] { ',' });
int temp;
for (int i = 0; i < seats.Length; i++)
if(int.TryParse(seats[i],out temp))
objBooking.SeatDetails.Add(new StarBusModel.SeatDetail() { SeatID = Convert.ToInt32(seats[i]) });
But I am suspecting your label(which is storing all the selected seats with comma separated) may contain other than int values. please check that front as well.
HariPrasad katakam
2-May-13 3:43am
View
And also try to replace the line
objBooking.SeatDetails.Add(new StarBusModel.SeatDetail() { SeatID = Convert.ToInt32(seats[i]) });
with
objBooking.SeatDetails.Add(new StarBusModel.SeatDetail() { SeatID =int.TryParse(seats[i]) });
HariPrasad katakam
2-May-13 3:25am
View
What is the value you have in Label? i mean Label13.Text value? As per your logic it should be comma separated numeric.. Ex: 100,101,102 is That correct? if it is not the error message could be "Format exception was unhandled, Input string was not in a correct format.".
HariPrasad katakam
1-May-13 13:21pm
View
Hi Balimusi, Thanks for your reply. I have gone through the link earlier, it is use full, but it is not giving me 100% info what exactly i am looking for.
Thanks again for your time.
HariPrasad katakam
1-May-13 13:13pm
View
replace the Line
string[] seats = Request.Form[Label13.ClientID].Split(new char[] { ',' });
With
string[] seats = Label13.Text.Split(new char[] { ',' });
HariPrasad katakam
1-May-13 12:51pm
View
Are you sure that you have a Label with ID Label13 in your webpage? and is it stand alone page or having master page?
HariPrasad katakam
1-May-13 12:26pm
View
In which line you are getting the error? and also share the full error message
HariPrasad katakam
1-May-13 12:19pm
View
Sql Server 2008 R2
HariPrasad katakam
10-Feb-13 23:53pm
View
Thanks a lot Aarti Meswania. it worked.
HariPrasad katakam
14-Jan-13 3:12am
View
every thing looks fine to me. Can you share more info. try to put break point in first line of event handler and see weather it is hitting or not??
HariPrasad katakam
14-Jan-13 3:08am
View
You can assign the values to the controls in form in rowdatabound event of gridview. Just put a condition to check row index
for eg :-
IF(e.RowIndex==1)
{
//find the values of gridview row and assign the values to form (controls in side from)
}
HariPrasad katakam
7-Jan-13 5:01am
View
Thanks Sergey Alexandrovich for your valuable time, Can you suggest any solution for this issue??
HariPrasad katakam
3-Jan-13 3:18am
View
Can you please elaborate your problem. i mean
Are you able to update the other column values like admn_cmmnt , aprORrjct values?? or entire row values are not getting updated??
HariPrasad katakam
3-Jan-13 2:49am
View
In Which Line you are getting error??? you are trying to check weather the value in session is empty or not. in below if condition are you sure that you have dat in that session variable?? if(Session[Resources.PayrollResources.UserID].ToString() == "")
HariPrasad katakam
28-Dec-12 5:09am
View
Thanks Oleksandr Kulchytskyi,
I have given the XNamespace.now i am receiving "Object reference not set to an instance of object" error. :( As per my knowledge when consuming rest service need not to add proxy class, please let me know i would wrong.
HariPrasad katakam
19-Nov-12 0:28am
View
Hi ryanb31..Thanks for reply. The problem was due to huge data in table. As huge data is in update panel it is trying to update asynchronously so huge data was passing in each request.So this kind of requirements it is not advisable to use AJAX update panel, So I have removed the update panel and it's working fine now..
HariPrasad katakam
19-Nov-12 0:23am
View
Thanks Ranjan For your kind reply. Sorry Could not able reply.. What you said is absolutely correct. I have Solved this issue..the problem was i did not passed credentials while communicating :)
Show More