|
I think you need some third party dll for doing this stuff.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Can you please provided third party link???
|
|
|
|
|
I can't provide you any particular third party dll name. Better you just searched it on google and check which one is best for you.
Thanks !
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Did you consider using ITextSharp.. It creates PDF's on the fly.
|
|
|
|
|
Hi Abhishek,
Thanks for you comments, Yes pdf creation on the fly it's no problem in ITextSharp .
But problem with Office related file conversion.
Avijit
|
|
|
|
|
avijitsurai wrote: But problem with Office related file conversion.
Yes. I was also stuck with this point. You need conversion of PDF not to create on the fly !!!
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
There are many products that will do what you want. Use Google to search and decide which one best suits your purpose.
|
|
|
|
|
|
Hi,
We are planning to crawl/spider few property websites using .NET technology. Here we need to crawl the search page and all its results pages.
Would you please let me know all the names spaces and concepts which we need to go through to do this job?
Kindly also refer if you find any good doc/url references.
Many thanks.
Regards,
Reshma.
|
|
|
|
|
There are different option that you can use to do it. You can use HTTPWebReqest and HTTPWebResponse for that. Now how to do it, for that you need to explore google. If stuck during implementation ask over here.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I have a gridview to whom i have provided a datatable as a datasource i hve some modifications to be made in one of the rows that i select from the gridview the same modifications should be made in the datatable how do i go abt with it.
|
|
|
|
|
send me the code..so that i could tell u properly
|
|
|
|
|
i managed it .
i took a non editable column of the grid view in the sesion and used it as unique key for modification.
traversed the datatable
foreach (DataRow datar in dtvalues.Rows)
{
if (datar[0].ToString() == Dl_NO_Hold)
{
datar[1] = txtFname.Text;
datar[2] = txtLName.Text;
}
}
and replaced it
|
|
|
|
|
Great..It must have worked well.....
|
|
|
|
|
I have developrd a website in asp.net,
When i uploded on server some malicious script tag added in my site.
I removed and uploaded again but it added again after some time.
Please suggest me to get rid of this issue.
Umesh
|
|
|
|
|
cooolguymca wrote: When i uploded on server some malicious script tag added in my site.
What does it mean ? where those script are being added ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hi,
Have you tried a upload action in a test page?? If not, you can have a try.
I don't think any script tag will be added to your site with upload action, but if your pc got virus...anything will happen.
April
Comm100 - Leading Live Chat Software Provider
modified 27-May-14 21:49pm.
|
|
|
|
|
hello,
I have a gridview in a webpage where i use a datatable to populate the gridview,but only if the website is built and rebuilt the webpage works properly without exceptions,as the datatable does not retain any data that has been asign to it on the button click.
Following is the code,
static DataTable dtvalues = new DataTable();
public static IICDServices icdObj;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
}
private void Createdatatable()
{
dtvalues.Columns.Add("DL_No");
dtvalues.Columns.Add("F_Name");
dtvalues.Columns.Add("M_Name");
dtvalues.Columns.Add("L_Name");
dtvalues.Columns.Add("Unit");
dtvalues.Columns.Add("Birth_Date");
dtvalues.Columns.Add("Mobile_No");
}
for which i have written the following code
{
DataRow drvalues = dtvalues.NewRow();
drvalues["DL_No"] = TxtDLNO.Text.ToUpper();
drvalues["F_Name"] = txtFname.Text;
drvalues["M_Name"] = txtMName.Text;
drvalues["L_Name"] = txtLName.Text;
drvalues["Unit"] = ddlUnit.SelectedItem.Text;
drvalues["Birth_Date"] = Gmdatepicker3.Date;
drvalues["Mobile_No"] = TxtMobileNo.Text;
dtvalues.Rows.Add(drvalues);
GridView1.DataSource = dtvalues;
GridView1.DataBind();
TxtDLNO.Text = "";
txtFname.Text = "";
txtMName.Text = "";
txtLName.Text = "";
TxtMobileNo.Text = "";
}
on the submit button click i want to redirect this page back to itself but it throws an exception as the page has npt been rebuilt.
please help me out with this.
thanks.
|
|
|
|
|
So you want to page should maintain the data after button click or what ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hi all,
I have an page of aspx and a listbox. I want to format font for 3 top lines of my listbox with Bold Style by code. Notice that my lisbox has more than 3 lines. Would you give me any sugestion?
Thanks for your helping!
|
|
|
|
|
Why you are not adding <b> </b> tag with the text for first three item of the list.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I can not do that because I don't know exactly text for the first three items of the list until my web application runs.
Text is added to my listbox by the following way:
foreach (DataRow row in dt.Rows)
{
string Msg = string.Format("{0} : {1}", row["Id"], row["Name_"]);
lstHisttory.Items.Add(Msg);
}
|
|
|
|
|
Hi All,
I want to ask what is the best way to have the link to a file expire after a set time, so that the user gets sent a download link via email which they only have access to for say 24 hours.
Thanks
|
|
|
|
|
Yes... Do the logic in the database.
Say you want the user to download a file. Place a log in the server of the file and use GUID for its identification.
When you create the email pass the Guid as query string.Thus if your download is
http://www.yourserver.com/filedown.dat?tid=xxxx-xxx-xxx
Thus the tid will represent the actual Guid link. Now create an http handler for .dat extension(or whatever you like). Now when user navigates to the site, check if the GUID is valid and also validate the time between the link sent and the actual request time. Based on that you might show appropriate message.
Note: This is a logic which I thought might be a solution.There are lots of others too, and you can choose any of them which suits you. Tell me if you have already thought any.
|
|
|
|
|
Hi Abhishek,
Thank you for your reply.
I had thought to use a GUID and store the time, but hadn't thought to use a http handler. I'll look into that. I'm new to Asp.net and wanted to check the GUID / database was the right way to go as I had an idea it was, but I just wasn't sure.
All the best
|
|
|
|