15,891,777 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 Shashank Laxman (Top 41 by date)
Shashank Laxman
21-Dec-18 5:59am
View
you can do it in MySQL where in you can run event scheduler that will run stored procedure after every 30 days which will deduct amount automatically and set a flag if user has opted.
Shashank Laxman
3-Dec-18 8:48am
View
Do you need to show JSON as plain string?
or map it into tabular format?
Shashank Laxman
3-Dec-18 8:46am
View
Maybe the path which you hosted got changed which maybe one of the reason.
Shashank Laxman
29-Nov-18 7:59am
View
Deleted
I'm quite sure you will find lots of articles on this if you google for them.
Shashank Laxman
29-Nov-18 7:57am
View
;)
Shashank Laxman
29-Nov-18 7:56am
View
;)
Shashank Laxman
27-Nov-18 8:33am
View
It maybe a version error or some updates or dependencies are missing in Visual Code,If possible try and install Visual Code again and run code.
Shashank Laxman
27-Nov-18 3:08am
View
Try Adding MySql.Data.dll
IF you get Visual Studio try by Manage NuGet Packages.
Shashank Laxman
27-Nov-18 3:03am
View
From Your Question you can keep ABC as X-axis and Total as Y-axis.
So your plotting points will be (40,100),(10,100),(50,100).
For Code :
https://www.aspsnippets.com/Articles/Create-ASPNet-Chart-Control-from-Database-using-C-and-VBNet-Example.aspx
Hope this helps.
Shashank Laxman
27-Nov-18 2:34am
View
Inside configure function add and try :
HttpConfiguration config = new HttpConfiguration();
config.MapHttpAttributeRoutes();
config.Services.Replace(typeof(IExceptionHandler), new HandleError());
config.Filters.Add(new ErrorFilter());
config.EnableCors(new EnableCorsAttribute("*","*","*"));
appBuilder.UseWebApi(config);
Shashank Laxman
27-Nov-18 2:28am
View
You mean to say weighing machine ImageButton and on click Event TextBox should be populated??
Shashank Laxman
26-Nov-18 8:54am
View
Yes Concatenating SQL Queries are dangerous if some special character like '(Single Quotes) come in query then SQL query execution will throw exception.Try using Parameterized Query as discussed by Richard Deeming like using Stored Procedures.
Shashank Laxman
21-Nov-18 9:09am
View
string AID = GridView1.SelectedRow.Cells[1].Text;
try using session variables
and then Response.Redirect();
Shashank Laxman
17-Nov-18 6:48am
View
But user may not enter the entire name of book author,then whats the use of storing in database.
For eg : Amish Tripathi user may enter as Amish(for Amish Tripathi).
I suggest you to insert new author name in database and then fill all book details belonging to that author. This will place less burden on user.
Shashank Laxman
24-Aug-18 5:39am
View
Check the number of columns are matching in both table and file.
Also column name matters a lot hence should be same in both table and file
Shashank Laxman
12-Jul-18 4:18am
View
Just for simplicity purpose i have used List and then iterated.
You will obviously use DataReader instead of list.
Just paste the code which i have posted and run.
You will have to make changes in key check -
if (MyDictionary.ContainsKey("admin"))
Remove hardcoding part.
Shashank Laxman
17-Apr-18 6:54am
View
You can try Server.MapPath for server download :
Example :
Directory.GetFiles(Server.MapPath("~/SavedImages")), delegate (string path) { File.Delete(path); }
SavedImages is server folder
Above code deletes file from server.
You have to check in IIS for server path.
Shashank Laxman
9-Mar-18 8:56am
View
Autopostback may be causing issue please try posting code
Shashank Laxman
20-Feb-18 9:39am
View
Thanks a lot it worked just updated the package
Shashank Laxman
20-Feb-18 9:28am
View
Because the other dependent projects are in .net 3.5 so.I know its not a good idea to move backwards.Just reply will stackexchange.redis work.Just need to do it urgently.
Shashank Laxman
15-Feb-18 8:31am
View
https://social.msdn.microsoft.com/Forums/vstudio/en-US/4377b2dd-fdf6-42f7-baa8-d900430d9454/c-list-vs-ilist?forum=csharpgeneral
Shashank Laxman
7-Feb-18 8:20am
View
The question in itself is a joke
Shashank Laxman
7-Feb-18 3:07am
View
Check if your server is missing mysql.dll,if yes add that dll and make changes in php.conf and restart server
Shashank Laxman
6-Feb-18 0:31am
View
in PHP page,json should be in string format,try if it works after converting to JSON string
$data = '{\"results\": [{\"msgId\": \"001\",\"to\": \"9665312114\",\"status\": \"D\"}, {\"msgId\": \"859911880\",\"to\": \"966535112578\",\"status\": \"N\"}, {\"msgId\": \"859911880\",\"to\": \"966535112579\",\"status\": \"S\"}]}' ;
Shashank Laxman
5-Feb-18 8:09am
View
convert pure json into json string and try
{ \"test\":\"some data\" }
Shashank Laxman
25-Jan-18 3:51am
View
Ok noted.Welcome.
Shashank Laxman
25-Jan-18 2:34am
View
For Email Part Refer :
https://www.aspsnippets.com/Articles/Send-email-using-Gmail-SMTP-Mail-Server-in-ASPNet.aspx
https://stackoverflow.com/questions/18326738/how-to-send-email-in-asp-net-c-sharp
but first properly configure email on google mail and there are some settings on GMail.That allows u to send mail from untrusted sources.You must have this enabled,else google keeps blocking mails
Shashank Laxman
25-Jan-18 2:13am
View
INNER JOIN Meeting M ON M.meeting_id = SHM.meeting_id
INNER JOIN Attendee_have_meetings AHM ON M.meeting_Id = AHM.meeting_id
for this you need to have meeting_id as 14 in Attendee_have_meetings,Meeting,Staff_have_meetings
also staff_id for example 5 in Staff_have_meetings,Staff
also attendees_id for example 3 in Attendees,Attendee_have_meetings
when all table have matching rows only then rows will be returned.
please add dummy data where id column of corresponding tables should match.
try commenting INNER JOINS and then uncomment one inner join at a time and run select statement.
This way u can be sure which table doesn't have matching id
Shashank Laxman
25-Jan-18 1:52am
View
Check if "Staff_have_meetings" or "Meeting" table does not have column 'meeting_id'.
If not please add the same and check.
Please check for data correctness by executing query like email id.
Also please have a look on "Attendees".
Once you have done this you may move to coding part.
Shashank Laxman
25-Jan-18 1:07am
View
Also from what i see,the mapping with "Attendees" table is missing.If "attendees_email" is the column in "Attendees" then do add mapping.
Shashank Laxman
25-Jan-18 1:01am
View
Please try INNER JOIN ,it is much easier to read
What i have tried :
SELECT email, attendees_email
FROM Staff S INNER JOIN Staff_have_meetings SHM ON S.staff_id = SHM.staff_id
INNER JOIN Meeting M ON M.meeting_id = SHM.meeting_id
AND M.meeting_id ={0}
Shashank Laxman
24-Jan-18 9:07am
View
1)get the image
2)convert it to byte array and store it into database.
3)again read the image from database.
Shashank Laxman
24-Jan-18 8:55am
View
Thanks
Shashank Laxman
23-Jan-18 8:28am
View
Welcome akosisugar
Shashank Laxman
19-Jan-18 9:07am
View
for(int i=0;i<=3;i++)
{
Console.WriteLine("Enter Name : ");
string name = Console.ReadLine();
Console.WriteLine("Enter Age : ");
int age = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Press 3 to exit/Press 2 to continue");
int exit = Console.ReadLine();
if(exit == 2)
continue;
if(exit == 3)
break;
}
this will work for 4 entries from user.
Shashank Laxman
26-Dec-17 8:43am
View
Yeah i agree i was looking into functional working or else i would have recoded and post.But just on urgent basis corrected the part.
Shashank Laxman
26-Dec-17 8:34am
View
Can you write code for this problem with correction
This was posted by Member 13592581
I only corrected by giving an example
Shashank Laxman
26-Dec-17 8:32am
View
Ok thanks for clarification,ur posts are valuable
Shashank Laxman
26-Dec-17 8:19am
View
Where did i go wrong please correct me?
Shashank Laxman
26-Dec-17 8:16am
View
codeproject please review the answer and get my points back
Shashank Laxman
26-Dec-17 8:14am
View
why answer is downvoted,i only corrected logic
Show More