16,018,114 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 sgjoshi85 (Top 31 by date)
sgjoshi85
13-Sep-17 0:22am
View
ok. thank you. I replied to the comments.
sgjoshi85
13-Sep-17 0:22am
View
ok. but still there can be some tools that can give me near accuracy? I used some, but it doesn't give me near accuracy. Can you help me with my doubt? Is there anything different logic for reading Container Number from other regular images?
sgjoshi85
8-Sep-17 2:34am
View
Deleted
ok. but still there can be some tools that can give me near accuracy? I used some, but it doesn't give me near accuracy. Can you help me with my doubt? Is there anything different logic for reading Container Number from other regular images?
sgjoshi85
12-Jul-13 2:19am
View
how to set picture object programmatically by converting bytes to image and storing in that picture object?
sgjoshi85
5-Jun-13 4:25am
View
thanku :)
sgjoshi85
5-Jun-13 3:46am
View
I have tried RSAProtectedConfigurationProvider and DPAPIProtectedConfigurationProvider. It works fine on my developer machine. But when I install it in client's machine, it doesnt work
sgjoshi85
5-Oct-12 1:52am
View
Thanks a lottt..
sgjoshi85
11-Aug-12 5:29am
View
Hi Marcus, I don't understand the relation between the output lines and issue i fixed, but by doing so it solved my issue. In global.asax I called 2 methods in app_start(), it was running fine from 1 year. suddenly it stopped working due to this. i commented the line where i call the function and now its working.
Thanks for taking effort in helping me.
sgjoshi85
11-Aug-12 1:37am
View
Yes I did but still its not working. Can it be w3wp.exe issue? or Linq issue?
sgjoshi85
9-Aug-12 2:14am
View
yes i guess that is an issue. i asked hosting server to check app pool. this must be the reason. thanks ryanb31 :)
sgjoshi85
9-May-12 1:51am
View
Thanks a lot mark
sgjoshi85
17-Jan-12 23:03pm
View
I solved it. Thanks
sgjoshi85
16-Nov-11 1:09am
View
thanks a lott.. it is done
:)
sgjoshi85
16-Nov-11 1:09am
View
thanks a lott.. it is done
:)
sgjoshi85
20-Oct-11 4:40am
View
ya plz copy ur sample code..
sgjoshi85
20-Oct-11 0:40am
View
clear these textboxes on page_load() of your page..where you have these textboxes..
sgjoshi85
12-Oct-11 4:34am
View
Thanks Tejas..
Ur url somewhat helped me..and also i changed some positions ..it is working well now :)
sgjoshi85
1-Oct-11 6:56am
View
hey..thanx buddy :)
this solved!
sgjoshi85
1-Oct-11 6:17am
View
okie thanks a lott :) RaisKazi.. I will learn and implement it..and let u know once done successfully..
sgjoshi85
1-Oct-11 6:04am
View
thanks a lott..RaisKazi :)
your 1) i transfered code in btn Click event..
but running off time..so dont have time to learn on 2nd)
so cant i use WaitCallBack() ??? ThreadPool?
sgjoshi85
1-Oct-11 4:54am
View
Deleted
sorry..i by mistake started coding by false value..which should be true..but consider this as it is and explain what's the issue..is there any issue in logic? or thread not aborting or what?
sgjoshi85
1-Oct-11 4:53am
View
no..
initially initially i set it false..
but after once it sends email, it changes the status of pendingMail = true.
So, now when it checks in db, it will send email only to those which pendingMail = false.
sorry..i by mistake started coding by false value..which should be true..but consider this as it is and explain what's the issue..is there any issue in logic? or thread not aborting or what?
sgjoshi85
1-Oct-11 2:44am
View
In above SendNotification() code,
after it sends email, immediately, i am changing its status = true;
see the below code -
client.Send(mail);
noti.First().pendingMail = "true";
db.SubmitChanges();
sgjoshi85
1-Oct-11 1:56am
View
Global.asax file --
protected void Application_BeginRequest(Object sender, EventArgs e)
{
Thread td = new Thread(new ThreadStart(SendNotification));
td.IsBackground = true;
td.Start();
}
public static void SendNotification()
{
dbDataContext db = new dbDataContext();
var noti = from n in db.Notificationdbmls
where n.pendingMail == "false"
select n;
if (noti.Count() != 0)
{
try
{
MailMessage mail = new MailMessage();
mail.To.Add(noti.First().ReceiverEmailID);
mail.From = new MailAddress("emailaddress");
mail.Subject = noti.First().Subject;
mail.Body = noti.First().Body;
mail.IsBodyHtml = true;
var client = new SmtpClient("smtpdetails");
client.Credentials = new System.Net.NetworkCredential("emailid", "password");
client.EnableSsl = true;
client.Send(mail);
noti.First().pendingMail = "true";
db.SubmitChanges();
}
catch (Exception ex)
{
//
}
}
}
On aspx page -
On buttonClick -
Notificationdbml nd = new Notificationdbml { Body = body, CreatedDate = DateTime.UtcNow.Date, Description = "", pendingMail = "false", ReceiverEmailID = email, ReceiverUserID = userid, Subject = subject, Type = "User Registration" };
db.Notificationdbmls.InsertOnSubmit(nd);
db.SubmitChanges();
sgjoshi85
27-Sep-11 2:25am
View
Thanks Madhu..Let me implement that..
sgjoshi85
15-Sep-11 5:33am
View
Not working :(
sgjoshi85
15-Sep-11 5:31am
View
Deleted
I am using RowIndex
sgjoshi85
6-Sep-11 2:19am
View
wow thats great..i got solution.I am using SSMS,can export the data in csv as suggested..
Results should be sent via email. So I got help from the links you given.
Thanks a lott..
sgjoshi85
6-Sep-11 1:22am
View
Thanks Mika..but i want to export data from different tables (of same database) to the client. Let me explain you -
Following are tables in my database:
1) company table - Master table that contains records of all companies (CompanyID, Company Name)
2) branch table - Master table under company table (BranchID, BranchName, CompanyID)
3) Transaction table - transactions of branches (TransactionID,Description,BranchID). Likewise other tables containing details of branches.
Now, client Company A asked me to export all his company's data. So I want to fetch all data of Company A from all above tables and export it.
Can I directly enter Company ID & fire query and it fetches all data in a package and send to the client (Company A) from backend ?
sgjoshi85
22-Jul-11 8:34am
View
Hi digimanus, it solved error. and it is working fine now. thanks a lot for giving idea. :)
sgjoshi85
22-Jul-11 8:25am
View
Thanks digimanus. I called a property for datatable. but its not working. but I called propery datasource, it fetches datarecord but it is not displaying data on page.
Show More