Search results for query: *

  1. D

    generic class to show dynamic table data

    Hi, I am hoping to create a web page will will let user update a database table from selection of tables (dropdownlist). So the table name is dynamic. I have written the stored procedure which will return the column name, datatype, length. for an input table. I would like to create a generic...
  2. D

    serialize class to xml

    Thank you for your help. you were right the problem was not with the serializer. I didn't know about the Immediate Window but managed to retrieve an error using try catch and outputting to text file (I'm doing this is a web service so I had problems getting error) Here is output to text file I...
  3. D

    serialize class to xml

    Can you show you a slightly modified version using other examples? I still have the same problem, i.e. the instance of the class shows values in debugger but the writer /string taking serializer are "Nothing" Here is my class: Imports Microsoft.VisualBasic Imports System.Xml.Serialization...
  4. D

    serialize class to xml

    Hi, thanks for getting back to me. I put a breakpoint in the function and checked for values. in this section: xs.Serialize(xmlWriter__1, objectGraph, ns) hovering over objectGraph displayed a filled instance with all values filled, everywhere else on the line is "Nothing" And on the...
  5. D

    serialize class to xml

    I have a class I want to serialize to an XML string. I have tried several different examples on the net but when I debug the class instance is filled with values, but the stringbuilder /writer is "Nothing" the latest example I tried is this conversion of a C# example:Friend Shared Function...
  6. D

    Question namevaluecollection to html table

    Hi I have a NameValueCollection which I would like to use to build a html table. so I need to loop through it and add <tr> around the rows and <td> around the values. The collection has forename="Bill", surname="Jones",Address="1 A...." forename="Tom", surname="Brown",Address="6C...." I...
  7. D

    Question nested gridview

    I have a listview with a nested gridview. I'm having trouble accessing the gridview. I want the gridview to be filled and displayed when a linkbutton is clicked on the listview. I use FindControl to get linkbutton - but cannot get FindControl to work for the nested gridview. The gridview works...
  8. D

    SqlBulkCopy fails if data is longer than table field

    I have an import from excel to sql server. this works fine unless excel file data is longer than table field. The table is a temporary table which is created by making a copy of the destination table - so column lengths etc are same as the destination table. Is it possible to set SqlBulkCopy to...
Back
Top