2
Answers

In GridView i want to add new roa and wnat to save the data into the database.

Photo of narasiman rao

narasiman rao

12y
1.8k
1

I am doing the application in asp.net using grid view and save that data into the data base.

In GridView i want the following design as follows;

 Sno      Name      Age       Address
textbox  textbox   textbox     textbox
textbox  textbox   textbox     textbox
textbox  textbox   textbox     textbox
                      AddNewRow      Insert
                        (Button)          (button)
I want when i  click the AddNewRow (Button) another row to be added in the gridview and when i click the Insert (Button) the inserted data to be saved in the database.

for that i want to do the code and send the source code also.please help me.
 

Answers (2)

0
Photo of David Johnson
NA 26 0 16y

You can fix this with one of several solutions

Have your Sys Admin set up a service user and have them ONLY grant access to the two paths  so domain\ServiceUser has access to \\Server1\share and \\Server2\share then run the service as that user

Second you can run the service as Local System Account and grant the machine access to both paths

Third Have the Service run on Server1 and use a filesystemwatcher to activate the service and then you ONLY have to grant access to server 2

FileSystemWatcher MUST run on the server it is monitoring to run successfully and reliabley

These are just a couple of the ways to Fix this

 

 

 

0
Photo of Scott Lysle
NA 28.5k 14.4m 16y
It might not be the party-line way to go but I found the easiest way to handle this particular issue is to set up a virtual directory pointing to the location you want the service to access, and then setting up the permissions to give the windows service account credentials read and/or write access to that virtual directory.