|
If using dataset to hold result
<pre>checkbox1.checked = if(ds.Tables[0].Rows[0]["checked"].ToString() == 'Y') ? true : false;</pre>
|
|
|
|
|
i need to, know how to add items on a drop down list when just selected from a teble
|
|
|
|
|
DdlEmp.DataSource = dtTemp;
DdlEmp.DataTextField = "FullName";
DdlEmp.DataValueField = "EmpID";
DdlEmp.DataBind();
I have dont like this.
|
|
|
|
|
Hello To All
I have a requirement where i need to export data in excel sheet to sqlserver through asp.net..
The requirement is application has to check sheet by sheet in excel workbook and has to export data in it to sqlserver.. If any blank sheet is there between sheets it has to skip that sheet and go for next sheet..
I have developed code for this task.. but the program is working successfully if data is present in all the sheets.. If data is not there in one sheet it is showing exception although it is uploading the data in the remaining sheets...
Tell me some logic about how to know whether the excel sheet is empty or not...
|
|
|
|
|
Hi All
I have two sub report in main report.. Please send me some sample code in c# to set value for parameter(Stored Procedure) for the sub reports.
Ramkumar
("When you build bridges you can keep crossing them. ")
http://ramkumarishere.blogspot.com
|
|
|
|
|
Try to use Google. It will be of help.
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
Hi
I have designed the payslip in crystal report in A4 size.i want my report to generate with two payslip
meaning in a4 sheet i need same payslip with two copy
Please help me with this I am new to crystal report
Ramkumar
("When you build bridges you can keep crossing them. ")
http://ramkumarishere.blogspot.com
modified on Saturday, April 30, 2011 4:52 AM
|
|
|
|
|
|
In addition to Sandeep answer you can also go there[^] to learn step by step process to use Crystal Report.
|
|
|
|
|
Ramkumar_S wrote: meaning in a4 sheet i need same payslip with two copy
Please help me with this I am new to crystal report
Question changed totally!
Avoid it please. If you have anything new then add a new question instead of editing an old one and replacing the text completely.
Ramkumar_S wrote: meaning in a4 sheet i need same payslip with two copy
This is not clear. What are you looking for? If it's a copy of same stuff in the report, design it accordingly.
|
|
|
|
|
Hi all,
Hope this is the right place to ask this question.
I've integrate the FCK Editor with one of my web application and works fine. However I want to do a small modification on it. Say I've upload an image and I want to scale to a small size. How can I do that. On fckconfig.js file I found something like this,
<br />
FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ;
FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;
and I tried with different values. But it's not working as I expect.
Thanks in advance.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
You would probably get a better answer on the company's forum[^].
|
|
|
|
|
Please ask to support at proper 3rd party
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
Hi All,
We have a requirement like creating Payslip dynamically in run-time,with 10 standard field.
Meaning to say customer can create a table dynamically and choose any fields ,each field eg. label will get the value from database.
However we use Crystal report for reporting.
Please suggest me best method to generate payslip format in run time.
Is SSRS will solve my issue?
Thanks in advance..
Ramkumar
("When you build bridges you can keep crossing them. ")
http://ramkumarishere.blogspot.com
|
|
|
|
|
|
I have develop three payroll system for my company. there I use Crystal report for payslip for two project. And in last project I use HTML reporting.
|
|
|
|
|
Hello,
I am using Ajax to show an autocomplete textbox, with in a grid. once a user types/autofills a value, i am updating the database, and want to show this updated value in the grid.
what parameters would i need to set,
I tried to databind the gridview again but this did not work.
Thanks
|
|
|
|
|
I tried to use the updatepanel ajax control:
<asp:UpdatePanel runat="server" ID="panel1">
<ContentTemplate>
<fieldset>
<legend></legend>
</fieldset>
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="Grid1" />
</Triggers>
</asp:UpdatePanel>
even this did not help to refresh just that page of the grid
|
|
|
|
|
As the title states. Any preferences? one considered better than the other by the general consensus?
The context here is to rip text out of a pdf(that is obtained already created elsewhere) and put it into a string for programmatic manipulation from there.
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.
|
|
|
|
|
There are lots of pdf creator are available. But itextsharp is widely used.
|
|
|
|
|
I prefer PDFSharp to ITextSharp. I find it a lot easier to work with than ITextSharp because the API is geared more towards a developers mindset, whereas ITextSharp's API is geared more towards the print way of thinking.
|
|
|
|
|
Well Pete, as I've seen a lot of your posts on CP and you seem to be very experienced and knowledgeable, I'll give that one a shot. thanks for the info.
on that note though, the main thing I'm needing to do at the moment is to read an existing pdf, convert it to a string in the code so that the code can process that string and do other stuff.
This is an existing application that I inherited and something broke with it yesterday due to a change in the pdf itself(I do not have control over that pdf source).
I know ITextSharp will read this particular pdf and output to a text file as I have done it,but have had troubles getting it to a string within the code.
I am looking to replace the current third party tool to convert the pdf, not rewrite the entire project right now. How difficult is it to do said operation with PDFSharp? the current tool(which has decided to not read the new pdf) literally had a oneliner that amounted to
string somestring = MethodConvertToString(pdf path) I can go further than this if needed but being still new.... easiest is best currently until i get the rest of this mess figured out.
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.
|
|
|
|
|
Sadly, I can't answer that question. I've never tried to read the text out of the PDFs; I've used it to write documents out on the fly. I'll have a play round and get back to you.
|
|
|
|
|
I did find on their site that the only way to rip a pdf into a string was low level. The had no high level functions to do so. Thats not to say that it still wouldn't be a little easier with pdfsharp instead of ITextSharp, since that one does not have a high level way to do it either from what I can find.
I do appreciate the info and will continue to look into it.
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.
|
|
|
|
|
It doesn't look too bad. Basically, you'll read the document in and then use the ReadDocument method to return a Document object. This Document contains all of the information about the PDF. Then, you iterate over the Sections in the Document and you can extract the Text object from each Section. That's it basically.
|
|
|
|