Adding a column to a table in SQL

My problem is a bit more complex, but I want to try and figure it out piece by piece. First, a table gets pulled into a temporary table ("data" table to "#r1" table). Second, another table gets pulled into a separate temp table ("data2" table into "#r2"). Finally, the temporary tables are combined into a third table (join where blah, blah, blah).
Okay, here is problem: both tables contain a date column, "data" has actual dates and "data2" has NULL values (which is okay). I want to add a column to the end of the third table; if there is a NULL value in the date, place a "0" (zero), if it has an actual date (example, 5/5/08), place a "1".
How do you solve this? I've tried and keep getting errors further down the code.

Okay, cool, thanks Frank. Now it moves on...the third table that I was talking about gets used multiple times down the code; do I have to modify every procedure that extracts from this table? Because the table that I need to have it show the last column result ("0" or "1") is actually four tables down into the code (each time the table is transferred and renamed). It goes from the raw data into temporary tables, then into permanent tables, back to temporary tables, and finally into my end result.
By the way, I didn't write this original code, someone else did and now I'm stuck trying to modify it.

Similar Messages

  • How do I add more than one column to a table using SQL?

    Hi
    I need to add 3 columns to a table using SQL
    the syntax
    "ALTER TABLE TEST ADD COLUMN newcol1 float";
    works fine - for adding one coumn only.
    For multiple columns I tried various permutations along the lines of
    "ALTER TABLE TEST ADD (COLUMN newcol01 float, COLUMN new2 float,COLUMN new3 float)";
    "ALTER TABLE TIPSTEST ADD COLUMN new1 float"
    "ALTER TABLE TIPSTEST ADD COLUMN new2 float"
    "ALTER TABLE TIPSTEST ADD COLUMN new3 float"
    etc., but this doesn't work.
    From a web search it sounds like SQL can only add one column at a time.
    I have a workaround : create intermediate temporary tables , copying data and adding
    one column at each stage. It seems a fairly awkward way of programming though.
    Am I missing something simple : is there a way to add multiple columns in one go?
    Thanks

    OK : solved an underlying problem with this one myself
    for the code
    String createString;
    createString =  "select COFFEES.* INTO NEWCOFFEES FROM COFFEES"; // example
              Statement stmt;
              try {
                   stmt = a_Globals.database1Connection.createStatement();
                          stmt.executeUpdate(createString);
                   stmt.close();
                   a_Globals.database1Connection.close();
              } catch(SQLException ex) {
                   System.err.println("SQLException: " + ex.getMessage());
              }                    commenting out the line:
    a_Globals.database1Connection.close();
    Allowed the subsequent SQL statement(s) to work OK. Looks like this was the cause of several
    difficulties, preventing me doing several SQL instructions in turn.
    Thanks for the responses.
    Mike2z

  • After adding one column in a table can't get the header line

    hi all,
    i have make a SMART FORM which was working perfectly.Now the requirement of user is to add one column in my table at smart form which i did and after modification i execute it it give me data as well but issue which i'm facing is that the TABLE at smart forms in which i have add one field is not displaying the HEADER LINE which i have define with SELECT PATTREN option.
    Thanks & Regards,
    sappk25

    Hi,
    Have you created the Header Text? If yes, then might be the case that your smartforms
    table which was already created is with Multiple Line. Check weather you have added
    customer field in Header Line or Not?
    Regards,
    SUjeet

  • No of columns in a table and SQL performance

    How does the table size effects sql performance?
    I am comparing 2 tables , with same number of rows(54 million rows) ,
    table1(columns a,b,c,d,e,f..) has 40 columns
    table2 (columns (a,b,c,d)
    SQL uses columns a,b.
    SQL using table2 runs in 1 sec.
    SQL using table1 runs in 30 min.
    Can any one please let me know how the table size , number of columns in table efects the performance of SQL's?
    Thanks
    jeevan.

    user600431 wrote:
    This is a general question. I just want to compare table with more columns and table with less columns with same number of rows .
    I am finding that table with less columns is good in performance , than the table with more columns.
    Assuming there are no row chains , will there be any difference in performance with the number of columns in a table.Jeevan,
    the question is not how many columns your table has, but how large your table segment is. If your query runs a full table scan it has to read through the whole table segment, so in that case the size of the table matters.
    A table having more columns potentially has a larger row size than a table with less columns but this is not a general rule. Think of large columns, e.g. varchar2 columns, think of blank (NULL) columns and you can easily end up with a table consisting of a single column taking up more space per row than a table with 200 columns consisting only of varchar2(1) columns.
    Check the DBA/ALL/USER_SEGMENTS view to determine the size of your two table segments. If you gather statistics on the tables then the dictionary will contain information about the average row size.
    If your query is using indexes then the size of the table won't affect the query performance significantly in many cases.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Adding a column in advanced table using personalizations

    Is it possible to add a column in advanced table using personalizations.
    If Yes , then i am not able get "Create Item" Icon on Advanced table Level personalizations . Can some one give reason? or there is any other way to create Item in Adavnce table.
    Thanks, Avaneesh

    The support for adding an item in advancedTable is supported from 11.5.10 CU3 onwards. But you can manually add an item in the personalization document and upload it and that should work. I had earlier provided the xml tags for doing that in one of threads and you should be able to find that in the forum. If you are not getting it I will search it for you. We supported the same way of addition using personalization in CU3 so manual addition in to the pers document should be fine for this requirement only.

  • How to add description of a column of a table in SQL Azure

    Hi
    I have some tables in my application database where there are descriptions added against certain columns. Needless to say they were done by using sp_addextendedproperty.
    Now I am trying to migrate the Database to SQL Azure. SQL Azure does not support sp_addextendedproperty.
    Hence I am not able to figure out how to add descriptions to those columns.
    Any help would be much appreciated.
    Thanks
    Soumyadeb

    Hello,
    Just as Latheesh post above, Windows Azure SQL database are not support extended stored procedures. That’s one of the limitations on SQL database, and I don’t know there is another way to achieve the same on Azure.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • How to read BLOB column from a table in SQL or PL/SQL

    I have table which is having one BLOB data type column . Ihave inserted few rows in that table . Now i want to see wheather BLOB column has been inserted properly or not . How to read that column through SQL or PL/SQL.
    Can anyone help me to do this.

    You can only manipulate LOBs in PL/SQL because you have to use the DBMS_LOB package.
    Check out the Oracle Developer's Guide

  • Adding new column to Webdynpro Table

    Hi
    How can I add a new column, already one of my friend has added a table to the view in webdynpro, there are 4 columns presently maped to BAPI
    I need to add 2 new columns to the webdypor table and map it to BAPI.
    please suggest me. basically I am enhancing the screen.
    regards
    kiran

    Hi,
    May be there is a constraint defied on the newly added column that it can not be null ?
    Thanks,
    Sutirtha

  • Adding a column in infotype(table control)

    i want to add a column in table control of infotype 0591. i need to add age for every nominee.
    i cant edit standard sap mp prog. so i thouhgt of copying it into zprogram, and now i have to assign it to that standard infotype so that this infotype will trigger my zmp program.
    any suggestions on this?

    Hi
    You cannot modify or copy the standard SAP generated program. Say if you wanted to add new field you could have done by doing the view deifnition for that infotype in tbale T582C or T582V. But since you want to add a new table control column i think you may have to create new infotype in PM01, else the std. functionality may be affected. You can check SAP help for creation of new infotypes.
    ~ Ranganath
    PS : Reward points for all useful answer !

  • Adding a Column in Advance Table RN

    Hi,
    In a standard page, there is a searchRN and based on that, the data in the advance table gets populated. I want to add another column to this advance table. The VO has the required column, so I have to just map the attribute and instance.
    If it was not a advance table, I would have done , but for Advance table it looks different. Any step by step approach would really help.
    Appl Version : 12.1.3
    Thanks

    Thanks.
    It works for base columns, but I am facing an issue with attributes.
    In the VO query, we have:
    seLect x1,x2,x3,attribute1,attribute2 from TABLE
    in VO attribute (of the new item) when I pass say x2, it works, but the moment I pass attribute1, it errors out. The error being, cannot find 'attribute1' in xyzVO. Wondering, if to map the attributes, we need to do some other steps?
    Thanks
    Edited by: 970046 on Dec 3, 2012 10:11 PM

  • Rows To Columns Or Pivot Table with SQL Model over two tables

    hi @all
    oracle 10.2.0.4
    i have following situation
    table_1
    t1_id   t1_name
    1      reggie
    table_2
    t2_id   t2_t1_id   t2_start_date   t2_end_date
    1      1      01.01.2008      31.03.2008
    2      1      01.06.2008      31.07.2008
    cardinality from table_1 to table_2 is one to many
    now i need this
    t1_name   t2_start_date_1   t2_end_date_1   t2_start_date_2   t2_end_date_2   t2_start_date_x   t2_end_date_x
    reggie      01.01.2008      31.03.2008      01.06.2008      31.07.2008
    i think the max occurrence of start/enddate can be 15
    can somebody help

    Hello,
    One way, assuming 15 is the maximum:
    SELECT t1.name,
            t2.t2_start_date t2_start_date_1,   t2.t2_end_date t2_end_date_1,
            LEAD(t2.t2_start_date,1) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date) t2_start_date_2,
            LEAD(t2.t2_end_date,1) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_2,
            LEAD(t2.t2_start_date,2) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date)t2_start_date_3,
            LEAD(t2.t2_end_date,2) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_3,
            LEAD(t2.t2_start_date,3) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date)t2_start_date_4,
            LEAD(t2.t2_end_date,3) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_4,
            LEAD(t2.t2_start_date,4) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date)t2_start_date_5,
            LEAD(t2.t2_end_date,4) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_5,
            LEAD(t2.t2_start_date,5) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date)t2_start_date_6,
            LEAD(t2.t2_end_date,5) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_6,
            LEAD(t2.t2_start_date,6) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date)t2_start_date_7,
            LEAD(t2.t2_end_date,6) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_7,
            LEAD(t2.t2_start_date,7) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date)t2_start_date_8,
            LEAD(t2.t2_end_date,7) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_8,
            LEAD(t2.t2_start_date,8) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date)t2_start_date_9,
            LEAD(t2.t2_end_date,8) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_9,
            LEAD(t2.t2_start_date,9) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date)t2_start_date_10,
            LEAD(t2.t2_end_date,9) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_10,
            LEAD(t2.t2_start_date,10) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date)t2_start_date_11,
            LEAD(t2.t2_end_date,10) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_11,
            LEAD(t2.t2_start_date,11) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date)t2_start_date_12,
            LEAD(t2.t2_end_date,11) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_12,
            LEAD(t2.t2_start_date,12) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date)t2_start_date_13,
            LEAD(t2.t2_end_date,12) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_13,
            LEAD(t2.t2_start_date,13) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date)t2_start_date_14,
            LEAD(t2.t2_end_date,13) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date)t2_end_date_14,
            LEAD(t2.t2_start_date,14)  OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_start_date) t2_start_date_15,        
            LEAD(t2.t2_end_date,14) OVER (PARTITION BY t2.t2_t1_id ORDER BY t2.t2_end_date) t2_end_date_15
      FROM table_1 t1
      JOIN table_2 t2 ON (t1.t1_id = t2.t2_t1_id)
    WHERE (t2.t2_start_date,   t2.t2_end_date) IN (
      SELECT MIN(t2_start_date), MIN(t2_end_date)
        FROM  table_2 t22
      WHERE t2.t2_id = t22.t2_id);
    Edit
    Fixed incomplete code

  • Adding a new Big INT column to existing table in production, which holds 700 million records will impact anything in production?

    Hi Guys,
    I have to add a new Big INT column to existing table in production, which holds 700 million records and would like to know the impact?
    I have been tolled by one of my colleagues that last time they tried adding a column to same table during working hour and it locked out the table and impacted the users.
    Please suggest/share If any one had similar experience.
    Thanks Shiven:) If Answer is Helpful, Please Vote

    If you add a new column to a table using an ALTER TABLE ADD command and specify that the new column allows NULLs and you do not define a default value, then it will take a table lock.  However, once it gets the table lock, it will essentially run instantly
    and then free the table lock.  That will add this new column as the last column in the table, for example
    ALTER MyTable ADD MyNewColumn bigint NULL;
    But if you your change adds a new column with a default value, or you do something like using table designer to add the new column in the middle of the current list of columns, then SQL will have to rewrite the table.  So it will get a table lock, rewrite
    the whole table and then free the table lock.  That will take a considerable amount of time and the table lock will be held for that whole period of time.
    But, no matter how you make the change, if at all possible, I would not alter a table schema on a production database during working hours.  Do it when nothing else is going on.
    Tom

  • How to: Count columns in a table?

    Quite simple question actually. How do I count the number of columns in a table using SQL?

    For AdventureWorks2012 tables & views:
    SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COUNT(COLUMN_NAME ) ColCount
    FROM INFORMATION_SCHEMA.COLUMNS
    GROUP BY TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME
    ORDER BY TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME;
    TABLE_SCHEMA TABLE_NAME ColCount
    dbo AWBuildVersion 4
    dbo DatabaseLog 8
    dbo ErrorLog 9
    HumanResources Department 4
    HumanResources Employee 16
    HumanResources EmployeeDepartmentHistory 6
    HumanResources EmployeePayHistory 5
    HumanResources JobCandidate 4
    HumanResources Shift 5
    HumanResources vEmployee 18
    HumanResources vEmployeeDepartment 10
    HumanResources vEmployeeDepartmentHistory 11
    HumanResources vJobCandidate 16
    HumanResources vJobCandidateEducation 13
    HumanResources vJobCandidateEmployment 11
    Person Address 9
    Person AddressType 4
    Person BusinessEntity 3
    Person BusinessEntityAddress 5
    Person BusinessEntityContact 5
    Person ContactType 3
    Person CountryRegion 3
    Person EmailAddress 5
    Person Password 5
    Person Person 13
    Person PersonPhone 4
    Person PhoneNumberType 3
    Person StateProvince 8
    Person vAdditionalContactInfo 17
    Person vStateProvinceCountryRegion 7
    Production BillOfMaterials 9
    Production Culture 3
    Production Document 14
    Production Illustration 3
    Production Location 5
    Production Product 25
    Production ProductCategory 4
    Production ProductCostHistory 5
    Production ProductDescription 4
    Production ProductDocument 3
    Production ProductInventory 7
    Production ProductListPriceHistory 5
    Production ProductModel 6
    Production ProductModelIllustration 3
    Production ProductModelProductDescriptionCulture 4
    Production ProductPhoto 6
    Production ProductProductPhoto 4
    Production ProductReview 8
    Production ProductSubcategory 5
    Production ScrapReason 3
    Production TransactionHistory 9
    Production TransactionHistoryArchive 9
    Production UnitMeasure 3
    Production vProductAndDescription 5
    Production vProductModelCatalogDescription 25
    Production vProductModelInstructions 11
    Production WorkOrder 10
    Production WorkOrderRouting 12
    Purchasing ProductVendor 11
    Purchasing PurchaseOrderDetail 11
    Purchasing PurchaseOrderHeader 13
    Purchasing ShipMethod 6
    Purchasing Vendor 8
    Purchasing vVendorWithAddresses 9
    Purchasing vVendorWithContacts 12
    Sales CountryRegionCurrency 3
    Sales CreditCard 6
    Sales Currency 3
    Sales CurrencyRate 7
    Sales Customer 7
    Sales PersonCreditCard 3
    Sales SalesOrderDetail 11
    Sales SalesOrderHeader 26
    Sales SalesOrderHeaderSalesReason 3
    Sales SalesPerson 9
    Sales SalesPersonQuotaHistory 5
    Sales SalesReason 4
    Sales SalesTaxRate 7
    Sales SalesTerritory 10
    Sales SalesTerritoryHistory 6
    Sales ShoppingCartItem 6
    Sales SpecialOffer 11
    Kalman Toth Database & OLAP Architect
    sqlusa.com
    Paperback / Kindle: Pass SQL Exam 70-461 & Job Interview: Programming SQL Server 2012

  • ADF - New columns in DB table need to be reflected in Data Control Palette

    I am new to ADF. I am editing a JSF that does add and edit to data in database table. I added new columns to the table and need to modify the JSF accordingly.
    I have not been able to find info on how to take a new "snapshot" of the database table that will reflect my new columns in the DataBindings.cpx.
    Can someone steer me in the right direction?
    Thanks,
    Chris

    Chris,
    if your business service is ADF BC, then synchronize the EO with the database for it to pick up the changes. Once this is done, go to the VO and add the two new attributes. Right after that the data control palette will show the new entries.
    If you use EJB as a business service layer, change the entity classto expose the two attributes, re-generate the session facade ad then re-generate the data control.
    Frank

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for