15,748,559 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 Javascript questions
View C++ questions
View Python questions
View Java 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 prakash00060 (Top 64 by date)
prakash00060
15-Nov-19 8:41am
View
have you any other options in asp.net mvc
prakash00060
15-Nov-19 8:41am
View
have you any other options in asp.net mvc
prakash00060
15-Nov-19 4:08am
View
have you any solution
prakash00060
27-Sep-18 8:25am
View
sir my database is very large and requirement is to load all data at a time.
when i load all data it gives error serilization and deserilization limit is exceed.
I set in webconfig
<httpRuntime targetFramework="4.6.2" maxRequestLength="2147483647" executionTimeout="600" />
jQuery.ajax({
url: '@Url.Action("GetCandidateData", "Home")',
type: "POST",
dataType: "json",
contentType: "application/json; charset=utf-8",
success: function (data) {
debugger;
//alert();
$('#tableboot').bootstrapTable('load', JSON.parse(data));
},
failure: function (data) {
debugger;
alert(data.responseText);
},
error: function (data) {
debugger;
alert(data.responseText);
}
});
});
prakash00060
27-Sep-18 4:59am
View
i am not telling about 50000 row in one page or without pagination. I have check only 7000 data is loaded in 250 pagination.Understand the questions. have you any option to manage 50000 data at a time with pagination. when i load 10000 data a time it gives error serilization and deserilization limit is exceed.I set maxLimitlength is maxinteger length.
prakash00060
27-Sep-18 4:59am
View
i am not telling about 50000 row in one page or without pagination. I have check only 7000 data is loaded in 250 pagination.Understand the questions. have you any option to manage 50000 data at a time with pagination. when i load 10000 data a time it gives error serilization and deserilization limit is exceed.I set maxLimitlength is maxinteger length.
prakash00060
27-Sep-18 4:58am
View
i am not telling about 50000 row in one page or without pagination. I have check only 7000 data is loaded in 250 pagination.Understand the questions. have you any option to manage 50000 data at a time with pagination. when i load 10000 data a time it gives error serilization and deserilization limit is exceed.I set maxLimitlength is maxinteger length.
prakash00060
16-Jun-17 2:48am
View
have you any resolution
prakash00060
14-Jun-17 9:41am
View
Deleted
await Task.Run(() =>
{
System.Web.HttpContext.Current = ctx;
foreach (var item in listOfpassportnumbers)
{
var checkCandidateExist = service.GetAll().Where(x => x.IsDeleted == false && x.PassPortNo == item).FirstOrDefault();
if (checkCandidateExist != null)
{
directory = HostingEnvironment.MapPath(System.Web.Configuration.WebConfigurationManager.AppSettings["UnZipFileUploadLocation"] + fileNameWithoutExtension + "\\" + item);
var checkAnyFolderExist = 0;
Dictionary<Int32, string> dictionary = new Dictionary<Int32, string>(); //section.Cast<dictionaryentry>().ToDictionary(d => Convert.ToInt32(d.Value), d => Convert.ToString(d.Key));
dictionary.Add(3, "Visa");
dictionary.Add(7, "VAD");
dictionary.Add(4, "Medical");
dictionary.Add(5, "Imigiration");
dictionary.Add(9, "Insurance");
dictionary.Add(15, "Ticket");
dictionary.Add(16, "Dispatch");
dictionary.Add(6, "OfferLetter");
foreach (KeyValuePair<Int32, string> kVp in dictionary)
{
var filepath = directory + "\\" + Convert.ToString(kVp.Value);
var Targetfile = string.Empty;
var TargetPath = string.Empty;
if (System.IO.Directory.Exists(filepath))
{
var VisaDocs = System.IO.Directory.GetFiles(filepath).ToList();
foreach (var VisaDoc in VisaDocs)
{
FileUpload objFileUpload = new FileUpload();
objFileUpload.DocTypeId = Convert.ToInt32(kVp.Key);
objFileUpload.DocType = Convert.ToString(kVp.Value);
objFileUpload.DocExtension = VisaDoc.Substring(VisaDoc.LastIndexOf(".") + 0);
objFileUpload.DocFileName = CommonFuntion.GenerateFileKey(VisaDoc);
objFileUpload.FileName = Path.GetFileName(VisaDoc);
lstUploadedFiles.Add(objFileUpload);
Targetfile = Path.Combine(HostingEnvironment.MapPath(System.Web.Configuration.WebConfigurationManager.AppSettings["CandidateFileUploadLocation"] + objFileUpload.DocType), objFileUpload.DocFileName + objFileUpload.DocExtension);
TargetPath = HostingEnvironment.MapPath(System.Web.Configuration.WebConfigurationManager.AppSettings["CandidateFileUploadLocation"] + objFileUpload.DocType);
if (!System.IO.Directory.Exists(TargetPath))
{
System.IO.Directory.CreateDirectory(TargetPath);
}
prakash00060
14-Jun-17 9:40am
View
sir problem is same
In await method Httpcontext.current became null and my program is break.
public async Task<actionresult> UploadZipedDocumentFile()
{
try
{
if (Request.Files["fileUploadUpdateDocument"].ContentLength > 0 && Request.Files["fileUploadUpdateDocument"].ContentLength < Convert.ToInt64(WebConfigurationManager.AppSettings["UploadDataLength"]))
{
string zipFileSavePath = string.Empty;
string zipExtractPath = string.Empty;
string directory = string.Empty;
string fullfilepath = string.Empty;
string filePath = string.Empty;
//HttpContext ctx = System.Web.HttpContext.Current;
string zipFileName = Request.Files["fileUploadUpdateDocument"].FileName;
string fileExtension = System.IO.Path.GetExtension(Request.Files["fileUploadUpdateDocument"].FileName);
string fileNameWithoutExtension = System.IO.Path.GetFileNameWithoutExtension(Request.Files["fileUploadUpdateDocument"].FileName);
if (fileExtension == ".zip")
{
zipFileSavePath = HostingEnvironment.MapPath(System.Web.Configuration.WebConfigurationManager.AppSettings["ZipFileUploadLocation"] + CommonFuntion.GenerateFileKey(zipFileName) + fileExtension);
Request.Files["fileUploadUpdateDocument"].SaveAs(zipFileSavePath);
zipExtractPath = HostingEnvironment.MapPath(System.Web.Configuration.WebConfigurationManager.AppSettings["UnZipFileUploadLocation"]);// + fileNameWithoutExtension);
ZipFile.ExtractToDirectory(zipFileSavePath, zipExtractPath);
filePath = HostingEnvironment.MapPath(System.Web.Configuration.WebConfigurationManager.AppSettings["UnZipFileUploadLocation"] + fileNameWithoutExtension);
List<string> listOfpassportnumbers = new List<string>();
try
{
foreach (string item in Directory.GetDirectories(filePath))
{
var stringCutted = item.Split('\\').Last();
listOfpassportnumbers.Add(stringCutted);
}
}
catch
{
fullfilepath = HostingEnvironment.MapPath(System.Web.Configuration.WebConfigurationManager.AppSettings["UnZipFileUploadLocation"]);
System.IO.DirectoryInfo deleteTheseFiles = new System.IO.DirectoryInfo(fullfilepath);
deleteTheseFiles.Delete(true);
TempData["ErrorMessages"] = @Mui.structureNotCorrectMessage;
TempData["ErrorText"] = "false";
return RedirectToAction("Index", "CSR");
}
List<fileupload> lstUploadedFiles = new List<fileupload>();
var listOfDefaultyPassportNumber = new StringBuilder();
if (listOfpassportnumbers != null)
{
await Task.Run(() =>
{
//System.Web.HttpContext.Current = ctx;
foreach (var item in listOfpassportnumbers)
{
var checkCandidateExist = service.GetAll().Where(x => x.IsDeleted == false && x.PassPortNo == item).FirstOrDefault();
if (checkCandidateExist != null)
{
d
prakash00060
14-Jun-17 3:46am
View
problem is same
In await method Httpcontext.current became null and my program is break.
prakash00060
16-Jun-16 7:09am
View
Thanks for your comment and support.
prakash00060
25-May-16 7:42am
View
Please clear your need.
prakash00060
13-May-16 0:32am
View
have you got any answer if you have then update. i am also facing this problem.
prakash00060
31-Mar-16 7:28am
View
I have tried but not get anything please give the actual resolution.
prakash00060
27-Mar-16 7:28am
View
please see provide me resolution.
prakash00060
19-Feb-16 6:33am
View
bigrock
prakash00060
19-Feb-16 4:44am
View
if i remove trust level then i get
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
prakash00060
19-Feb-16 4:40am
View
on local it running well.
prakash00060
19-Feb-16 4:21am
View
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
}
}
prakash00060
19-Feb-16 2:19am
View
Deleted
<location allowoverride="false">
prakash00060
19-Feb-16 2:19am
View
<location allowoverride="false">
<system.web>
<trust level="Full" />
<customerrors mode="Off">
<compilation debug="true" targetframework="4.5.1">
<authentication mode="None">
prakash00060
19-Feb-16 2:17am
View
Parser Error Message: This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowoverride="false"> from an inherited configuration file.
prakash00060
27-Dec-15 23:57pm
View
i am developing a web application where export to excel functionality.but i have one button more for the open excel online.for this functionality i am using office 365 api where when i click the button of open excel online then its internally upload the file in onedrive with using office 365 api.
prakash00060
24-Dec-15 2:16am
View
upload the file in onedrive through office 365 authentication and access the AAD of azure
prakash00060
24-Dec-15 2:16am
View
Deleted
upload the file in onedrive through office 365 authentication and access the AAD of azure
prakash00060
4-Dec-15 0:28am
View
when i integrate the office 365 API with my application. How i manage it that it open in office 365.
prakash00060
3-Dec-15 1:38am
View
Hi Dave
I am asking a question to you.
I want to know how it is possiable.
prakash00060
30-Nov-15 3:48am
View
yes sir you are right.
prakash00060
25-Nov-15 23:30pm
View
my connection string is in app.config and on page i define it in constractor.
prakash00060
25-Nov-15 23:29pm
View
in local it is not giving any error.when i created the .exe file and install it on another machine then is fire exception.
prakash00060
25-Nov-15 23:28pm
View
give me clear answer it is coming on that window where i take datetime picker and want to save it in database. i am taking this variable as string in c# and in database it is varchar.
prakash00060
23-Nov-15 7:20am
View
yes
prakash00060
12-Jun-15 4:20am
View
sir please clear tell me the problem and how i fix it.
prakash00060
28-Nov-13 5:59am
View
when user fill the form and click on submit button then the filled data in textbox posted on email id.
prakash00060
28-Nov-13 5:59am
View
when user fill the form and click on submit button then the filled data in textbox posted on email id.
prakash00060
28-Nov-13 5:17am
View
i want to query posting form on website which is on html but framework is .net.
May u help me?
prakash00060
28-Nov-13 5:16am
View
i want to query posting form on website which is on html but framework is .net.
May u help me?
prakash00060
18-Jun-13 2:54am
View
sir this not a time for argument.have u any solution then tell me.
prakash00060
23-Mar-13 14:46pm
View
Dear sir i can achive this by directly upload image in database.
but i want to do it with linq to sql to improve my knowledge and implement it in my website.
prakash00060
19-Mar-13 14:08pm
View
i want to create id in a table as P0001.
how it is crated please help my sample code is shown above
prakash00060
29-Nov-12 8:37am
View
when i use handler then i have to use image id.
but i have to show image in behalf of some data.
please see the query.
this query is run on sql.
prakash00060
1-Mar-12 8:39am
View
sir can we fetch id from database and pass it through query string.
prakash00060
28-Feb-12 6:33am
View
a gridview which one column has check box and all check box load checked when the gridview is load those boys who are absent we can do manually uncheck and a button out of the gridview when click the button all data is save in gridview.
prakash00060
28-Feb-12 6:33am
View
a gridview which one column has check box and all check box load checked when the gridview is load those boys who are absent we can do manually uncheck and a button out of the gridview when click the button all data is save in gridview.
prakash00060
28-Feb-12 6:33am
View
a gridview which one column has check box and all check box load checked when the gridview is load those boys who are absent we can do manually uncheck and a button out of the gridview when click the button all data is save in gridview.
prakash00060
11-Jan-12 6:34am
View
ok sir
prakash00060
11-Jan-12 5:37am
View
sorry sir my english is not good
prakash00060
2-Jan-12 2:13am
View
i have to create website but i haven't knowledge of html and css.
prakash00060
8-Dec-11 14:20pm
View
double qty = Convert.ToDouble(textBox1.Text); this line
prakash00060
8-Dec-11 14:20pm
View
double qty = Convert.ToDouble(textBox1.Text);
this line
prakash00060
6-Dec-11 0:13am
View
i want to handle it on front side sir
prakash00060
7-Nov-11 2:17am
View
i know this is my job sir but i need your help.
prakash00060
7-Nov-11 2:14am
View
i want to display the stock exchange data on my asp.net page.i have not done this type of work earlier.i am fresher also this is my new job.that's why i am asking u sir.
prakash00060
5-Nov-11 7:59am
View
Thank u sir
prakash00060
4-Nov-11 2:04am
View
Incorrect syntax near '.10003'.
this is the error
10003 is emp_id.
prakash00060
4-Nov-11 2:03am
View
Incorrect syntax near '.10003'.
this is the error
10003 is emp_id.
prakash00060
4-Nov-11 2:03am
View
Incorrect syntax near '.10003'.
this is the error
10003 is emp_id.
prakash00060
3-Nov-11 8:21am
View
Thanks a lot sir
prakash00060
3-Nov-11 8:14am
View
i am fetching data in datagrid.
i am making payroll system.
prakash00060
17-Sep-11 6:36am
View
it means fill the data at run time
prakash00060
17-Sep-11 6:36am
View
it means fill the data at run time
prakash00060
17-Sep-11 6:29am
View
can you give me any example sir
prakash00060
8-Aug-11 8:23am
View
Thank you sir
Show More