Advancesharp :: Get expert's answer of your question

Category: Home > Programming Tutorial > CSharp

Advance Sharp is a question answer site maintained by it's users or you can say the place to help a programmer by other programmers. It's free and will always be free.

Date Added: Sep 14, 2013
Clicked: 19
Visitor Review  Write a review

Guru on 19 Feb 2014 06:01 reply


I am very new for c#. I have a doubt in sql connection. In my application has more then 10 form. I write sqlconnection datasource in each form. Is this correct. How can i deploying sql database


Ayush on 16 Dec 2014 07:25 reply

how to download and show the audio, video file in repeater?


Ayush on 16 Dec 2014 07:50 reply

1. go to web.config:

<add name="connection" connectionString="data source=.SQLEXPRESS(server name) ; Integrated Security=SSPI;Initial Catalog=DataBase name ; AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>

2. Go to your form:

string myconnection = configurationmanager.connectionstrings("connection").connectionstring;
sqlconnection mycon = newsqlconnection("myconnection");


bisrat on 14 Apr 2016 08:22 reply

about c# tutorial i need some explanation about this programming language to develop application

Write a review