Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MxWade

    Printing Values Passed To A DataSource

    Thanks - I just tried it and it works. This will be very useful. MxW
  2. MxWade

    Printing Values Passed To A DataSource

    Thanks for the answers. Sometimes using a datasource and a gridview is an easy fast way to put together something that there is a need for. This little app is for viewing e-docs that are on an internal server. I have been staying away from datasources for many of the projects that I work on...
  3. MxWade

    Printing Values Passed To A DataSource

    Hello - I would like to print the SQL query and the values that are being passed to a datasource. I have used the following command and it shows the query but not the values: Debug.Print("The SQL string = " + sdsFacilityList.SelectCommand.ToString()) This is the result that I get: The...
  4. MxWade

    Need to Get Data From Directly a DataSource So That It Can Use In Code

    I have been trying to use the ConfigurationManager.ConnectionStrings["key"]that I have been made aware of but I have been unsussessful. The following is from my web.config file (with the login data removed); <connectionStrings> <add name="TestCS" connectionString="Data Source=????;Initial...
  5. MxWade

    Need to Get Data From Directly a DataSource So That It Can Use In Code

    Thanks Jason - this is another thing that I was not aware of, now I can make use of use it. MxW
  6. MxWade

    Need to Get Data From Directly a DataSource So That It Can Use In Code

    Thanks for all of the help on this question. I knew about the ADO method for retrieving data but being new to ASP, I thought that it may be bad form to make use of it. It also seemed like it might be easier if I could pull the data from a datasource. Another concern that I have is the...
  7. MxWade

    Need to Get Data From Directly a DataSource So That It Can Use In Code

    Thanks for the answer, it helps but I do not think that I understand what I need to know. Let's say that I have a datasource called DataSource1 which contains a select statement. To make this easy, lets say that the select returns one table that has two columns (A & B) and two records. Say...
  8. MxWade

    Need to Get Data From Directly a DataSource So That It Can Use In Code

    Hello, On many occasions it would be very handy to be able to get data directly from an SQL datasource so that I can manipulate it with VB code in the code behind. My ASP text books mention that the data is stored in a dataset but they do not give any instruction on how to identify the dataset...
  9. MxWade

    FindControl Need Help Finding Nested Controls

    Thanks - I put the same code inside the click event of a button (for ease of testing) and it works. This is the first time that I have ever seen anyone break it down as you suggested. It seems like a very good and straight forward approach to the problem. Now I have to make it work on a...
  10. MxWade

    FindControl Need Help Finding Nested Controls

    Thanks for your response. This is what I tried but it does not work. I get Object reference not set to an instance of an object. Protected Sub fvMain_DataBinding(ByVal sender As Object, ByVal e As System.EventArgs) Handles fvMain.DataBinding Dim myFormView As FormView =...
  11. MxWade

    FindControl Need Help Finding Nested Controls

    I am a newbie to ASP. I have researched my problem before asking this question and found several similar postings. I have not been able to find a solution that I can make work for my situation. I have a FormView control (fvCityLookup) that is nested inside another FormView control (fvMain)...

Part and Inventory Search

Back
Top