Forum Array

Invalid Compressed Data To Inflate

I am a fairly new VB Programmer, so I apologize upfront for any confusion in the way I might describe my problem. My VB 6.0 program uses CDO.Configuration and CDO.Message to send an e-mails automatically with zipped attachments. I have done this to bypass the security prompts in VB programs using Outlook that started happening when we got Microsoft XP. The files that get e-mailed are saved on my C drive and I am able to open them with no problem. But when the file is sent through Outlook 2002 I cannot open the attachments. (This used to work fine). This is the message I receive when I try to open CUSTLIST.PDFExtracting to “C:Documents and SettingsNAMELocal SettingsTemp”Use Path: no Overlay Files: yesWarning [C:Documents and SettingsNAMELocal SettingsTemporary Internet FilesOLK6Reports122004.Error in file #1: bad Zip file offset (Error local header signature not found): 0(attempting to re-compensate)Extracting CUSTLIST.PDFError: invalid compressed data to inflateI beleive it is related to the new security in Outlook 2002, but have no idea how to make it work. Any ideas? Thank-you for any help on this!

View Answers

Very Similar Questions

Forms Data Controls :: How To Copy A Set Of Data From The Existing Data In UI
How can I copy a set of data from the existing data in UI.

Data Integration :: How To Parse Data And Assign Variable To Text
I have three dynamic text boxes. variables respectively (caption0,caption1,caption2). My xml file is structured as: <?xml version="1.0" encoding="iso-8859-1"?> <captions> <caption>Roll over this</caption> <caption>This is the first Caption.</caption> <caption>This is the second Caption.</caption> </captions> I am trying to create a rollover where when you rollover caption0; caption1 and caption2 are displayed in sequence. Everything works except though only the first caption is ever displayed. For the other two I get "level0.caption1" and "level0.caption2" instead of the text in the xml file above. How do I parse the data so that each of the variables are assigned the text in the xml file?

Forms Data Controls :: Gridview To Excel (adding Data Outside Of The Gridview)
I was wondering if it is possible to add additional data to Excel document created from gridview. What I want to do is to manually add data to certain rows and columns (date, couple of titles, etc), but I'm not sure how to do it. Currently I'm using the following code: [Code]....

Forms Data Controls :: Best Way To Select Data Using A Query Built By Controls
er trying to develop in and I think  this is the best site that I visited ever.I'm  trying to develop webapplications with some controls like calendars, textbox, check box etc. in order to allows to the user to built a query made by himself (and complementing with strings), and of course only to display data according to the gathered information by  the controls.

Forms Data Controls :: Insert Data Using EntityDataSource In FormView - C#
I am new to formview .My formview works fine, when I insert data into the database directly and then do an update on it. It throws an error when I try to insert a new record.  The error just says "An error occurred while updating the entries. See the inner exception for details." How to insert data into the table using an entity dastasource?

Get Data From Previous Page For Search Function And Display Returned Data Into Gridview
I implemented PreviousPage to get data from previous page for my search function and display the returned data into a gridview. The gridview's allowpaging is enabled, but every time I go to next page, my previous page data is lost... how can I resolve that?

Forms Data Controls :: How Do Display A List Of Data Returned From The Database
How do display a list of data returned from the database like this. [code]....

Forms Data Controls :: How To Load Data From GridView To DataTable
How can I load (copy) the data that is present in the GridView into the DataTable? I am planning on loading the DataTable from GridView and update a row from the datatable and load the newly formed data with the GridView. Note : Here I am not using datasource.

Forms Data Controls :: How To Copy Data From Formview
i have a formview <formview> ,,,,, </formview> in the formview i have  a lot of fields , ID , Name , Email ,,,,,, etc  how can i copy the name to textbox ,?! i have try this : protected void Page_Load(object sender, EventArgs e) { TextBox txt = FormView1.FindControl("Email") as TextBox; Tetbox1.text = txt.text ; }

Forms Data Controls :: 2008 - How To Retrieve Data From GRIDVIEW1 Using Column SELECT Button
I am using ASPNET2008 with VB Scripting and not C# Scripting I am encountering new problem. On the WebFrm1, I just don't know how to write the coding to retrieve the CUSTOMERID data in order to retrieve the details from SQL SERVER table  to fill the textbox controls.Here is the decription of the GRIDVIEW column In the GRIDVIEW1 on the left edge one of the column is SELECT button which let the userclick on it to select the specific CUSTOMERID on the column next to it on the right. Here are the coding from SOURCE <asp:ButtonField ButtonType="Button" Text="Select" CommandName="SelectClick"     DataTextField="CustomerID" > </asp:ButtonField>

Forms Data Controls :: Access BoundField Data In ItemUpdating Event Of DetailsView
I use ObjectDataSource and DetailsView for Updating records . my Bll input parameter method is an Object instead of regular parameter . So i though i could make my own ObjectParameter in ItemUpdating event of DetailsView and i need some modifiation on the data that user input on boudfield in detailsView . I don't know how to access BoundFiled data from ItemUpdating Method of DetailsView.

Forms Data Controls :: Access Same Row Data From Dropdownlist_selectindexchanged Event
I have the program structure as below. How can I set some label values in the gridview row from dropdownlist in selected index changed event? how to write ddl_selectedindexchange? <asp:GridView ..... <div..> <asp:dropdownlist runat="server" onselectedindexchange="ddl_selectedindexchange"></dropdownlist> <asp:label  runat="server" id="label1".....> </div> </asp:GridView>

Databases :: Inserting Malayalam Data To Blob Data Field?
I am using 3.5 framework and mysql as my database. When i am saving malayalam data in to the database having datataype blob, it saves like '????'. But when i insert the specified value directly using the mysql query browser, then i can able insert the correct malayalam value.

Forms Data Controls :: Displaying Data In A Datalist?
I am displaying data in a datalist.i have to repeat the same data vertically twice.

Forms Data Controls :: C# DataList Editing Example Using Data From A Database
I am relatively new to the .Net development world and I am trying to convert the C# DataList Editing example shown on the Quickstart Tutorials page to use a actual database for the datasource, instead of the in-memory example that is given... Can someone give me an example of how the behind code would look like when using a database for this example, instead of using the data in-memory, as the example does... I have the DataList template setup correctly to look like the example does, I just cannot figure out how to load my data in from my database. Any SQL database example, with two or three fields, would be enough to illustrate how this can be done... note that I am looking for a specific solution to the example given on the Quickstart Tutorial.

Forms Data Controls :: How To Bind Data To A Control On A Gridview
what i have is a gridview and i have added a new control , textbox, what i want to do is bind the value from a particular column in the Usercontext.searchedresults ( datatable) to it. The issue is that the datasource for the gridview is a Dataview (whcih is a filtered number of columns from the datatable) that does not have that column in it but the Usercontext.searchedresults does have it. i tried the following but doesnt seem to work Text='<%# UserContext.SearchResults.Select("INV_NO = " + DataBinder.Eval(Container.DataItem, "InvoiceNo") + " && INV_LINE_NO = " + DataBinder.Eval(Container.DataItem, "InvoiceLineNo"))[0]["D1_CODE"] %>'> NB: D1_CODE is the new column ..

Forms Data Controls :: Calendar Control: Bind Data?
I need to bind some data to my ASP.Net 3.5 calendar control. The data will be appointments and the fields are appointment datetime and title. The title field should display in the proper day of the month. Also, when a user clicks on a date in the month calendar, they should be redirected to a form to add a new appointment.

Forms Data Controls :: Unable To Show Data In Datalist
this is my ocde [Code].... for this i want show data as india:assam india:bihar india:up but it show the result 0 0 0 why the queary not woriking correctly i am using mysql database.

MVC :: Select Multiple Oracle Data & Session Data
currently, after allowing the user to login, the controller calls the function in the DAO which retrevies the info from my oracle database. this is the current part of the code that i have, which only allows me to get 1 item from the database and stores it to the string. [Code].... I would like to get more then 1 data from the database such as the the user's name, birthday, userstatus etc.. and put them all into a session data, to allow them to be used throughout the website.

Forms Data Controls :: Show Data Randomly In Datalist?
I want to load data from database and show randomly in datalist.. like when user see the page all the data from database showing on the page using datalist or listview. and when the user refresh the page, all the data randomly changed and show in the datalist or listveiw..

Forms Data Controls :: How To Print All Data In DataList
I want to give print option to print all data in datalist.

Forms Data Controls :: Update Data Within Datalist?
I have a datalist that is populated via a database. I would like to enable the user to update a single field. I have followed the msdn tutorial for updating data within a datalist .. this is working marginally - when I click on 'edit' the datalist disappears, then when i search for the same entry again, the datalist becomes the editable version - [Code]....

Forms Data Controls :: Merge Data In DataList?
I have a DataList for displaying FAQ's from a table that contains the following columns - Question, Answer, Dept and Subject.  If there are multiple entries for the same Subject, I'd like to group them together using the one Subject heading as in the example below: Subject 1 Question 1? Answer to question 1. Subject 2 Question 2? Answer to question 2. Another answer to question 2. Still another answer to question 2. My question is how can this be accomplished; the code is pasted below. [Code]....

Forms Data Controls :: Retrieving Data From Datalist?
I have a datalist. I put a linkbottun in itemtemplate and set commandname property to SELECT. I wante when a user clicked on it retrieve information from there. I use this code snipet : Dim dli As DataListItem For Each dli In DataList1.Items Dim i1 As String = DirectCast(dli.FindControl("lblpid"), Label).Text Dim i2 As String = DirectCast(dli.FindControl("lblpname"), Label).Text Dim i3 As String = DirectCast(dli.FindControl("lblprice"), Label).Text Dim i4 As String = DirectCast(dli.FindControl("lblcategory"), Label).Text Session("pid") = i1 Session("pname") = i2 Session("price") = i3 Session("category") = i4 next but it retrieve information of all items in datalist where as I want information about itmes which is select. how can I reach to the index of itme which is clicked?

Forms Data Controls :: Unable To Retrieve A Gridview Selected Row Cells Data
i am still stumped with this operation: i am trying to retrieve a GridView selected row is my code.. the commented part that gives me the selectedindex works just fine....but the one giving the selected row cell value does't work and  there is no error.. The update operation is done successfully...weired. i need to assigned selected row cells values to variables some calculations and then re-assign the result calculation to cell[9].. protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e) { string s = GridView1.SelectedRow.Cells[5].Text; TextBox1.Text = s.ToString(); //string s2 = GridView1.SelectedIndex.ToString(); //TextBox1.Text = s2.ToString(); }

Forms Data Controls :: Retrieve Column Data From GridView For RowDeleting In C#
The date displays just fine in the grid.  I am having trouble with deleting the row in the grid.  I have researched and played with different things with the grid, but I can't seem to get it to work.  Most examples are in VB and I coding is C#.   What happens is the code (see *** in C#) doesn't return the column 0 (UserName) from the GridView.  So the next statement blows up becasue there is no UserName.  I used a ASP.Net VB book I got from a VB class I took to come up with the code. When I typed in "grdUsers.Rows(e.RowIndex)"... I got help from Intellisense, but the rest of the line ".Cells(0).Text"... I got no help.  I included below the code that I think is pertinent to the problem I'm having. [Code]....

Forms Data Controls :: When Click On Title Header To Sort A GridView Some Data Disappear
When I click on my GridView header "End Time" all the rows which contain the string "N/A" disappear. Here is my code: [Code].... Note: GetSortDirection returns "endTime ASC" or "endTime DESC" and save in ViewState: [Code].... Then I fill the DataAdapter and use the ViewState info to sort it: [Code]....

VB Code To Archive Data Via Command Button From One Table To Another
I am reasonably new to writing VB Code managing uptil now to get by on wizards and queries. Please help: I am trying to programme an on click event from a command button to recognise when a record held within a table is ready for archiving. Unfortunately I cannot get it to do anything, any advice would be welcome before I take the long walk out of the window? Private Sub cmdArchive_Recs_Click()On Error GoTo trappingRoutine Dim db As Database Dim rs As Recordset Dim x As Variant Set db = OpenDatabase("I:WORDLWMBriefcaseDatabaseWIP.mdb") Set rs = db.OpenRecordset("select * from tblAction where [lblArchiveFlag]=-1") x = rs.RecordCount MsgBox (x) Exit Sub trappingRoutine: Call modLorisMods.inLineTrapper(err.Number, err.Description)eam. Lori:<

Android :: Link Up UI Elements To Data In Complicated Link Item
How can I link like the Checkbox and larger TextView to external data? Should I use a SimpleCursorAdapter? Or create my own adapter? Should it extend ArrayAdapter or BaseAdapter? My list item UI:

HTML :: Using JSON To Parse Data In Flex - Hyperlink RollOvers
I am using JSON to parse HTML data with customized html tags in Flex. Flex's support for HTML is pretty minimal, so I am wondering if it's possible to do a simple font color change rollover effect on these links. Currently I have found that Flex only supports a few HTML tags, but also supports CSS through Flex's whack CSS methods. Can I manipulate HTML that is written in my JSON files through an external CSS file? Or better still using a simple tag with the JSON file?

Actionscript 3 :: Json : Parsing JSON Data?
I am sending a request to a server, and in return I get a long block of JSON. { "response":"success", "assignments":{ "17733":{ "asnid":"17733", [code].... Is there a way to do this? I checked if the property was enumerated and it returned true, but I cant find a way to access this data.

Actionscript 3.0 :: Json : How To Post JSON Data
I have to work with webservices in Actionscript. I found the following code that allows me to use JSON URLs that implement only the GET method. However, it doesn't work for POST methods (doesn't even enter the "onComplete" method). How can i "POST" JSON data using Actionscript 3.0? package { import flash.display.Sprite; import; [code]....

Samsung :: Data Link Cable - Cannot Get Bitpim To Detect Phone
i just got a samsung sch a870 and i have a link cable from a650 that fits into the phone, i downloaded some drivers that were posted on this site in some thread and it says that my phone is recognized by my computer as a modem or something, but anyways, i cannot get bitpim to detect my phone, is there any information that you can provide me iwth.

Data Replication From MSSQL To MYSQL
Hi all. I need to set a oneway replication of some data from MSSQL (running under Windows 2000 server) to MYSQL (running under Linux). Do you have some ideas to solve the problem? Thank you Luca

How To Link Mssql Data (tables) In Notepad (HTML)
menardo writes "Hi there! I'm a very newbie in SQL programming. Can anybody help me how do I start to learn scriptings. Can you give me the process or scripts on how to export it?? Thanks in advance. -menardo"

Write Data From Text File Into Database?
i m trying to write data from txt file onto database but when i am executing my php code for it the empty record will be inserted in the database not the data written on txt file will be entered.plz help me out  <html> <?   $con=mysql_connect("localhost","root","root"); if (!$con)[code].....

Need Help..COMBOBOX Instead Of DATA Command...n Link With ACCESS File
1. I am using VB 6.0. I have a customer database. I have created a program using DATA command from the toolbar (and linked it with Access file) such that when i select the customer code ...the whole info of that customer appears in the respective text box.But here i want to use Combo Box instead of DATA command so that i can select the customer code form the pull down menu of the combo box.How can i do this....NEED HELP....????2. Also i gAve the link of DATA command to an ACCESS file (.mdb) but when i run my program on some other computer.....the program gives error asking for the same location for the Ascess file which was on the first system. How to rectify this....because i need to create the programs and send it to somebody ......... the other person may copy the folder (containing program file and the Access file) on any drive may be C:,D:,E:,.....please help...thanks....

Application Link To Data File
I am using data environment & adodc for data accessingData environment & ADODC I am given the link with the path & file name in the properties (right click menu ) of the data environment. Here it ask for the data base path and name indata link properties ->connectionAfter installation of the software in the other machine using packing & development setup. While running of the package it ask for the same path for the database which was given during the programming time, it is not taking the application path where the database file (MS-Access) was installed. For this I have to manually create the same path and put the database there. Then the package work.What is the solution so that the application automatically find the application path not the path mentioned in the forms data file link to ado or Data environment.Rahul 2K india

ADO / Data Link Help Needed
I'm a newbie to VB (even if I have experience with ASP/VB Script), so bear with me if I'm not explaining things properly or possibly asking a completely moronic question. Following my VB tutorial I've been making a small application, consisting of 1 form that displays info from a database.The standard application with db-connection (ADO) hasn't posed a problem, but now that I want to make the application location/directory independant I'm running into problems.Basically the application consists of 3 files:E:Tests est-form.frmE:TestsconADO.dsn (file with ODBC info)E:TestsDatabase est-db.mdb (Access database)Now I'm not having any problems using the conADO.dsn to indicate the db-path relative to the application, but I'm finding it impossible to make a relative path between the form/application to conADO.dsnSince I'm used to hard coding stuff I dove into the form file to see how VB connects the form to the dsn-file and found this: Begin MSAdodcLib.Adodc adoBiblio .... .... Connect = "FILE NAME=E:TestsconADO.dsn" OLEDBString = "" OLEDBFile = "E:TestsconADO.dsn"I've tried both CurDir() and App.Path to get the "E:Tests" directory to become a relative one that doesn't depend on where I place the form/application (since I want to be able to use my application wherever I chose and not just in the E:Tests directory), but nothing I try seems to be working.So my question is:How can I change the form properties so that the path to the DSN file becomes relative?Or if I can't do it this way, what is the best way to make a relative connection between a form and a database?Thanks in advance.

(RESOLVED!!)Need Help With Code For Checking If Data In Temp Table Is In Another Table
Hi all,I have a code that will write my data from a tempimport table to a orderstable. Then deletes the temptable. What I need help with is how to check a value in my temptable before writing it to my orderstable. Below is the code I have so far and it works great but doesnt check for duplicate data before writing.I have looked at alot of differnt codes here and just can not seem to get a code to work correctly.I am using VB6 and the tables are in a SQL 2000 serverCode:Private Sub cmdImport_Click()Dim rst As ADODB.RecordsetDim xrst As ADODB.RecordsetSet xrst = GetRecordSet("select * from tempimport")Set rst = GetRecordSet("orderstable")Do While Not xrst.EOF    With rst        .AddNew        !ponumber = xrst!ponumber        !sfname = xrst!sfname        !slname = xrst!slname        !pfname = xrst!pfname        !plname = xrst!plname        !phone = xrst!phone        !streetaddress = xrst!streetaddress        !aptnumber = xrst!aptnumber        !city = xrst!city        !State = xrst!State        !zipcode = xrst!zipcode        !student = xrst!student        !studentpassword = xrst!studentpassword        !Parent = xrst!Parent        !parentpassword = xrst!parentpassword        !isp = xrst!isp        !isppassword = xrst!isppassword        .Update    End With    xrst.MoveNextLoopMsgBox ("Import Finished")GetRecordSet ("delete tempimport")End SubCode:Function GetRecordSet(ByVal SQLString As String) As ADODB.Recordset  Dim myConnection As New ADODB.Connection  Dim myRecordSet As New ADODB.Recordset  'assign connectionString  myConnection.ConnectionString = ODBCString    'open SQL database  myConnection.Open    'set CursorLocation  myRecordSet.CursorLocation = adUseClient    'get recordset  myRecordSet.Open SQLString, myConnection, adOpenDynamic, adLockOptimistic    'return adodb.recordset   Set GetRecordSet = myRecordSetEnd FunctionThanksClarkEdited by - clark on 2/15/2005 9:50:20 AM

Command Button In Data Grid
Can we have command button in each row of data grid (or any other control )to edit each row ?

Command Button For Data Reports
I want to add a command button for a data report and remove the max, min buttons, how do I do this?

Archive Data
hi I am making an application in which I would like to givebackup and restore facility to my user,How can i do it in Vbhelp me outthanks

Saving Data To A File And Checking How Many Times A Command Button Has Been Pressed
I've searched for "Saving", "Saving file", and "Saving to a file" but I couldn't get exactly what I wanted.I have a label that is a integer that changes its value.I want to save that data somehow so that I can load the file later to apply the changed value to my default label value.My second question: is there any way that I can see how many times a button has been clicked or pressed until some kind of an event?I have three boxes that contain one digit numbers, which change (or may change according to the random number) every time a command button has been clicked, and when those boxes receive certain randomized numbers, the program is supposed to pop up a MsgBox.I want to figure out how many times that box has been clicked from the beginning of the program or after that same event upto that event.Am I making any sense? I'm getting confused myself...Any help appreciated.

Open A Table With Code To Enter Data
Hi Folks I am fairly new to VB. My problem is this.I have created a form in Vb, i want to open a table in an access database. i need open the table in edit mode so i can enter data imeadiatly. The next problem is how do you add a new record, using code?Thanks in advance.

Change The SQL Statment Of A Data Environments Command In Code
Hello,I have a Data Report that has a Data Enviroment as its Data Source.I am useing SQL text as the source of data for the command under the data environments connection.The SQL text I have entered directly into the DE is..SELECT * FROM TablesI would like to be able to change the SQL query from within the code prior to the report being shown. so I have been playing with the following...Dim MySQL As StringMySQL = "SELECT Title from Titles Where Title = '101 Database Exercises'"DataEnvironment1.Commands("Command1").CommandText = MySQLDataReport1.ShowWhen the report is shown it is useing the SQL query that is Typed in the Date Environment and not the one that is in the code. I have tried to leave the SQL Text empty in the DE, but then the report craps out all together.Am I going about this the right way?BTW in case you need to know, I am useing an ACCESS 2000 DB and VB 6 (SP 5)Thanks,Daniel

Read The Data And Write The Data To A Table And Its Not Working?
I made this form and I need it to read the data and write the data to a table and its not working heres the html form I left off the doc type so it dont take up that much room <form> <h1>Telephone Directory</h1> <br> [code]........

Read And Write Data From Excel?
how to read and write records hyperlinked content from excel by using PHP

Unix - Read/write Data From Command Line?
I have a server (debian lenny), spectral analyzer and I have downloaded collection of source codes from Steve Sharples's site. With these s. coudes I am able to connect to spectral analyzer - type command and get the responce.For example: my-atom:~/vxi11# ./vxi11_cmd Input command or query ('q' to exit): *IDN? and I get: Rohde&Schwarz,FSV-7,102004/007,1.50 SP1Am I able to connect to this server, write command and read the responce using PHP? I was thinking about sockets, but I am not sure if the best choice.

Save Data To Database - Update Multiple Values?
I have 2 problems. 1st, when I want to update multiple values, I tried: $sqlRequest = "UPDATE gvntools_msg SET title = '$title' AND body='$body' AND videoID='$videoID' WHERE username = '$username'"; What would be a correct syntax? Because it wont save the results. Also, I wanna store a private message in database. As its plain text I decided to go simply with VARCHAR(1000). Saves fine, but I have a problem getting it inside textarea. Messagebr /><textarea name="body" cols="40" rows="10" maxlength="1000" value="$body">

Help With Program Sending Data To Website.
i'm working on a program that will take data entered into a text field lets say txtURL then send it to a website like google and submit the info. Any help would be appreciated I am somewhat new to VisualBasic and programming.

MS Word Link MS Access Table Data - Avoiding Duplicates
Hi All, I have an MS Access table that currently links into word as a mail merge. Great! Sample data as follows: Tutor Student Mr A Donald Duck Mr A Mickey Mouse Mr A Minnie Mouse Mrs B Joe Bloggs I want to produce a mail document that allows me to address each tutor separately, along with the respective student names in a grid. Now I've setup the document, but when I view each document it produces the list of all students for each tutor. e.g. Dear Mr A Your students are: Donald Duck Mickey Mouse Minnie Mouse ------------------- Dear Mrs B Your Students are: Joe Bloggs Is this at all possible? Thanks:)

Sony Ericsson Xperia X10 :: How Much Data Phone Is Receiving / Sending
I got the phone last week and very disappointed with low sound volume but seems I am not alone....anyway that's not my question.I am interested in how much my 3G connection is active and how much data my phone is receiving/sending. I installed the 3G Watchdog app and for example this morning with browsing BBC website with NO downloads etc it is showing 4.76MB data alone (3.96MB received and 838KB transmitted). My 3G connection is almost always flashing with the arrows showing data transfer but what is it?! Facebook has all updates off Email is synced hourly Moxier calendar daily I seem to have a "background" data transfer of 3MB/day and this is without any browsing etc...what is going on?!

Android : Data Traffic Switing Between Radio And Wifi Link
In my Android dev phone I have a requirement to implement - On power up Radio interface (GSM in my case) is up and any data traffic (e.g. ping, http, etc) goes through radio interface. When I turned on Wifi I need to shift all data traffic (except voice/voip) into WiFi channel. Does Cupcake/Donut support this kind of handoff?

How To Send Back Data From A JSON Request
I have an existing WSDL which returns information to remote devices using SOAP. However, I'm writing a new app with Android which doesn't support SOAP so I can't use the existing WSDL and have had to code a new app which looks for a querystring from the Android app and returns the data in a JSON packet. I've coded the module which receives the data okay but I'm unsure how to send the data back in JSON forma

Data To Json String And Send It To A Specific URL
this is the JSON string the data is required in to be sent using a given URL.[code]I am using and i need to create this string using I tried using namevaluecollection and doing a POST. I also tried making a string and send data using GET. Both failed. how can i do this?

Pass Json Data In A Particular Format
I have to pass my Json data in a particular format. My app is coded in vb. The following is my code : [Code]...

Regex - Regular Expression To Parse Whitespace-delimited Data?
I have written code to pull some data into a data table and do some data re-formatting. I need some help splitting some text into appropriate columns. CASE 1 I have data formated like this that I need to split into 2 columns. [Code]... column is the first 11 characters That is easy.column 2 should contain all the text after the first 11 characters up to but not including the first number.The last column is all the text after column 2

VS2008 Load And Parse A Text File And Extract Data Between Points On Any Given Line
I need to load and parse a text file and extract data between points on any given line. I can load the file, but it's the parsing that's giving me headaches. e.g. "Phoned Jim and arranged for John to attend site" First I need to search for "Phoned" because the line always starts with that, and then I need to extract "Jim and arranged for John" [Code]....

.net - Invalid JSON Data
I have the following jquery which is invalid: { "id": 12, "heading": "heading goes here 3", "content": "<p><span style="color: #ff0000;">content</span> <u><strong>goes </strong></u><span style="color: #ffffff;"><span style="background-color: #ff0000;">here</span></span> 3.</p>" } I am generating this with ( from data stored in a database. I think I need to somehow escape the double quotes within the content section of the json data. How do I do this? - Create JSON Data With .NET?
At the moment, I am building json data as follows: <%@ Page Language="VB" Debug="True" EnableViewState="false" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SqlClient" %> [Code]..... Is this the preferred method of creating JSON data using .NET? I think I am supposed to use asmx web services with arrays converted to json? But all the examples I have seen are in C#.

Flex :: Display And Parse Sensor Data (text)?
I have a sensor that sends data as text file. Data format as follow: dat=110405120000+000.00+000.00+005.65+000.00+040.71+000.00+000.00+000.20. How can i parse this data? The output i want is: date: 05-04-11 time: 12:00:00 ch01: 000.00 ch02: 000.00 [Code].....

Flex :: Send HTTP POST Request With Binary Data In Body
I'm new to Flex and couldn't figure out yet how to send binary data to the server as the body of a POST request. The HTTPService component doesn't seem to support this. The FileReference doesn't seem to support setting the data via the Flex API.

Flash :: Obtain And Push JSON Data Into Arrays?
so I have a JSON link that contains a couple of nodes (not sure what you call them in JSON) that I need to put into arrays in ActionScript, but I'm still having trouble trying to trace out all the specific node content.I found a similar question here, but the fix just showed how to trace out the entire JSON file (which shows up in my output window as [object Object],[object Object],[object Object],...)first node: {"captions":[{"content":"[hello world] ","startTime":0,"duration":4000} My code: private function onCaptionsComplete( event:Event ):void { //var jsonObj:Object = JSON.decode(;[code]..... captions: undefined TypeError: Error #1010: A term is undefined and has no properties.What I would like to be able to do is put the content data into the captionsContent Array, and the startingTime into a startingTime Array, same with the duration data.

Actionscript 3 :: Decoding JSON Data From PHP?
I am able to pull JSON data from PHP into my Flex application just fine with the following bit of code: [Code]...

Php :: Load JSON Data With URL Loader?
I am new to action script 3.0. o understand how can I load data with URLLoader.So, I have an aplication like: var PATH:String = ""; var urlRequest:URLRequest = new URLRequest(PATH); var urlLoader:URLLoader = new URLLoader(); [code].....

ActionScript 2.0 :: Pull Data From JSON In It?
I am currently designing a set of actionscript charts for my company's website. For the set of charts I have set up right now I'm reading all the data from FlashVars, but as you could guess that's not a very good format for charts... I'd prefer to use a JSON array of values, now my question is: Where should I go to start learning about reading from JSON is AS2? I'll hit the books, of course, but this forum is always good when I need to get some advice to dive right in to an urgent project

ActionScript 2.0 :: Loading Data From JSON
does anybody have any experience with using the JSON class from to load JSON data into Actionscript 2?

Flex :: Actionscript 3 - Property Like 'visible Columns' In Advance Data Grid
I want to some how control the visibility of some columns in my advance data grid. I have a data provider with 115 coumns out of which I want to hide few columns. I know the column index and header field of these columns. Is there some property in Advance data grid where I can specify this directly?

ActionScript 3.0 :: Load JSON / Formatting Non-array Data?
I'm trying to format JSON data without using brackets for an array. To start off with, this works (to be followed by what doesn't)[code]...

ActionScript 3.0 :: Load JSON Data From Another Server?
I'm trying to load JSON data from another server. It works when I test i Flash - but in Browser it doesn't work. Is there something I have to change before publishing? ActionScript Code: import com.adobe.serialization.json.JSON  /*Path to the JSON class (in NOTE: make sure to keep all the classes in the original json folder together and that at the very beginning of each class file in the json folder, the file path after the word 'package' accurately reflects that path to the FOLDER in which all the classes are located. E.g. package [URL] /*Create the objects you need*/ var loader:URLLoader = new URLLoader() ; var request:URLRequest = new URLRequest() ; /*Connect to and load the data within the numbers.php file*/ [Code].....

ActionScript 3.0 :: Save Data In JSON File?
I have a table which contains 3 columns, "itemid, xcordinate, ycordinate", in this different records are saved, now i want to have these records on a JSON file, when use click save button, all records present in the table(2d array) save in JSON file.

ActionScript 2.0 :: Getting Json Data With A Useragent From Server
sendInfo = new LoadVars(); sendInfo.addRequestHeader("User-Agent", "myagent"); sendInfo.onLoad = function() { trace(sendInfo.loaded): }; sendInfo.load("url");//for getting JSON data My Result is false and the firefox browser is still loading data from server. how to use useragent in actionscript2 and also how to get json data. I don't know is it json data problem or another

Forms Data Controls :: Formview Keeping Data After Unsuccessful Insert?
I have a formview in Insert Mode linked to a SqlDataSource through a stored procedure. The stored procedure returns -1 in case of a duplicate and i wrote code for this in SqlFormInsertDataSource_Inserted event. Now, when there is a duplicate i display a message and i want the form to show the values inputed. I thought this would be done if i enable the ViewState but i doesn't work. I get the message but the form gets back to insert mode without any data.

Forms Data Controls :: Load 'item' Data From Linked Table?
I have come from MS Access and am working through a couple of textbooks on ASP.NET 4. I am using the Gridview control connected to an SQL data source control. As an exercise I am converting my simpliest MS Access page which is simple a form to request a new stock item in our engineering stores. I have a normalised table called [stock_requests] and part of this is a field calle [failure_mode]. This field is an integer and there is another table listing the possible values for this field. This other table is called [failure_modes] and has two field: [id] < the primary key [mode] < the text to be displayed In my main table [stock_requests] in the field [failure_mode] I store the [id] from the [failure_modes] table for the applicable record in the [failure_modes] table. So for example if someone wanted to select "Catastrophic" as the failure mode the [stock_requests].[failure_mode] field would be 1; if the user selected "Gradual" as the failure mode the [stock_requests].[failure_mode] field would be 2 etc. Now, the gridview wants to display "1" or "2" but I want to display "gradual" or "catastrophic" without using views and all the headaches that brings. I have managed to sort out editting by using a templated field where I have a drop down list in this cell and I databind to a second SQL data source (imaginatively called SqlDataSource2). what is the best method for displaying the text 'Catastophic' or 'Gradual' etc. when in normal mode (view mode)? Is it another templated field and what is the basic approach I should use? I reckon I should be able to work it out once someone points me in the right direction.

Forms Data Controls :: Check Whether Data Has Been Modified Or Not In User Controls?
I have 5 user controls in a web form. Data is being loaded into the user controls at the user control page load event. I have a single save button for the entire web form(the the top of the page). Each user control has update panel and consists of many web controls like textbox, dropdown,gridview and many other. after the page has been rendered successfully to the user. Considered that he has changed text in one user control (  in few textboxes,dropdowns , grid) and clicked on save button. Now I should save only the changes user has made ( in 1 user control) instead of saving all the 5 user controls. how can i achieve this?

Forms Data Controls :: Check Already Exist Data From Database Without Post Back?
I have developed an application ... I have a textbox where user will enter is name ... I need to check if the name is already exist in the database table column when ever user enter their name with out post back . If user exist mean it should show a msg user already exist .....

Forms Data Controls :: Showing Data In Grid Format Without Repetition?
Say I have a table which as two fields Category and Subcategory.  There are multiple sub categories under a particular category.  when displaying in grid it shows all subcategories along with the category which is the same is this case. How can I display records so that the category is displayed only once and all subcategories are displayed.

Forms Data Controls :: Load Data Into Gridview When Scroll?
i have a gridview with vertical scrollbar and i have 100 rows in table. How to load 10 rows each time,when i scroll down or up.

Forms Data Controls :: Copy Data From Excel Row To Gridview Row?
I need to copy data from excel to gridview. I have to select a row and press Ctrl+C to copy from excel, then I have to paste it in Gridview.

Forms Data Controls :: Copy Data From Db To Textbox?
I have a web page like this default.aspx?id={0-n} default.aspx?id=5 for example  how can i copy this number to textbox !? i mean the 5  or any another number  i must use it in text box

Forms Data Controls :: Attempting To Bind Data From A Dropdown List / Cannot Insert The Value NULL Into...
I am attempting to bind data from a dropdown list that was populated from another datasourceID. I've bolded what I believe is relevant to this issue in the code below. But basicly its binding the proper county on the pull down menu but when I hit form submit it dosnt postback that info instead its null. [code]....

Forms Data Controls :: Integer Data Validation In DataSet Select Method?
I am having dataset and I want to validate particular column for Integer(Numeric) value. e.g. ErrorRows = dt.Select("LEN(Year) <> 4 ") Above I have to validate Year column for Numeric value otherwise it should give me erroneous records which have data other than numeric.

Forms Data Controls :: Get Data From A GridView Without Using Select Column?
i have a Grid View called: GridView1.. and i have a column of DropDownList with 4 items inside it (Approve Training 1, Approve Training 2, Approve Training 3, Reject)..when the Admin or user choose one of these items and then click on the Button (Process)an event will be called (process_Click) should go throw all the GridView rows and check the DropDown list.. and there is if/else statement to control the selected item.. what i don't know how to do is: if the user choose item1 (Approve Training 1) for example. then the ID, GPA, TrainingCode1 will be saved in a DataBase table called to get these information from the GridView without using Select column??this is a part of my code: [Code]....

Forms Data Controls :: Read A Data Table And Write In Access DB?
I need to read a table from a dtgrid there is one code for example?

Forms Data Controls :: Invalid Attempt To Read When No Data Is Present?
here, i want to read the data for sql table, but there has error occur. "Invalid attempt to read when no data is present." protected void DropDownListSelectDateYYYY_SelectedIndexChanged(object sender, EventArgs e) { Session["selectDate"] = Session["month"].ToString() + '/' + Session["day"].ToString() + '/' + DropDownListSelectDateYYYY.SelectedValue.ToString(); System.Diagnostics.Debug.Print(Session["selectDate"].ToString()); } string sqlstr = "select * from ATTENDANCE where staff_Name = '" + LabelEmpSelected.Text.Trim() + "'and attendance_Date = '" + Session["selectDate"] + "' ";  whic session["selectDate"] cann't match to the database column data which is mm/dd/yyyy

Forms Data Controls :: How To Read Data From Stored Proceedure And Display To Gridview Using Object ...
I have an object datasource which is using Business object as a myconnection The method i have defined under myconnection is Publicstatic DataTable getfn(String dtype, String did, String dprefix, String dname) { datable table = new datatable(); then declared stored proceedure and defined parameters and assighned values In the stored proceedure it has a query like select column1,coloumn2,coloumn3 As Call from table where I need to take data from Call and display it to the gridview through object datasource .

Forms Data Controls :: Selected Value For Filtered Data In ListView?
My page has ListView with SqlDataSource. I set SqlDataSource as DataSet and EnableCaching = True. BEFORE I filter SqlDataSource, I don't have problem to get the record value for selected record data in my ListView. AFTER I filter SqlDataSource, my ListView can display the filter record data properly, but I have problem to get the record value for selected record data in my ListView. The record value for selected record data does not refer to the record value what I am selecting.

Forms Data Controls :: Populating Dropdown Box With XML Data Filtered From Another Dropdown Box?
I've currently got a form with two dropdown boxes on, and an XML file sitting on the site. My two drop down boxes are Location and Date and what i'm trying to do it get the Location box to filter the XML and put the dates in the Date dropdown box. I'm using C#. Unfortunatly, its not working. My code is: [Code].... and my XML is like this: [Code].... why my dropdown boxes are not being populated?

C# - How To Write Binary Data "as Is" To Registry (ie: I Have Visible Binary Data As String From Regedit...
I have been googling this and have not come along a working solution for an entire day. I don't know anything about binary data types (as I've never knowingly used them) and I'm trying to write a binary value that I see in the registry, to the registry. Now, all I see is the following [shown below]... and if I try to pass that as a string to the RegSetValueEx in the WinAPI and of course it errors out... I do not know what 'numbers' I need to pass into the lpData As Any, argument of RegSetValueEx (i tried a bit array) in order for it to come out as the following [shown below] in the regedit. I really have no idea, and my tests to place random numbers in the bit array just produce corresponding random "figures" as visible in regedit that I do not understand how to 'tie' them together logically. here is the culprit! [Code]... If I had the following in a string or a bit array, what must I populate the bitarray with so that the registry outputs this [above] when written? or, how can I figure out how to do it? I was hoping there'd be a function that reads my string of binary data and transforms it into the real binary format to submit to the RegSetValueEx function in VB6 or other function in VB.Net or C# (this really is a language agnostic question, and the problem exists in all languages; ie: same process).

Forms Data Controls :: Bind Data Sourse To Repeter Control?
I have sql dataset (getting by stored procedure) and i want to show it in repeter control . I never use this control .After bind datasource i want to click on one row and send that row  records  to another page. Can i do this using repeter control .I have done same concept using GridView . But now should do using Repeter Control.

Forms Data Controls :: Bind Gridview To Data From Another Page?
I have two pages: The Source page with a query function SearchUser (Linq) and the Target page with Gridview. now I need to to pass the data that retrieve from the SearchUser function to the GridView of the Target page by "Object Data Source". (I've tried to click on gridview->Configure Data Source-> Object->  and then I can't see the Source page where the function is in).

Forms Data Controls :: Dynamic Data / Display The Sub Models Of Particular Laptop Category?
I have two tables... Laptop category and Laptop details ... Laptop of each category is displayed using Imagebuttons in my website... eg: Dell.HP,Compaq and each category is associated with unique ID like 1 ,2, 3, etc. Based on this category ID when i click on particular image button it should redirect  to another web page ( I ve specified the page in each ImageButton's PostBackUrl property as LaptopDetails.aspx ? catId=1 ....). And  in Details page  I would like to display the sub models of particular Laptop Category... for eg Dell has three sub models INSPIRON 1464, INSPIRON 15 and INSPIRON 15R sub models has to be displayed with image and all the details from the database...

Forms Data Controls :: Viewing Datalist Data Where From Another Table?
I am trying to show data on a datalist, but with some caveats.1. WHERE the User Id = the querystring id pass on the url2. WHERE the table 'resume', the 'permissions' column shows as '1'orWHERE the table 'resume' the 'permissions' column contains within it any number from 2-4, any of which matches one or more numbers in the 'permissions' column of the 'contacts' table (but WHERE the 'contacts' table where the url querystring id = column 'myuserid' and the signed in Profile.UserName = the column 'theiruserid'Its complicted, but i dont know how to reference another data table when selecting data from the first table...?

Forms Data Controls :: Get Sql Data In Datalist On Mouseover Event?
In this link [URL] you can see that we have a real state list. When you click the datalist the selectedindexchange event launched and call a method that retrieved the data from sql to display the correct image and realstate address, etc. How can I change the event to a mouseover event? I don't want to click to see the info I just want to mouseover and see the more info. <asp:Panel ID="Panel1" runat="server" ScrollBars="Vertical" meta:resourcekey="Panel1Resource1"> <div> <asp:DataList runat="server" id="DataListRealStates" DataKeyField="InmobiliariaID" [Code]....

Forms Data Controls :: Store A Gridview With Data In A Cookie?
Is it possible to store a gridview with data in a cookie, and retrive whenever we want?

Forms Data Controls :: Accessing Data In DataList Using C#?
Basically, for each group of rows belonging to the same category, I'd like to display one big "category" header above those rows.  So, for example, i have the following example data: name, category, ID jim, sales, 2 jane, sales, 5 john, sales 8 randy, marketing, 6 sandy, marketing, 44 I'd like to display it like so: SALES jim, sales, 2 jane, sales, 5 john, sales 8 MARKETING randy, marketing, 6 sandy, marketing, 44 I'm using the Datalist control, and the way I've been approaching it is to store the "current" category within some string variable, and for each row that's displayed, I compare the category with the "current" category variable to see if they're equal; if not equal, then I display a new header for the new category and store the new category in the "current" category variable.  Sounds simple enough, but I'm having trouble on how to approach this (I'm new to ASP.NET, former ASP user). this is what I have so far: <table width="100%"> <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1"> <ItemTemplate> <tr> [Code].... * Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.

Forms Data Controls :: Get The Label Data From Datalist?
I am trying the below code but It didn't work. [Code]...

Forms Data Controls :: Using 'MyDataGrid' In The Correct Syntax To Insert Data?
Are we using 'MyDataGrid' in the correct syntax to insert data  Code behind reads: [Code].... The front code [URL] for the Gridview reads: [Code]....

Forms Data Controls :: Correct Use Of Listvieuw With Object Data Source?
i made a small n-tier webapplication, a DATA project with my business objects a DA project with my datacces logic and a GUI project woth my website. For the CRUD operations on my main tables I use a lot of listviews, that works fine but when data grows its slows down.I used already used optimal paging & shared collection's to preventing database acces if data is already loaded en that helps alot.But I see when a user select the EDIT command the select of my listview is performed what is not needed, also when the user than select cancel the select is again called , is this normal behavior or do I made a  mistake in program logic somewhere because this behavior is slowing my application down.