2
Answers

how to add or delete row to the datagrid after clicking a button in silverlight

Photo of Ashwini

Ashwini

13y
2.5k
1
hi, i am working on silverlight datagrid view, here iam using two buttons one is ADD Row button and one more is REMOVE Row button. after clicking ADD Row button the row should be added to the datagrid, if i click on REMOVE Row button the selected row should removed from the datagrid. how to do this? please someone can help me how to do this using silverlight application

Answers (2)

0
Photo of Mark Conway
NA 10 11.5k 14y

Just confirmed this is the c onnection string that the server is using: <add connectionString="Server=ASEGH-SQL-T09\BackOffice;Integrated Security=SSPI;database=AsosBackOffice;" name="DBConnectionString"/>
I have good and bad news:
The good news is it just started working
The bad news is, i have no idea why. I didn't make any significant changes so i'm assuming that something has changed in my domain's active directory and allowed it to correctly look up my current user account.
0
Photo of Suthish Nair
NA 31.7k 4.6m 14y

can you recheck your connection string: http://www.connectionstrings.com/sql-server-2008

Another way to find the connection string. Drag and drop an dropdownlist on page.

Try bind the control with table data. You can find the actual connection string in web.config.
0
Photo of Mark Conway
NA 10 11.5k 14y
Thanks for the prompt reply. However this article does not explain why it is using an unexpected windows identity. If it uses the correct user (ASSEENONSCREEN\MarkC) then it will log on fine.
0
Photo of Subhendu De
NA 3.7k 292.3k 14y