How to edit a datagridview/textboxes using tableadapters in c# and sql

I am wondering what is the best way to edit a database that has multiple tables. 
(Section 1) I have a Administration, Teacher and Student table that is linked up with the Person table which has a Primary Key. 
The Person table consists of the general information of the person.
The Student table consists of information about the student; student ID and qualification code.
The Teacher table consists of information about the teacher; teacher ID, Reg No and password.
The Administration table consists of information about the admin; admin ID, Role and password.
As the Primary Key in the Person table is the ID, I have linked up with each of the other's table with their appropriate ID. 
(Section 2) I have a Course and Qualification table that is linked up with the Student and Teacher table as well as each other. 
The course table constists of the Course ID, Course Name ... and Teacher ID.
The Qualifications table consists of Qualification Code, Qualification Name and Duration. 
There is a section where I have to create a view which shows just the Student ID, Course ID and has the Student's Marks in it. 
I have got a combobox which then links up with the dgv(datagridview).
I have got insert and delete methods for both sections. Here is an example of the insert method into the Admin/Person table. 
try
personTableAdapter.Insert(aFirstName.Text, aSurname.Text, Convert.ToDateTime(aDoB.Text), aPhone.Text, aAdd1.Text, aAdd2.Text, aSuburb.Text, aState.Text, aPostcode.Text, AdminType.Text);
administrationTableAdapter.Insert(Convert.ToInt32(aAID1.Text), aRole.Text, aPassword.Text);
MessageBox.Show(aFirstName.Text + " " + aSurname.Text + " has been added. Your ID is " + aAID1.Text);
this.personTableAdapter.Fill(this._30002195DataSet.Person);
this.administrationTableAdapter.Fill(this._30002195DataSet.Administration);
catch (Exception ex)
MessageBox.Show(ex.Message);
Here is an example of the delete method in the Admin/Person table.
try
personTableAdapter.Delete(Convert.ToInt32(aID.Text), aFirstName.Text, aSurname.Text, Convert.ToDateTime(aDoB.Text), aPhone.Text, aAdd1.Text, aAdd2.Text, aSuburb.Text, aState.Text, aPostcode.Text, AdminType.Text);
administrationTableAdapter.Delete(Convert.ToInt32(aAID.Text), aRole.Text, aPassword.Text);
MessageBox.Show("Person Deleted");
this.personTableAdapter.Fill(this._30002195DataSet.Person);
this.administrationTableAdapter.Fill(this._30002195DataSet.Administration);
catch (Exception)
MessageBox.Show("Cannot delete Person");
Those methods above are working fine, what I'm having problems with, is with the editing/updating part. 
I have tried a few things and haven't worked. 
Here's an example of an edit, while trying to use textboxes. 
personTableAdapter.Update(aFirstName.Text, aSurname.Text, Convert.ToDateTime(aDoB.Text), aPhone.Text, aAdd1.Text, aAdd2.Text, aSuburb.Text, aState.Text, aPostcode.Text, AdminType.Text, Convert.ToInt32(aID.Text), aFirstName.Text, aSurname.Text, Convert.ToDateTime(aDoB.Text), aPhone.Text, aAdd1.Text, aAdd2.Text, aSuburb.Text, aState.Text, aPostcode.Text, AdminType.Text);
administrationTableAdapter.Update(aRole.Text, aPassword.Text, Convert.ToInt32(aAID.Text), aRole.Text, aPassword.Text);
personBindingSource.EndEdit();
administrationBindingSource.EndEdit();
administrationTableAdapter.Update(_30002195DataSet.Administration);
personTableAdapter.Update(_30002195DataSet.Person);
MessageBox.Show("Person Updated");
this.personTableAdapter.Fill(this._30002195DataSet.Person);
this.administrationTableAdapter.Fill(this._30002195DataSet.Administration);
Here I tried to do the new values/original values, while trying to use textboxes
personTableAdapter.Update(aFirstName.Text, aSurname.Text, Convert.ToDateTime(aDoB.Text), aPhone.Text, aAdd1.Text, aAdd2.Text, aSuburb.Text, aState.Text, aPostcode.Text, AdminType.Text, Convert.ToInt32(aID.Text), aFirstName.Text, aSurname.Text, Convert.ToDateTime(aDoB.Text), aPhone.Text, aAdd1.Text, aAdd2.Text, aSuburb.Text, aState.Text, aPostcode.Text, AdminType.Text);
administrationTableAdapter.Update(aRole.Text, aPassword.Text, Convert.ToInt32(aAID.Text), aRole.Text, aPassword.Text);
Trying to use the example through the mdsn, this is trying to use the datagridview.
this.Validate();
personBindingSource.EndEdit();
teacherBindingSource.EndEdit();
_30002195DataSet.PersonDataTable deletedPerson = (_30002195DataSet.PersonDataTable)
_30002195DataSet.Person.GetChanges(DataRowState.Deleted);
_30002195DataSet.PersonDataTable newPerson = (_30002195DataSet.PersonDataTable)
_30002195DataSet.Person.GetChanges(DataRowState.Added);
_30002195DataSet.PersonDataTable modifiedPerson = (_30002195DataSet.PersonDataTable)
_30002195DataSet.Person.GetChanges(DataRowState.Modified);
try
if (deletedPerson != null)
personTableAdapter.Update(deletedPerson);
teacherTableAdapter.Update(_30002195DataSet.Teacher);
if (newPerson != null)
personTableAdapter.Update(newPerson);
if (modifiedPerson != null)
personTableAdapter.Update(modifiedPerson);
_30002195DataSet.AcceptChanges();
catch (System.Exception ex)
MessageBox.Show(ex.Message);
finally
if (deletedPerson != null)
deletedPerson.Dispose();
if (newPerson != null)
newPerson.Dispose();
if (modifiedPerson != null)
modifiedPerson.Dispose();
MessageBox.Show("Updated");
this.personTableAdapter.Fill(this._30002195DataSet.Person);
this.teacherTableAdapter.Fill(this._30002195DataSet.Teacher);
Now because I am trying to edit a certain user which requires the Person table along with the other table, it just doesn't seem to work at all. 
With the datagridview, I made a new view in the sql and it has both tables combined and shows when I bring it out from the datasource, but where I go into the dataset builder and try to create an update method, all I get is the "Update" not what
I would get when I created the update method from just the person's table by itself. 
Can someone provide me with an example or help me out someway because I am struggling with this, I can't seem to find much information at all. 
Thanks. 

I have used the designer to create a new datagridview, when using that dgv it doesn't want to update to the relevent tables in my database. So say you have the person and admin dgv together and you need to update it, how would you get it to work
to the database? I did just end up using 2 seperate dgv's but it won't get accepted.
try
_30002195DataSetTableAdapters.PersonTableAdapter personTableAdapter = new _30002195DataSetTableAdapters.PersonTableAdapter();
// person table
_30002195DataSetTableAdapters.AdministrationTableAdapter administrationTableAdapter = new _30002195DataSetTableAdapters.AdministrationTableAdapter();
// admin table
ViewSetTableAdapters.AdminViewTableAdapter adminviewTableAdapter = new ViewSetTableAdapters.AdminViewTableAdapter();
// tried using this for both the admin/person tables together but didn't work?
this.Validate();
adminViewBindingSource.EndEdit(); //both
personBindingSource.EndEdit();
administrationBindingSource.EndEdit();
personTableAdapter.Update(_30002195DataSet.Person);
administrationTableAdapter.Update(_30002195DataSet.Administration);
MessageBox.Show("Updated");
this.personTableAdapter.Fill(this._30002195DataSet.Person);
this.administrationTableAdapter.Fill(this._30002195DataSet.Administration);
catch (Exception ex)
MessageBox.Show(ex.Message);
 So, how would I write the code so it edits both the tables from just the one dgv?
Hello,
Based on these words above, it seems that the key issue is that you want to display and edit the data of two tables with a single datagridview, right? If so, I am afraid that I would recommend you consider using code other than designer to get that done.
Are these table store in the same database?
If so, then you could consider getting that done with ADO.NET, we could getting the data of multiple table with sql query. You could consider
using sql query to get all data from multiple tables
of database, and then fill them to a single datatable.
For query issue, you could consider getting help from
Transact-SQL forum.
If not, then we need to create update query for both table and execute these queries with sperate connection strings.
Regards,
Carl
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.

Similar Messages

  • How to Unpivot, Crosstab, or Pivot using Oracle 9i with PL/SQL?

    How to Unpivot, Crosstab, or Pivot using Oracle 9i with PL/SQL?
    Here is a fictional sample layout of the data I have from My_Source_Query:
    Customer | VIN | Year | Make | Odometer | ... followed by 350 more columns/fields
    123 | 321XYZ | 2012 | Honda | 1900 |
    123 | 432ABC | 2012 | Toyota | 2300 |
    456 | 999PDQ | 2000 | Ford | 45586 |
    876 | 888QWE | 2010 | Mercedes | 38332 |
    ... followed by up to 25 more rows of data from this query.
    The exact number of records returned by My_Source_Query is unknown ahead of time, but should be less than 25 even under extreme situations.
    Here is how I would like the data to be:
    Column1 |Column2 |Column3 |Column4 |Column5 |
    Customer | 123 | 123 | 456 | 876 |
    VIN | 321XYZ | 432ABC | 999PDQ | 888QWE |
    Year | 2012 | 2012 | 2000 | 2010 |
    Make | Honda | Toyota | Ford | Mercedes|
    Odometer | 1900 | 2300 | 45586 | 38332 |
    ... followed by 350 more rows with the names of the columns/fields from the My_Source_Query.
    From reading and trying many, many, many of the posting on this topic I understand that the unknown number or rows in My_Source_Query can be a problem and have considered working with one row at a time until each row has been converted to a column.
    If possible I'd like to find a way of doing this conversion from rows to columns using a query instead of scripts if that is possible. I am a novice at this so any help is welcome.
    This is a repost. I originally posted this question to the wrong forum. Sorry about that.

    The permission level that I have in the Oracle environment is 'read only'. This is also be the permission level of the users of the query I am trying to build.
    As requested, here is the 'create' SQL to build a simple table that has the type of data I am working with.
    My real select query will have more than 350 columns and the rows returned will be 25 rows of less, but for now I am prototyping with just seven columns that have the different data types noted in my sample data.
    NOTE: This SQL has been written and tested in MS Access since I do not have permission to create and populate a table in the Oracle environment and ODBC connections are not allowed.
    CREATE TABLE tbl_MyDataSource
    (Customer char(50),
    VIN char(50),
    Year char(50),
    Make char(50),
    Odometer long,
    InvDate date,
    Amount currency)
    Here is the 'insert into' to populate the tbl_MyDataSource table with four sample records.
    INSERT INTO tbl_MyDataSource ( Customer, VIN, [Year], Make, Odometer, InvDate, Amount )
    SELECT "123", "321XYZ", "2012", "Honda", "1900", "2/15/2012", "987";
    INSERT INTO tbl_MyDataSource ( Customer, VIN, [Year], Make, Odometer, InvDate, Amount )
    VALUES ("123", "432ABC", "2012", "Toyota", "2300", "1/10/2012", "6546");
    INSERT INTO tbl_MyDataSource ( Customer, VIN, [Year], Make, Odometer, InvDate, Amount )
    VALUES ("456", "999PDQ", "2000", "Ford", "45586", "4/25/2002", "456");
    INSERT INTO tbl_MyDataSource ( Customer, VIN, [Year], Make, Odometer, InvDate, Amount )
    VALUES ("876", "888QWE", "2010", "Mercedes", "38332", "10/13/2010", "15973");
    Which should produce a table containing these columns with these values:
    tbl_MyDataSource:
    Customer     VIN     Year     Make     Odometer     InvDate          Amount
    123 | 321XYZ | 2012 | Honda      | 1900          | 2/15/2012     | 987.00
    123 | 432ABC | 2012 | Toyota | 2300 | 1/10/2012     | 6,546.00
    456 | 999PDQ | 2000 | Ford     | 45586          | 4/25/2002     | 456.00
    876 | 888QWE | 2010 | Mercedes | 38332          | 10/13/2010     | 15,973.00
    The desired result is to use Oracle 9i to convert the columns into rows using sql without using any scripts if possible.
    qsel_MyResults:
    Column1          Column2          Column3          Column4          Column5
    Customer | 123 | 123 | 456 | 876
    VIN | 321XYZ | 432ABC | 999PDQ | 888QWE
    Year | 2012 | 2012 | 2000 | 2010
    Make | Honda | Toyota | Ford | Mercedes
    Odometer | 1900 | 2300 | 45586 | 38332
    InvDate | 2/15/2012 | 1/10/2012 | 4/25/2002 | 10/13/2010
    Amount | 987.00 | 6,546.00 | 456.00 | 15,973.00
    The syntax in SQL is something I am not yet sure of.
    You said:
    >
    "Don't use the same name or alias for two different things. if you have a table called t, then don't use t as an alais for an in-line view. Pick a different name, like ordered_t, instead.">
    but I'm not clear on which part of the SQL you are suggesting I change. The code I posted is something I pieced together from some of the other postings and is not something I full understand the syntax of.
    Here is my latest (failed) attempt at this.
    select *
      from (select * from tbl_MyDataSource) t;
    with data as
    (select rownum rnum, t.* from (select * from t order by c1) ordered_t), -- changed 't' to 'ordered_t'
    rows_to_have as
    (select level rr from dual connect by level <= 7 -- number of columns in T
    select rnum,
           max(decode(rr, 1, c1)),
           max(decode(rr, 2, c2)),
           max(decode(rr, 3, c3)),
           max(decode(rr, 4, c3)),      
           max(decode(rr, 5, c3)),      
           max(decode(rr, 6, c3)),      
           max(decode(rr, 7, c3)),       
      from data, rows_to_have
    group by rnumIn the above code the "select * from tbl_MyDataSource" is a place holder for my select query which runs without error and has these exact number of fields and data types as order shown in the tbl_MyDataSource above.
    This code produces the error 'ORA-00936: missing expression'. The error appears to be starting with the 'with data as' line if I am reading my PL/Sql window correctly. Everything above that row runs without error.
    Thank you for your great patients and for sharing your considerable depth of knowledge. Any help is gratefully welcomed.

  • How to find which datasource are using  tables AFRU ,CAUFV and AUFM

    *how to find which datasource are using  tables AFRU ,CAUFV and AUFM*

    Hi,
    You can enter your table names in SE11 transaction and click "Display" and again click "Where -Used-List". Then it will show all the places where these tables are used(Datasources)
    Hope this helps.....
    Regards,
    SUman

  • I burned an edited movie to disc using H.264 codec and a second movie to MPEG -4 Video both worked well on my iMac but will not play on my Sony DVD Recorder/Player which accepts both DVD RW and DVD-RW.  Any suggestions?

    I burned an edited movie to disc using H.264 codec and a second movie using MPEG-4 Video.  Both played well on my iMac but would not play on my Sony DVD Recorder/Player which accepts both DVD+RW and DVD-RW discs.  I have tried other 'codecs' DV-PAL; DVCPRO-PAL; DVCPRO50-PAL; AIC; and finally share to iDVD.  iDVD works on both my iMac and DVD Recorder but the picture is very poor with major shimmering which is unwatchable.  Can anyone assist? The other codecs I used either do not pay on my video recorder or fail when I play them back on my iMac.  I am at a loss as to what I can do.  I am from the UK so using PAL is essential.

    If the source video is interlaced, you may have problems using iMovie. It de-interlaces everything on output which can cause picture to look strange.  Final Cut Pro X supports interlaced video, but it costs a lot more.
    Standard DVD Players don't support H.264 or MPEG4.  You might want to look at this article on transferring HD video to DVD.  I wrote this article mainly for Final Cut Pro, but many of the same principles apply.  

  • Does anyone know how to edit an ITunes song, using either ITunes, or another app

    Does anyone know how to edit a song in ITunes? I want to shorten some songs. Thanks for any help. Tod

    The following user tip might be of some help:
    Chopping a music track into shorter pieces using iTunes for Windows

  • How to put data into textbox using JSP

    How can I put data into a textbox using JSP?
    This code prints to a html page but I want it inside an text area:
    // Print out the type and file name of each row.
            while(ftplrs.next())
                int type = ftplrs.getType();
                if(type == FtpListResult.DIRECTORY)
                    out.print("DIR\t");
                else if(type == FtpListResult.FILE)
                    out.print("FILE\t");
                else if(type == FtpListResult.LINK)
                    out.print("LINK\t");
                else if(type == FtpListResult.OTHERS)
                    out.print("OTHER\t");
                out.print(ftplrs.getName() +"<br>");
            }I have tried with the code below:
    <textarea name="showDirectoryContent" rows="10" cols="70">
    <%
           // Print out the type and file name of each row.
            while(ftplrs.next())
                int type = ftplrs.getType();
                if(type == FtpListResult.DIRECTORY)
    %>
                    <%= "DIR\t" %>
    <%            else if(type == FtpListResult.FILE) %>
                    <%= "FILE\t" %>
    <%            else if(type == FtpListResult.LINK)  %>
                    <%= "LINK\t" %>
    <%            else if(type == FtpListResult.OTHERS) %>
                    <%= "OTHER\t" %>
    <%            String temp = ftplrs.getName() +"<br>");
                  <%= temp > <br>
    %>
    </textarea>I get the following error:
    Location: /myJSPs/jsp/grid-portal-project/processviewfiles_dir.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile Note: sun.tools.javac.Main has been deprecated.
    C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\processviewfiles_dir_3.java:151: 'else' without 'if'.
    else if(type == FtpListResult.FILE)
    ^
    C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\processviewfiles_dir_3.java:165: 'else' without 'if'.
    else if(type == FtpListResult.LINK)
    ^
    C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\processviewfiles_dir_3.java:179: 'else' without 'if'.
    else if(type == FtpListResult.OTHERS)
    ^
    C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\processviewfiles_dir_3.java:193: ';' expected.
    String temp = ftplrs.getName() +"");
    ^
    4 errors, 1 warning
         at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898)
         at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:733)
         at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
         at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
         at java.lang.Thread.run(Thread.java:536)
    Please help???

    Yes indeed this works:
    <textarea name="showDirectoryContent" rows="10" cols="70">
    <%
           // Print out the type and file name of each row.
            while(ftplrs.next())
                int type = ftplrs.getType();
                if(type == FtpListResult.DIRECTORY)
    {%>
                    <%= "DIR\t" %>
    <%}            else if(type == FtpListResult.FILE)  {%>
                    <%= "FILE\t" %>
    <%}            else if(type == FtpListResult.LINK)  {%>
                    <%= "LINK\t" %>
    <%}            else if(type == FtpListResult.OTHERS) %>
                    <%= "OTHER\t" %>            
                  <%= ftplrs.getName() %>
    <%
    %>

  • TS4268 My phone uses my email for iMessage but not my phone number, how do I get that to use my phone number and not my email?

    I can't figure out how to use my phone number and not my email for iMessage

    Settings>messages>Send &amp; Receive> Start New Conversations From and select your phone number.

  • How to make system update with "use automatic configuration script" and an URL

    Hello,
    all our laptop using "use automatic configuration script" with an "accelerated_pac_base.pac" prxy setting.
    How can we make system update work with that ?
    And no way for us to by pass this proxy settings with
    Thanks

    I mean there is no general method which is capable of correcting all possible errors found by schema validation.
    For example if the validation says it expected to find an <organization> element or a <company> element but it found a <banana> element, there is no way to determine what repair is necessary.
    Anyway the requirement is fighting against the way things work in the real world. The purpose of validation is just to find out whether a document matches a schema. If it doesn't, then too bad. Send it back to be fixed or replaced. If you are having a problem because you repeatedly get documents which don't quite match your schema, then you need to train the users to produce valid documents or to give them tools which help them do that.

  • How to Generate 250 Users Conference using Lync 2013 Stress and Performance Tool

    How to Generate 250 Users N-way IM Conference using Lync 2013 Stress and Performance Tool.
    Please Let know the configurations to generate the XMLs. We are not able to create more than 70 users N-way IM conference though during configuration, we opted for 300 users conference for Large Conference (in custom setting).
    The tool somehow does not create the number of participants as indicated. Is there any way to troubleshoot why it's not generating the expected load.

    Hi,
    Would you please elaborate more about your Lync environment?
    Please check if you meet the following configuration requirements:
    Set the MaxMeetingSize option to 1000. (The default is 250.)
    Set the AllowLargeMeetings option to True.
    Set the EnableAppDesktopSharing option to None.
    Set the AllowUserToScheduleMeetingsWithAppSharing option to False.
    Set the AllowSharedNotes option to False.
    Set the AllowAnnotations option to False.
    Set the DisablePowerPointAnnotations option to True.
    Set the AllowMultiview option to False.
    Set the EnableMultiviewJoin option to False.
    More details:
    http://technet.microsoft.com/en-us/library/jj205074.aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • [Forum FAQ] How do I disable all subscriptions without disabling Reporting Services and SQL Server Agent?

    Introduction
    There is the scenario that users configured hundreds of subscriptions for reports. Now they want to disable all the subscriptions, but Reporting Services and SQL Server Agent service should be enable, so the subscriptions will not delivery reports to users
    and users could run the reports and create jobs on the server.
    Solution
    To achieve this requirement, we need to list all subscriptions and their schedules by running query, then use loop statement to disable all the subscription schedules by Job name.
    On the Start menu, point to All Programs, point to Microsoft SQL Server instance, and then click SQL Server Management Studio.
    Type Server name and select Authentication, click Connect.
    Click New Query in menu to open a new Query Editor window.
    List all subscriptions and their schedules by running the following query:
    Use ReportServer
    go
    SELECT   c.[Name] ReportName,           
    s.ScheduleID JobName,           
    ss.[Description] SubscriptionDescription,           
    ss.DeliveryExtension SubscriptionType,           
    c.[Path] ReportFolderPath,           
    row_number() over(order by s.ScheduleID) as rn             
    into
    #Temp  
    FROM     
    ReportSchedule rs           
    INNER JOIN Schedule s ON rs.ScheduleID = s.ScheduleID           
    INNER JOIN Subscriptions ss ON rs.SubscriptionID = ss.SubscriptionID           
    INNER JOIN [Catalog] c ON rs.ReportID = c.ItemID AND ss.Report_OID = c.ItemID   
    select * from #temp
    Use the loop statement to disable all the subscription schedules by Job name:
    DECLARE
    @count INT,
    @maxCount INT  
    SET @COUNT=1  
    SELECT @maxCount=MAX(RN)
    FROM
    #temp         
    DECLARE
    @job_name VARCHAR(MAX)                  
    WHILE @COUNT <=@maxCount        
    BEGIN      
    SELECT @job_name=jobname FROM #temp WHERE RN=@COUNT  
    exec msdb..sp_update_job @job_name = @job_name,@enabled = 0     
    SET @COUNT=@COUNT+1   P
    RINT @job_name   
    END   
    PRINT @COUNT 
    Reference
    SQL Agent – Disable All Jobs
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Reporting Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • How to edit existing gif file using photoshop (CS2)

    Hello Forum,
    I have some gif images that I have used for creating tabs on a
    web page. I downloaded these images from somewhere, and did not create them
    myself. I would like to change the color of these gif files.
    They are a nice image, with a gradient applied at the top, and I have a left side gif for the tab as well as an "over" image set for the tab(s) as well.
    I use the images in a css file to display the tabs on a web page.
    The gradient is across the top of the tab, which is a lighter color, almost going to white, and the rest of the tab is a light blue, with left and right top a slight rounded corner. I would like to preserve the gradient appearance, but change the light blue theme to an almost black (#333333) color.
    How can I do this in photoshop?
    Thanks,
    eholz1

    Hi All
    I would like to create an action in CS2 to resize an image to e.g 600 x ? pixels and then save for web at max 149kb .
    Any clues? I've tried a few different files of different file sizes?(possible cause here) and always end up with different results when using my actions or the image processor.
    Is this at all possibleto accomplish in a single step?
    Let me elaborate more. On a particular forum where post we are limited to 600 x? pixels and file size no greater than 150 kb. When creating this action in CS2 with different file sizes one lands up with files ranging from 70kb (not as good for viewing) to 149kb(perfect size)or 357kb?(way too big). I'd like to have as close to <150kb for ALL files in the "action"
    Is this possible without getting into scripting?
    Thanks
    Don

  • How to edit Vine App videos using Adobe Elements?

    Hey guys, I'm trying to edit videos to use for the Vine App but every time i go and save the work it always saves with black borders around the videos when i try to upload them. Can anyone help? I was told Vine use 480x480 resolution as MP4 videos but it still comes out with the borders.
    Any help would be appreciated.

    julio
    I tried to road test this by downloading and installing the Vine App, but all I had was iPod Touch 4th generation which cannot be updated to meet the requirements for Vine App.
    So, please give the following its road test, and let us see if this works for you....
    1. Open Premiere Elements 13 to its Expert workspace. Edit Menu/Preferences/General and remove the check mark next to "Default Scale to Frame Size".
    2. Import your source media 1080p into Premiere Elements 13 (Add Media/Files and Folders) and make your 6 sec segment. You can selectively export that
    6 seconds segment without having to get rid of the rest of the Timeline
    a. move the gray tabs to span just that Timeline segment
    and
    b. when in the export area make sure that there is a check mark next to Share Work Area Bar Only.
    This first screenshot was done with version 10, but points to the two requirements for selective import that applies to 13 as well.
    3. Go to Publish+Share/Mobile Phones and Players/Apple iPod, iPad, and iPhone/ with Presets = "Apple iPad 2,3, 4, Mini; iPhone 4S, 5, 5S; Apple TV3 - 1080p29.97"
    Under the Advanced Button.Video Tab of that preset customize the preset as shown in the following screenshot
    Video Tab opened to show details.....
    Check out the Multiplexer Tab to assure that
    Multiplexer = MP4
    Stream Compatibility = iPod
    This should give you a 480 x 480 H.264.mp4 file (6 seconds duration) saved to the computer hard drive location that you designate.
    You can also produce a H.264.mov file using Publish+Share/Computer/QuickTime. We can go
    into that next if necessary.
    We will be watching for your results.
    Thank you.
    ATR

  • How to edit 4, red footage using cs6 pc win7 24gb ram please

    hello,
    i've chosen to create this thread so i can keep track of the stuff that happens
    a colleague of mine is setting up to shoot/edit a feature with a red camera (4k)
    i'm looking for 2 things: 
    1.) samples of downloadable 4k footage so i can see what it does to my current edit rig
    2.) the most optimal system to edit 4k  2hour length feature on a win 7 pc...budget is not an issue (unless you go stupidcrazy diamond encrusted cpu, etc.)
    thanks in advance, j

    hello, thanks for the link, getting some now (i use yahoo)
    i found this one:
    canon eos 1d
    http://planet5d.com/1dcsample1
    http://planet5d.com/1dcsample2
    http://blog.planet5d.com/2013/01/come-and-get-your-canon-eos-1d-c-4k-video-samples-here-on -planet5d-can-your-machine-cope/
    what about specifically 4k r3d samples?

  • How to edit a burned DVD using Encore2 & PPro2

    I have authored nearly 50 DVD using Encore & PPro. My client now wants some minor changes made in the title and in the main body of the movies. Redoing the whle DVDs is impossible (several months work).
    I have been tinkerig with internet tools such as DVD Dcrypter, Smart Ripper, Video redo,Tmpgen etc. They are not helpful nor consistent.
    Is there any other way to accomplish the above. I would appreciate any help

    Hi,
    I found this - http://msdn.microsoft.com/EN-US/library/office/ff478255(v=office.15).aspx
    and this is the exact what i wanted.
    Thanks Sergio
    Russo for your response

  • How to edit the navigation settings using sandboxed code?

    Hello. I need to create web-provisioned event that changes current navigation settings to "Structural Navigation: Display the current site, the navigation items below the current site, and the current site's siblings".
    Currently I am using following code which does not work (I used SharePont manager to get the xml for _webnavigationsettings).
    public const string Webnavigationsettings = "_webnavigationsettings";
    public const string GlobalNavigationIncludeTypes = "__GlobalNavigationIncludeTypes";
    protected void Button1_Click(object sender, EventArgs e)
    SPWeb web = SPContext.Current.Web;
    const string webnavigationsettings = @"<?xml version='1.0' encoding='utf-16' standalone='yes'?>
    <WebNavigationSettings Version='1.1'>
    <SiteMapProviderSettings>
    <SwitchableSiteMapProviderSettings Name='CurrentNavigationSwitchableProvider' TargetProviderName='CurrentNavigation' />
    <TaxonomySiteMapProviderSettings Name='CurrentNavigationTaxonomyProvider' Disabled='True' />
    <SwitchableSiteMapProviderSettings Name='GlobalNavigationSwitchableProvider' UseParentSiteMap='True' />
    <TaxonomySiteMapProviderSettings Name='GlobalNavigationTaxonomyProvider' UseParentSiteMap='True' />
    </SiteMapProviderSettings>
    <NewPageSettings AddNewPagesToNavigation='True' CreateFriendlyUrlsForNewPages='True' />
    </WebNavigationSettings>";
    if (web.GetProperty(Webnavigationsettings) != null)
    web.DeleteProperty(Webnavigationsettings);
    web.AddProperty(Webnavigationsettings, webnavigationsettings);
    if (web.GetProperty(GlobalNavigationIncludeTypes) != null)
    web.DeleteProperty(GlobalNavigationIncludeTypes);
    web.AddProperty(GlobalNavigationIncludeTypes, 3);
    web.Update();
    I can do this with javascript but what about sandboxed c#?  

    Hi,
     Please follow the below links which may help you to do accomplish your work
    http://francoisverbeeck.wordpress.com/2013/01/15/sharepoint-tip-of-the-day-programmatically-ro/ 
    http://discoveringsharepoint.wordpress.com/2013/03/19/programmatically-set-navigation-settings-in-sharepoint-2013/
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

Maybe you are looking for