M
mattdaddym
Hi all,
I have a situation where my users query an LDAP directory which I feed
into a datatable and then display into a gridview (is there a better
way?) I have added a column to the gridview with an "ADD" command. When
it is clicked, the information is going to be written into a SQL
database. Of course, more is to be done with this data later, but for
now I am stuck. I have tried programatically reading the row and cell
of the gridview and inserting into the sql database via a sqldatasource
but I am having all kinds of problems. I guess my 1st question is am I
approaching this problem the right way in your opinion. 1) query and
display ldap results 2) allow user to select a result 3) write result
to sql database.
I know I have shown my code here (it is a mess). I'm looking for some
guidance as to how I should try to accomplish this first.
I hope I was clear on the problem. Thanks.
I have a situation where my users query an LDAP directory which I feed
into a datatable and then display into a gridview (is there a better
way?) I have added a column to the gridview with an "ADD" command. When
it is clicked, the information is going to be written into a SQL
database. Of course, more is to be done with this data later, but for
now I am stuck. I have tried programatically reading the row and cell
of the gridview and inserting into the sql database via a sqldatasource
but I am having all kinds of problems. I guess my 1st question is am I
approaching this problem the right way in your opinion. 1) query and
display ldap results 2) allow user to select a result 3) write result
to sql database.
I know I have shown my code here (it is a mess). I'm looking for some
guidance as to how I should try to accomplish this first.
I hope I was clear on the problem. Thanks.