skip to Main Content

How to Correct Error in ASP.NET Core Application with C#

I got this error "Format of the initialization string does not conform to specification starting at index 0." while migrating. my connection string given in appsettings.json "ConnectionStrings": { "DefaultConnection": "Data Source=LAPTOP-P08F3TG1/ckary;Initial Catalog=Product;Integrated Security=True" }, ApplicationDbcontext.cs public class ApplicationDbContext:DbContext { public…

VIEW QUESTION

Can I call a JS func. after loading inside an UpdatePanel?

I can not call javascript function after page load inside update panel: Here is my UpdatePanel: <asp:UpdatePanel ID="UpdatePanel1" UpdateMode ="Conditional" runat="server" > <Triggers> <asp:AsyncPostBackTrigger ControlID="ButtonLoadGridView" /> </Triggers> <ContentTemplate>` My Button: protected void ButtonLoadGridView_Click(object sender, EventArgs e) { GridView1.DataSource = "dsData";…

VIEW QUESTION

Can you submit a form in ASP.NET w/o an ?

Suppose I have this form: <form id="myForm" runat="server"> <!-- Form content goes here --> <a type="submit">Submit</a> </form> I want to use the anchor link to submit the form,but cannot find how. I tried adding OnServerSubmit() as an attribute to the…

VIEW QUESTION
Back To Top
Search