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 strongm 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: *

  • Users: vcllvc
  • Order by date
  1. vcllvc

    different between "clientID", "ID", "uniqueID"

    what's the different between "clientID", "ID", "uniqueID" in asp.net and html?
  2. vcllvc

    datagrid checkbox javascript

    I have a datagrid, each row contains 4 checkboxes columns and 2 text columns (customer type and customer name). I need to use javascript to do some validation on the checkboxes. The validation is when a checkbox is checked, then base on the customer type of that row, and go through all the rows...
  3. vcllvc

    Remote desktop within LAN is not working

    ok, finally got some progress. I can remote desktop to another computer using the ip address, but I can't use the machine name. It seem it is a DNS issue. I did ipconfig /flushdns, but that doesn't help. Any other though?? Thanks.
  4. vcllvc

    Remote desktop within LAN is not working

    I think it's dynamic. I am using cable modem and the network connection details show the default gateway is 192.168.2.1; DNS serve also 192.168.2.1; also there are lease obtained and expires dates.
  5. vcllvc

    Remote desktop within LAN is not working

    I try pc name and ip address(192.168.x.x), both don't work. But I can ping them with both pc name or ip address. There is one thing I don't know why is when I ping another machine using the pc name, it doesn't show the internal ip address (192.168.x.x), it show something 209.86.x.x. It only...
  6. vcllvc

    Remote desktop within LAN is not working

    I checked it. It's off. Any other thougts.
  7. vcllvc

    Remote desktop within LAN is not working

    I am getting this error message, "The client could not connect to the remote computer", when I try to remote desktop to another computer within my home network. The thing is it was working about a month ago, and I didn't remote desktop for a while, then now it doesn't work. I tempory disabled...
  8. vcllvc

    datagrid hide customer id on each row

    i have a customer object which has custID, custName, custAddress and I need to bind the customer collection to a datagrid. But I only want to show the custName, custAddress and a template column with a radio button for each item. So when the form postback, how do i find out which custID...
  9. vcllvc

    decision to add objects to different httpcontext

    can someone give me some guideline about when to add objects to either session, HTTPContext.Items, or Cookies? What is the best practice on that? Thanks in advance ! Vincent
  10. vcllvc

    datagrid paging question

    thanks adamroof. your post make me think about my code again. It turns out the grid is ok; I was doing something stupid. I used the selectedIndex and retrieved the data from the underlaying datatable, not the selectedItem. What a catch!!
  11. vcllvc

    datagrid paging question

    i have a datagrid which allows paging, I am able to click on next page, and rebind the data and show up the next continue rows on next page. But the problem is the rows are also selectable, when I click a select on a row, the selected row is actually the 1st page's row. Do I need to implement...
  12. vcllvc

    how to pass in parameters in sqldatasource

    this is the dataSource code: <asp:SqlDataSource ID="sqldsMainProducerStatement" runat="server" ConnectionString="<%$ ConnectionStrings:OleDBConnectionString %>" OnSelected="sqldsMainProducerStatement_Selected" OnSelecting="SqlDataSource2_Selecting" ProviderName="<%$...
  13. vcllvc

    how to pass in parameters in sqldatasource

    the situtation is that if I only call 1 stored procedured within the sqldatasource is fine, but if I try to call two SP within the datasource, it gives me a hard time.
  14. vcllvc

    how to pass in parameters in sqldatasource

    actually, i can't. The connection is OleDB, and if I use SQLParameter, it will give me the following: "The OleDbParameterCollection only accepts non-null OleDbParameter type objects, not SqlParameter objects. "
  15. vcllvc

    how to pass in parameters in sqldatasource

    oh, sorry, the dealerCode is assigned. protected void SqlDataSource1_Selecting(object sender, SqlDataSourceSelectingEventArgs e) { string dealerCode ="12345"; e.Command.Parameters.Add(new OleDbParameter("@dealer", dealerCode)); } But the problem doesn't resolve. any thoughts??
  16. vcllvc

    how to pass in parameters in sqldatasource

    I need to create a sqldatasource which connect to SQL Server 7 using OLEDbDataSource. The select involves two stored procedures and each procedure takes a parameter. My question is how do I pass in the two parameters to the stored procedures correctly? I tried to add the following ...
  17. vcllvc

    gridview binding

    thanks.
  18. vcllvc

    gridview binding

    If I have a gridview, can I bind two fields into one field like below: <ItemTemplate> <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" Text='Customer is <%#Eval("CustID") %><%#Eval("CustName") %>'> </asp:LinkButton> </ItemTemplate>
  19. vcllvc

    maniplate underlaying data of a sqldatasource

    is there a way to edit/insert the underlaying dataset/dataview of a SQLDataSource after it is bound but before a gridview binds on it?

Part and Inventory Search

Back
Top