Jump to content
Xtreme .Net Talk

remondo

Members
  • Posts

    3
  • Joined

  • Last visited

remondo's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi everybody, Is it possible to write a windows application that has internet connectivity and able to access a remote database? I want to avoid using a web application because the postbacks are making the program very slow. I'm not an expert in Javascript eiher so i'm thinking of a windows application. What do you think?
  2. Hi everybody, please help... So here's the scenario, I have populated a Generic List with strings from an SQL Select Command. Then using Javascript, i want to retrieve certain elements from the Generic List variable. In server side, you can access the List in a syntax like this: stringvariable = mylist.Item(5) '5 is the element number In Javascript, you can access variables (not list types or array types) in something like this var jvar = <%= aspvar %> 'where aspvar is an asp .net variable I have tried retrieving an element from an asp .net in some code like this: var jvar = <%= mylist.Item(5) %> this works just fine. But of course, i want to be able to control which element i want to retrieve. I don't want to retrieve the 6th element all the time :-). The problem with the code above is that it doesn't recognize Javascript variables inside the <% %> tags. So if there could be ways to put in Javascript variables inside the <% %> tags then I could now control it perfectly.
  3. I have created a GridView that selects data from a MySql database via ODBC 3.51 The select command works just fine as the table is being displayed properly. However, i do not know how to set the Update command manually. [You can't seem to be able to get the update feature by merely clicking on the checkbox in the advanced button - you have to do it manually if you're using ODBC]. some of the commands i've tried and didn't work are: (just look at the updatecommand) #1 ProviderName="<%$ ConnectionStrings:bionicConnec... %>" SelectCommand="SELECT supplier_id, supplier_name, supplier_address1 from suppliers" UpdateCommand="update suppliers set supplier_name=:supplier_name where supplier_id=:original_supplier... > #2 UpdateCommand="update suppliers set supplier_name=@supplier_name where supplier_id=@suppliersupplier_... #3 UpdateCommand="update suppliers set supplier_name=? where supplier_id=?" Please help! I'm going nuts with this problem :-)
×
×
  • Create New...