16,002,251 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 .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 Sri Nivas (Vasu) (Top 42 by date)
Sri Nivas (Vasu)
22-Jan-16 5:34am
View
For what you want to generate code?
Is it some thing like CMS or what ???
Mention your specific requirement. As of now there is no tool to generate code what ever we wish?
Sri Nivas (Vasu)
22-Jan-16 4:46am
View
you can use path like \\SystemName\path\fileName.csv OR \\IP.Address\path\fileName.csv
Sri Nivas (Vasu)
22-Jan-16 0:49am
View
Are you facing any issue? Or you want to know how to implement question is not clear and not able to understand please update the question so that we can understand.
Sri Nivas (Vasu)
21-Jan-16 11:18am
View
Where exactly you are facing problem? Please share the details of how you bind and where you are facing issue so that you will get better help from here.
Sri Nivas (Vasu)
21-Jan-16 11:13am
View
Don't excpect to complete your assignment by others, start working on this and if you struck any where then ask specific question where you struck then you will get help.
Sri Nivas (Vasu)
21-Jan-16 11:09am
View
If you want to store values from one page to other pages you can use two methods.
1) session
2) cookie
Based on the requrirement you can select one of these location and store the values accordingly.
Sri Nivas (Vasu)
21-Jan-16 2:30am
View
Its pleasure to help you :)
Sri Nivas (Vasu)
20-Jan-16 7:26am
View
Do you want to display popup on page load? then should search for the pop display in the web page. Do ground work and if you struck at some where post the question here.
Sri Nivas (Vasu)
20-Jan-16 7:22am
View
hmm yes. I should not do like that (y)
Sri Nivas (Vasu)
20-Jan-16 5:50am
View
What exactly you want to do onClick() method?
Just it will call ajax method. It will not do any redirect.
If you want redirect you can use location.href = "http://domain.com/TTSCancel/View1";
Sri Nivas (Vasu)
20-Jan-16 5:45am
View
Error itself telling whats the wrong is :)
Sri Nivas (Vasu)
20-Jan-16 5:44am
View
Do you want to store messages permanently or you want to display data temporary only for the each session?
If you want to store data permanently then your data display should come from database it will display complete data even after page refresh.
If you want to store data temporary try client side storage of chat with date time(so that you can kill data if you want.) and on page load display the stored chat if available.
Sri Nivas (Vasu)
20-Jan-16 5:11am
View
I think you have added conditions like below
T.InnerCountry_Id=subCountryId OR T.InnerCountry_Id.subCountryId = 0
but that should be like below
T.InnerCountry_Id=subCountryId OR subCountryId = 0 //(subCountryId is parameter)
Please check once
Sri Nivas (Vasu)
20-Jan-16 5:03am
View
You can create event handler for
tag like this.
$("a").click(
function(event){
//Do ajax call here
}
);
Sri Nivas (Vasu)
20-Jan-16 4:40am
View
Have you googled about this before posting question here?
Sri Nivas (Vasu)
20-Jan-16 4:35am
View
If only exception throws, then execution will halts. I don't think stopping application on some condition is not good idea. So return some value with out exception throwing will be good.
Sri Nivas (Vasu)
20-Jan-16 4:33am
View
You need to create event handler method for the link button in home page side bar nav. In that method include below line.
panel.Visible = ! panel.Visible;
This line will toggle the visibility of the panel.
Sri Nivas (Vasu)
20-Jan-16 4:31am
View
then we don't need event.preventDefault();. You can call ajax method.
Sri Nivas (Vasu)
20-Jan-16 2:27am
View
Then $("#ulelementID").html(""); should work. If there is no content in the UL tag.
usually <ul> tag contains only <li> tags. If you want to remove all <li> tags then
$("#ulelementID").html(""); will work.
I think you need some thing else here.
Sri Nivas (Vasu)
20-Jan-16 2:13am
View
Do you want to ignore the condition if the value is null or zero?
Sri Nivas (Vasu)
20-Jan-16 2:07am
View
You mean
Change the tag
<ul> <li>
<div></div>
</li>
</ul>
To
<ul>
<div></div>
</ul>
Sri Nivas (Vasu)
20-Jan-16 2:01am
View
Okay, let me give you the query for you. But if possible alter the table structure it will saves the life of developer. Discuss with your team members regarding table structure changes.
Sri Nivas (Vasu)
20-Jan-16 1:31am
View
What exactly you want to clear from <ul> tag?
Is this <ul> tag contain div?
Sri Nivas (Vasu)
20-Jan-16 0:52am
View
Do you have this table structure already existed or you want to create this table structure? I think better to store table1 SegId in separate table. Instead of comma separated.
Sri Nivas (Vasu)
19-Jan-16 9:39am
View
Do you mean
"double string array" is "array with size 2" ?
Sri Nivas (Vasu)
19-Jan-16 9:34am
View
You can do this check below.
http://stackoverflow.com/questions/821011/how-do-you-prevent-javascript-page-from-navigating-away
But I think this won't work in all browsers.
Good luck :)
Sri Nivas (Vasu)
19-Jan-16 8:55am
View
What exactly you want to do here? Want to prevent opening on new tab when user clicks on any link ?
Sri Nivas (Vasu)
19-Jan-16 6:35am
View
Cool :) . If you asked the question like.
SQL query for finding birthdays... then you would get the correct answer your question. Here you got answers for the c# and linq ;) .
Sri Nivas (Vasu)
19-Jan-16 5:58am
View
What exactly you want? you want to debug the data or send it to server using some api method?
Sri Nivas (Vasu)
18-Jan-16 4:44am
View
Do you want to create another application to download data???
Sri Nivas (Vasu)
18-Jan-16 4:27am
View
Thanks :)
Sri Nivas (Vasu)
18-Jan-16 4:27am
View
Issue solved, Cool. Apart from that better to move the the code in the
LoadPage() method to other methods and call those methods from LoadPage() it will be good to maintain and understand the flow.
Sri Nivas (Vasu)
14-Jan-16 8:34am
View
If I understand correctly,
1) Form will loads with out data.
2) Upon clicking button1 data will be loaded in the form.
3) Upon clicking btnFindandReplace button you are replacing the data grid data
If these are the steps then replace should work properly, why because you are replacing the what ever grid data you are replacing.
I think some where grid is reloading, which will causing the lost of previous loaded data. with the code you have provided I am not able to point that point where grid is reloading.
Please Identify you are not loading the grid in the form load or some where else, put debug point all the places where you are loading the grid and remove the unnecessary loading. This will solve the problem.
Sri Nivas (Vasu)
14-Jan-16 7:32am
View
Can you please provide the code for dataGridView1 binding ?
Sri Nivas (Vasu)
14-Jan-16 6:50am
View
Yes, that will be helpful.
Sri Nivas (Vasu)
14-Jan-16 1:18am
View
You can check like below
if (dt.Rows[0]["cname"] != null && !string.IsNullOrEmpty(dt.Rows[0]["cname"].ToString() ) )
{
// statements for not null
}
Sri Nivas (Vasu)
14-Jan-16 1:16am
View
Do you want to find minutes part of the each date ?
Sri Nivas (Vasu)
14-Jan-16 1:13am
View
It depends on your requirement. You can use any method to display data to the end user either table or list.
Please go throw the below links you will get idea how to do
http://www.asp.net/mvc/overview/older-versions-1/models-data/displaying-a-table-of-database-data-cs
http://www.codeproject.com/Articles/774228/MVC-Html-Table-Helper-Part-Display-Tables
Sri Nivas (Vasu)
13-Jan-16 5:07am
View
you can use same condition in the sql server query.
you can find how to get day part, month part from data in sql server
Sri Nivas (Vasu)
12-Jan-16 8:29am
View
Deleted
Are you getting error with content type "application/json;" also ?
Sri Nivas (Vasu)
3-Feb-14 7:24am
View
For this SP side SSL certificate has been configured. but getting same error can any oneplease help me on this. Thanks in advance.
Sri Nivas (Vasu)
3-Feb-14 7:23am
View
SP side SSL certificate has been configured but still getting same error. Can you please help me on this?
Show More