CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: superuser

Page 1 of 7 1 2 3 4

Search: Search took 0.22 seconds.

  1. Replies
    0
    Views
    559

    SMO SQL Server Management Objects

    Hi All!

    I can use the Transfer object to move all data from one table to another, but I need the capability to use where clauses before the actual data transfer takes place. Does anyone know if...
  2. Replies
    2
    Views
    989

    Re: Binding issues

    If you are reading from a database then you really need a data access object class and a business logic object class.

    I am guessing that the database-table in your parent form is a Datatable. ...
  3. Replies
    3
    Views
    911

    Re: List structure

    in addition.. you can also do something like below



    using System;
    using System.Collections.Generic;
    using System.Text;

    namespace ConsoleApplication2
    {
  4. Replies
    1
    Views
    806

    OOP Database advice

    Hey Guys, I need some advice. I am using custom objects with a data access layer and a business object layer that derive from a database. I have multiple tables that have foreign keys so the foreign...
  5. Replies
    10
    Views
    70,571

    Re: Create datatable from List?

    I am curious as to why would you want to go from a generic list of what I possibly may think is a custom object to a datatable?

    On another note why could you not just bind a generic list to the...
  6. Replies
    4
    Views
    1,505

    Re: Could not find installable ISAM ???

    try separating DataSource into two words like Data Source.
  7. Replies
    1
    Views
    700

    Re: Displaying data to datalist or gridview

    I think you need to to refresh your info.

    have you tried to insert an html refresh script on the page?
  8. Re: Should be easy but don't know how?

    The single quote is screwing the sql statement up. Take the single quote out and it should run correctly:)
  9. Replies
    3
    Views
    740

    Re: SQL TableData to EXCEL

    Below is another method:)





    -- Exporting SQL Server Table to an excel spreadsheet
    -- The columns need to be named first before exporting...
  10. Replies
    10
    Views
    1,484

    Re: Programming Controls in C# ?

    I dont know what compiler came with your book, but here is a free one from microsoft.

    C# Express Compiler -> http://msdn.microsoft.com/vstudio/express/visualcsharp/download/default.aspx

    Remote...
  11. Replies
    1
    Views
    2,011

    Re: Add an extra column in Gridview

    Add a template field (empty field) to the gridview in the edit properties menu. Then set the rowdatabound property to the below method:)




    protected void gridviewcreationintercept(object...
  12. Replies
    2
    Views
    1,798

    Re: error when opening an excel spreadsheet

    Is excel installed on the web host server?
  13. Replies
    1
    Views
    732

    Re: problems with crystal report

    Here is a link that could get you started in the right direction:)

    http://aspalliance.com/509#Page2
  14. Replies
    1
    Views
    1,137

    Re: insert vb code into asp.net code

    Here is a VB.net method that populates a gridview from a sql server database:)




    Public Sub PopulateGridView1()
    Dim conn As System.Data.SqlClient.SqlConnection = New...
  15. Replies
    1
    Views
    640

    Re: check boxes and sql server

    You really should be using the bit datatype and not integer for bits. If the datatype is of bit then a gridview sees bits as checkboxes:)

    HTH
  16. Re: How can I get information back from my server

    Here is a method I created and reuse for executing a stored procedure and retrieving the returned data. The listbox is just for demo :)




    /// <summary>
    /// Retrieve data from a...
  17. Re: read changes from log files as they are written to

    There probably is a better way, but a record line counter would work. For example, record how many lines were last read then get all new lines wrote.
  18. Thread: vcproj.

    by superuser
    Replies
    1
    Views
    583

    Re: vcproj.

    This type of file opens C++ header and class files for me. not sure this will help you, but it may shed some light on what you are trying to accomplish.
  19. Replies
    0
    Views
    580

    Image overlay

    Hi friends!

    I need some help. How can I change an image's color/texture from a different picture? Example if I had a picture of a box and it was blue to start with and after picking a red image...
  20. Replies
    0
    Views
    802

    Remote registry

    Anyone have information on reading the registry remotely?
  21. Replies
    3
    Views
    1,419

    Re: Using an Access database with VB.Net 2005

    How to read from access using SQL statements:)




    Private Sub ReadUsingSQL()

    lv1.Items.Clear()
    Dim aConnection As OleDb.OleDbConnection = New...
  22. Replies
    3
    Views
    1,419

    Re: Using an Access database with VB.Net 2005

    there are many ways. here is one that executes sql statements(access database)






    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  23. Replies
    8
    Views
    1,313

    Re: SQL connection

    Is the sql server setup to use both windows and sql authentication?

    how to check:
    Open The SQL Server Enterprise Manager
    Start menu > Programs > Microsoft SQL Server > Enterprise Manager) ...
  24. Thread: Var dimming

    by superuser
    Replies
    12
    Views
    1,442

    Re: Var dimming

    inserting the variables into a string array like dglienna posted earlier should work.. Check out the example below.




    Open FileName$ For Input As #FileHandle

    Do While Not...
  25. Thread: Property C#

    by superuser
    Replies
    3
    Views
    870

    Re: Property C#

    You could return true or false depending on if the file exists like below.





    private bool CheckFile(string f)
    {
    if (f.Trim().Length > 0)
    {
Results 1 to 25 of 165
Page 1 of 7 1 2 3 4





Click Here to Expand Forum to Full Width

Featured