15,949,686 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 AbidHussain128 (Top 16 by date)
AbidHussain128
25-Aug-15 0:46am
View
Hi,
At following line.
mycmdOptionPanel.Parameters.AddWithValue("@Device_name", "'"+LabelDeviceName.Text+"'");
Remove "'" when passing value.
Update line with:
mycmdOptionPanel.Parameters.AddWithValue("@Device_name", LabelDeviceName.Text);
AbidHussain128
1-Jan-15 5:02am
View
is xml you are downloading is service like web service? or it is actual xml file.
AbidHussain128
12-Jun-14 0:53am
View
Hi Suvabrata Roy,
I have created sample page. using MogoDB. going for load testing.
Thanks for your support.
+Abid
AbidHussain128
10-Jun-14 2:33am
View
Thanks Prasad
AbidHussain128
10-Jun-14 2:30am
View
Hi suvabrata Roy,
I need both things.
we are just analyzing right now. you can recommend me better solution for this.
AbidHussain128
11-Mar-14 6:13am
View
no rout config file is there,
I have set rules in robot.txt file to disallow *.axd files.
AbidHussain128
11-Mar-14 5:31am
View
hi Arun,
I am not using MVC.
using web forms
AbidHussain128
29-Jan-14 4:49am
View
Hi JoCodes,
Thanks for your reply..!
From this way I am not able to track Qurey string.
Is there any other solution?
Otherwise i have one solutions to redirect from code behind... (but this is not proper way)
thank you.
AbidHussain128
19-Oct-13 0:03am
View
I am not have yet good idea, how can i achieve this.
AbidHussain128
19-Oct-13 0:02am
View
Hi Nelek,
Thanks for your interest,
For PDF conversion i am using iTextsharp.dll
Following code:
Response.ContentType = "application/pdf";
Response.AddHeader("content-disposition", "attachment;filename=TestPage.pdf");
Response.Cache.SetCacheability(HttpCacheability.NoCache);
StringWriter sw = new StringWriter();
HtmlTextWriter hw = new HtmlTextWriter(sw);
this.Page.RenderControl(hw);
StringReader sr = new StringReader(sw.ToString());
Document pdfDoc = new Document(PageSize.A4, 10f, 10f, 100f, 0f);
HTMLWorker htmlparser = new HTMLWorker(pdfDoc);
PdfWriter.GetInstance(pdfDoc, Response.OutputStream);
pdfDoc.Open();
htmlparser.Parse(sr);
pdfDoc.Close();
Response.Write(pdfDoc);
Response.End();
And for Convert chart to Image, I am using Svg.dll (which converts SVG containing chart data to Image).Following is code.
string svgFileContents = divChart.InnerText;
var byteArray = Encoding.ASCII.GetBytes(svgFileContents);
using (var stream = new MemoryStream(byteArray))
{
var svgDocument = SvgDocument.Open(stream);
var bitmap = svgDocument.Draw();
//bitmap.Save(path, ImageFormat.Png);
using (MemoryStream ms = new MemoryStream())
{
bitmap.Save(ms, System.Drawing.Imaging.ImageFormat.Png);
ms.WriteTo(HttpContext.Current.Response.OutputStream);
Response.ContentType = "image/png";
}
}
AbidHussain128
11-Jun-13 7:07am
View
SA thanks for reply,
Is there any way to pass URL with query string in to XML? (any alternative way).
AbidHussain128
10-Apr-13 7:42am
View
Sorry for that, now i not found delete option to delet this que?
AbidHussain128
3-Apr-13 7:20am
View
Deleted
Hi,
Please refere following.
List<string> lostring = new List<string>();
lostring.Add("A");
lostring.Add("B");
List<string> loArrayString = new List<string>();
loArrayString.Add("Abcd");
loArrayString.Add("MNJ");
loArrayString.Add("PQR");
loArrayString.Add("XYZ");
loArrayString.Add("ASDF");
var result = from c in loArrayString
where lostring.Any(s1 => c.StartsWith(s1))
select c;
GridView1.DataSource = result;
GridView1.DataBind();
This will bind grid view with data start with string array "lostring".
AbidHussain128
15-Mar-13 23:58pm
View
yes i want to open fileZilla of User computer from website link. ( either from code behind or from javascript ).
AbidHussain128
14-Mar-13 7:39am
View
Add Button's javascript method. OnClientclick='javascript:return false'
Your page is Postback and opened modal pop will again hide.
AbidHussain128
14-Mar-13 7:28am
View
Hi Shubham,
Thank you for Reply,
but i need to open filezilla on click of Link.
My client is knowing use of FTP and filezilla is installed on their PC.
Show More