I have date type list field in sharepoint list and i have created one form in sharepoint webpage.

Hi All,
i have date type list field in sharepoint list and i have created one form in sharepoint webpage.
Now i want to save that field from shareepoint webpage, its declared "t1.text" but its showing error.
How can i save this field?

Hi AnilKarthink, 
I wrote a Technet Wiki article on saving data to the various SharePoint fields. You can view it here: http://social.technet.microsoft.com/wiki/contents/articles/21801.sharepoint-a-complete-guide-to-getting-and-setting-fields-using-c.aspx
Regards, Matthew
MCPD | MCITP
My Blog
View
Matthew Yarlett's profile
See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
Upload and Crop User Profile Photos

Similar Messages

  • Error when trying to set a date type edit field

    Hi all
    I have an edit text field in a form which is bounded to a date type
    database field using dbDataSource.
    When i try to set the edit text field value with Today's date by code.
    I recieve an error message that the value which
    i'm trying to set is not legal. the  error number is [131-183].
    I use the following code to set the edit field:
    If oEditText.Value.Trim = String.Empty Then
                Dim strDate As String
                Dim sboBob As SAPbobsCOM.SBObob =
                 oCompany.GetBusinessObjec(SAPbobsCOM.BoObjectTypes.BoBridge)
                 rs = sboBob.Format_DateToString(Microsoft.VisualBasic.Today)
               strDate = rs.Fields.Item(0).Value.ToString().Trim()
    Try 
           oEditText.Value = strDate
    Catch ex As Exception
        SBO_Application.MessageBox("error setting
    current date: " & ex.Message)
    End Try
    End If
    My question is how can i set the edit field with a valid value?

    Hi!
    When writing to EditText.Value you must always use the B1 "DB-Format" as String.
    The following examples are assuming (it's a must!) that the EditText-Fields are bound to a corrosponding DataSource (Type Date, Price etc...)
    MyDateEditTxt.Value="20080207"
    MyPriceEditTxt.Value="1341.79"
    The best of it: It's Windows and SBO-GUI-Language independent.
    EditText.String must always be written with the format of the actual Language of the SBO-GUI, which can be changed by the user....
    You may also have a look at my statements regarding these problems near the end of this thread:
    [How to pass date value to an UDF;
    Cheers,
    Roland

  • Changing data types of  fields in structures

    Hello,
       Currently we are working for upgrade to ECC 6.0 .
       In some transactions we are using BAPI_MATERIAL_SAVEDATA to create material.
      We have some additional fields in MARA and MARC table , which we fill using BAPI_TE_MARA and BAPI_TE_MARC structures.
        In these structures we have different data types for fields earlier in 4.6C
    Now this function module is only working if we change  data types of  fields in these structures only to char type. It is going for dump , if we maintain any other data type.
      Could any body tell me why should we change for char data type ?
    Regards,
      SATYA

    Hi,
    Check enhancement category (Extras --> Enhancement Category) for structures before enhancement. For example, for BAPI_TE_MARA structure, enhancement category is given as character type or numeric type. That means you can add the fields of data type only C and N. No other data types are allowed. If you select as not classified then you can add any data type. This option plays important role while enhancement.
    Regards,
    Prasanth

  • How to find data type of field dynamically in abap

    hi all,
    I am hanged up in one issue. There an internal table is filled.
    theres one field ,and  i want to extract the data type of the field content.
    Ex. i_tab is internal table having field var1.
          let the content of var1  have data type same as that of matnr (material no.)
    so here i want to extract this data type.
    thanx in advance for efficient help

    hi,
    Use the statemnt
    DESCRIBE FIELD 
    Use the edition   TYPE typ [COMPONENTS com]
    More help use F1
    example fropm F1 help
    DATA: BEGIN OF struc1,
            comp1 TYPE c LENGTH 1,
            comp2 TYPE string,
            BEGIN OF struc2,
               comp1 TYPE c LENGTH 1,
              comp2 TYPE i,
            END OF struc2,
          END OF struc1,
          typ1  TYPE c LENGTH 1,
          comp1 TYPE i,
          typ2  TYPE c LENGTH 1,
          comp2 TYPE i.
    DESCRIBE FIELD: struc1        TYPE typ1 COMPONENTS comp1,
                    struc1-struc2 TYPE typ2 COMPONENTS comp2.
    regards
    prasanth

  • I have added a new field in IT0006 ,Now when try to create a new record for

    Hi Experts,
    I have added a new field in IT0006 ,Now when try to create a new record for a employee.
    1,If I give the SUBTY in the PA30 screen getting an error "Don't Specify a subty error"
    if and remove the subty and press CREATE button popup's comes and list the subty values.......It was allowing me to enter the subty in the PA30 screen prior to my new field addition in IT0006... is't a problem with the new field addition?
    2, After I choose the subty value from the pop-up I am able to see the next screen....BUT GETTING AN INFORMATION MESSAGE THAT "Assignment to feature P0006 did not take place"?
    3,, In the next screen after I have passed all mandatory fields while attempting SAVE I am getting an error called " Time constraint table in T777D is incorrect" what could be the cause?

    How are u adding fields to table using append in se11 or pm01.
    if you are adding fields using se11 delete it and add it0005 in transaction pm01 and generate object.
    add fields to structure CI_XX_R0005 and generate screen and maintain entry and screen in maintance view add entry and activate program.

  • I'm trying to reset my iPhone 4S but I have no internet as my wifi has broken and I have no data left, I have tried connecting to a computer which did not work any help would be grateful thanks

    I'm trying to reset my iPhone 4S but I have no internet as my wifi has broken and I have no data left, I have tried connecting to a computer which did not work any help would be grateful thanks

    A reset has nothing to do with Internet access or data access.
    A reset is simply pressing and holding the home and power buttons until the white Apple logo appears.
    What are you really trying to do?

  • I bought pages on the app store and have math type installed. However I am do not have the option to "Insert Mathtype Equations" either with right click or the drop down menus at the top of the screen.

    I bought pages on the app store and have math type installed. However I am do not have the option to "Insert > Mathtype Equations" either with right click or the drop down menus at the top of the screen. I also have OS Lion installed if this makes any difference. Please help!

    I assume but I can't check that MathType rely on the standard iWork applications location which isn't the one used by the mac App Store.
    Create a subfolder named iWork '09 in the Applications folder.
    Select the iwork applications which you own then drag them into the iWork '09 folder.
    You will be asked to type your password. Don't worry, it's normal.
    It's required because the System must store the infos describing the new location so that, if a new revision is delivered, mac App Store will be able to find the apps where they are.
    When this will be done, try to re-install MathType.
    I guess that this time it will behave flawlessly.
    Yvan KOENIG (VALLAURIS, France) mardi 13 septembre 2011 16:48:19
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Hi I want to change your e-secret questions because I forgot the answers I have tried sending reset questions on my mail and I have not received mail

    hi I want to change your e-secret questions because I forgot the answers I have tried sending reset questions on my mail and I have not received mail
    New mail that I want is [email protected]
    Alternative to the Old one

    From  King Penguin
    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Questions' or 'iTunes Store account security' (it appears to vary by country) and fill in that you'd like your security questions/answers reset.
    You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox)

  • HT201364 When I try to download this I get a message that says I haven't got sufficient space on my startup disk. I have checked my available space on the disc and I have only 3GB free out of 500. I have hardly anything on my mac - how can this be?

    When I try to download this I get a message that says I haven't got sufficient space on my startup disk. I have checked my available space on the disc and I have only 3GB free out of 500. I have hardly anything on my mac - how can this be?

    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • Hello! I want to sell my iphone 3g because i have 3gs- i cleared the info in settings and now have black screen saying no service and usb port pointing to itunes - is that all i do ?

    Hello! I want to sell my iphone 3g because i have 3gs- i cleared the info in settings and now have black screen saying no service and usb port pointing to itunes - is that all i do ? i am pretty ignorant of computers- lol- i had read that i need to plug it back into itunes to verify it has all cleared out- i want to sell it on craigs list or ebay- i am really hurting for money right now- all your answers appreciated...

    It needs to be restored by someone. You can do it, and set it up as a new phone, or the buyer can do it.

  • HT201365 I have forgotten my passcode for my iPad air and I have tried to erase it and start over, but I stuck!!  I just got it and I'm just starting to activate it as a new iPad

    I have forgotten my passcode for my iPad air and I have tried to erase it and start over, but I stuck!!  I just got it and I'm just starting to activate it as a new iPad

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • I have installed Itunes 10.5 on my PC and I have turned photostream on on my Ipad2 and Iphone.  The photos sync fine but they are not showing up on my PC.   What's the problem?

    I have installed Itunes 10.5 on my PC and I have turned photostream on on my Ipad2 and Iphone.  The photos sync fine but they are not showing up on my PC.   What's the problem?  I can see my photos on my ipad and Iphone.   I want to be able to see them on my PC when I take pictures from my Iphone and Ipad.  How do I see Photostream on my PC?

    You have to install the iCloud control panel for windows, then sign in with you apple ID, and check what you want to sync.
    link: http://support.apple.com/kb/DL1455

  • HT201302 I have over 1000 photos in my camera roll, and I have saved them to my computer.  Is there an easy way to delete some or all of them to clear out space on my iPhone?

    I have over 1000 photos in my camera roll, and I have saved them to my computer.  Is there an easy way to delete some or all of them to clear out space on my iPhone?

    The quick way is when you imprort them to an app on your computer, usually there is the option to delete everything on the phone that was imported.  If you declined that option, then you have to do it one by one or manualy select in edit mode.

  • HT201328 I have paid Bell to unlock my old iphone4 and they have said it is now unlocked. Can I skip the back up and restore process and just buy another carriers sim card from my daugther Kodoo plan, install it and active the iphone4 on itunes account in

    I have paid Bell to unlock my old iphone4 and they have said it is now unlocked. Can I skip the back up and restore process and just buy another carriers sim card from my daugther Kodoo plan, install it and active the iphone4 on itunes account in her name?
    thanks
    Dave

    The process is as follows:
    Backup the phone, Erase it, connect to iTunes for the unlock process, then your iProfile can be restored.
    You can go ahead and get the SIM, bout you have to Erase the phone and connect to iTunes before it will be unlocked.

  • I use to have a iTunes account with my old computer, and I have lost all my iTunes music, some purchased, some downloaded from another source. Now I'm using a brand new computer (Windows) and I have opened a NEW iTunes account, but I need my music back...

    I use to have a iTunes account with my old computer, and I have lost all my iTunes music, some purchased, some downloaded from another source. Now I'm using a brand new computer (Windows) and I have opened a NEW iTunes account, but I now I need to figure out if it is possible to recoup my music content that I originally had. I had, I believe around close to 300 songs on my account ;(......Any help or guidance would be greatly appreciated.
    Thanks Again, Ronald
    <Email Edited By Host>

    ronaldkerr24 wrote:
    Now I'm using a brand new computer (Windows) and I have opened a NEW iTunes account
    Now remove all your info and update the old AppleiD/iTunes account and use only that account.
    You cannot transfer items between iTunes accounts.
    You can redownload all the content.

Maybe you are looking for