+ 1

Database

Can we use common database for website(ASP.NET) and android application?? If yes then how??

3rd Jul 2019, 5:16 PM
nency
nency - avatar
1 Resposta
+ 1
This is easy to do. For example, you can add a PreInit handler such as the following to a Web Form: protected void Page_PreInit(object sender, EventArgs e) { if (Request.Browser.IsMobileDevice) MasterPageFile = "~/Mobile.Master"; } Now, create a master page called Mobile.Master in the top-level folder of your application, and it will be used when a mobile device is detected. Your mobile master page can reference a mobile-specific CSS stylesheet if necessary. Desktop visitors will still see your default master page, not the mobile one.
3rd Jul 2019, 6:18 PM
PRIYANK TRIVEDI
PRIYANK TRIVEDI - avatar