Hi all
I have to make a WebPage with Django. It must be possible to connect from 
the page to the mssql database. i have an odbc program know atm, and this 
works...
-----
import pyodbc
 
cnxn = pyodbc.connect('DRIVER={SQL Server}; 
SERVER=MAURITIUS;DATABASE=baan5c;UID=portal;PWD=P0rtalReader')
cursor = cnxn.cursor()
 
cursor.execute("SELECT x.t_name, y.t_mail FROM tttaad200000 as x, 
tttcmf200000 as y WHERE (x.t_name = y.t_name) AND (x.t_user = 'niedereh')")
row = cursor.fetchall()
if row:
 print row
-----
How i have to make the page, that i can change UID, PWD and the filter with 
a textfield and how can i make the field for the data output from server?
 
I know now only how to draw up the page thx 
http://www.djangobook.com/en/2.0/index.html i worked chapter 1-3 but i have 
not more time... :(
 
i hope you can help me...
greeze Markus

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/JKtPhUUvfmIJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to