13,153 Topics

Member Avatar for
Member Avatar for KushMishra

Hi All, I would appreciate if someone could please answer to the following queries. 1. Difference between "new" and "new virtual" when deriving classes from other classes. 2. Difference between Abstarction and Encapsulation (with example, if possible). 3. Types of constructors and their implementations (when and how to use). 4. …

Member Avatar for KushMishra
0
379
Member Avatar for Stat_1

XML File :http://goalserve.com/samples/soccer_inplay.xml Model: [XmlRoot(ElementName = "localteam")] public class Localteam { [XmlAttribute(AttributeName = "name")] public string Name { get; set; } [XmlAttribute(AttributeName = "goals")] public string Goals { get; set; } [XmlAttribute(AttributeName = "id")] public string Id { get; set; } } Controller: XmlDocument doc = new XmlDocument(); List<Localteam> s …

Member Avatar for rproffitt
0
1K
Member Avatar for Alv45525

Hello experts, I have to write a sql joining 6 tables. to retrieve classid, planname, workoutname,date,timeslot,status,staffemail and display them to a gridview. the tables are as below **tblclass** having columns *classid(PK)*, planallocationid*(FK to tblallocation)*, date, timeslotid*(FK to tbltimeslot),*status, staffid*(FK to tblstaff)* **tblallocation** having columns *planallocation(PK)*, planid*(FK to tblplan)*, workoutid*(FK to …

Member Avatar for xrjf
0
432
Member Avatar for Alv45525

Hi i have a gridview displaying data at page load and i added a column delete. i have the primary key of the table displayed in the gridview as foreignkey in another table. so i cannot use wizard to just type my SQL in delete command. Can someone please help …

Member Avatar for xrjf
0
160
Member Avatar for Alv45525

Hi guys, i have a login page where i created a session trainer after login. the session is the mail address of the trainer. now from another apsx page, i would like to retrieve the staffid of the user logged in using the session as criteria. I tried to write …

Member Avatar for xrjf
0
321
Member Avatar for Alv45525

Hello , i kinda need some help here. The below code is to check if a category already exists before adding it to the table category. If ever i insert a category that already exists, if gives me the message that it already exists. The thing is that if it …

Member Avatar for Alv45525
0
453
Member Avatar for Muhammad_139

Helo there! I have a single form application and i want to do if click the application then its will save on a custom path which i want. And don't want to make install applicaiotn which will ask next next etc. Directly from app will save in a custom path. …

Member Avatar for xrjf
0
98
Member Avatar for HaxNain

How to set value from code to an asp.net TextBox with TextMode=Time? i want to set current time to textbox of textMode=time..

Member Avatar for rproffitt
1
227
Member Avatar for _1_14

I work in MVC 5 c# in visual studio 2015 web applications I have table pictures in SQL server 2012 have two fields ID Image ID have number of image inserted like 1,2,3,4,5 Image field store picture added what i need actually browsing images found in table pictures in database …

Member Avatar for _1_14
0
173
Member Avatar for Krunal_3

Hello, I have requirement to read MS Word file data using DevExp and then loop through the content and save content to DB. how can I do it with DevExp? Thanks, KK

Member Avatar for rproffitt
0
174
Member Avatar for kgenn

hi! ;) I just want to asked on how I can set the image as background. I put an image on the working station but once I run it, it doesn't appear on the browser. thanks. I'm using Visual Studio 2008 ;)

Member Avatar for diafol
0
6K
Member Avatar for John_155

please I'm a student of standard institute of tech.. studying comp. sci., we've been asked by our lecturer that all of us should look for all way to view answer on an online CBT(Computer based testing) test which is powered with asp.net, js, HTML, css. plz I'll really appreciate your …

Member Avatar for Reverend Jim
0
223
Member Avatar for tenten..

hello expert, i have three dropdownlist option consist of two string and one datetime that convert into string. If i want to choose first and second dropdown without the third one which is datetime, it occur error "the string was not recognized as a valid datetime. there is an unknown …

Member Avatar for Raj chanda
0
2K
Member Avatar for Naters_uk

I am creating a update member page. I would like the page to auto retrieve the information he or she originally used while registering on my site and display them into the individual textboxes of the update profile page, this is to prevent the hassle to rekey in every individual …

Member Avatar for ajeet_4
0
2K
Member Avatar for Daniel_51

How to zoom to the cursor position after the graphics component has been transformed? I want to be able to zoom to any of the test rectangles. The panning is done with the Middle mouse button. MouseWheel Event handles the zooming. Ignore the DrawGrid method, it's just to get some …

Member Avatar for Xavier_5
0
734
Member Avatar for Clif40RD

Hi Guys, I have a data bound grid-view with action buttons for updating and deleting items in a users shopping cart. The grid-view uses a 'SelectMethod' in the code behind to generate the data. The problem I'm having is that every time I edit some data in the grid-view, the …

Member Avatar for ddanbe
0
1K
Member Avatar for jeffersonalomia

How do facebook, twitter, and other social media app store the data of the user's chat history or chat log? Is it on the database or on a separated file? How can i create a professional chat application on my website?

Member Avatar for pty
1
374
Member Avatar for Twee Nguyen

I would like to show content of a table in SQL database to a gridview in C# project, but there is a trouble, the gridview shows nothing. could you please help me to fix it! Thanks. Here is my code: protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { …

Member Avatar for deceptikon
0
377
Member Avatar for DATAMART

How do i host my asp.net website online ? Another Question Are there free servers for asp.net ?

Member Avatar for Dani
0
87
Member Avatar for Amr_3
Member Avatar for Blueie

Hello In this line of vb.net code (ASP.NET): `Dim HtmlMessage As AlternateView = AlternateView.CreateAlternateViewFromString("Hello <%= strEmailValue %>",<br /><br /> "To reset your password, please click on this <a style="color:#22BCES5" href="">link.</a>, Nothing, "text/html"<br /><br />")` I get an error here '*>*' (just before "To rest your password...") - it says 'Expression …

Member Avatar for rproffitt
0
236
Member Avatar for gkumaravel

I want to Develop custom mail client using Asp.Net MVC and C# For my own mail domain (for ex:- myname@mydomain.com) I don't know Is this Possible or Not ? because I am very new to .Net Web Applications If it is Possible I want the following features **1. Send & …

Member Avatar for Dani
0
490
Member Avatar for Amr_3

I am creating a web service to interact with a database and it is supposed to perform the CRUD operations. Right now it works fine with the read and post operation the WCF service supposed to have a method that is called from within jQuery whenever the page completes load …

Member Avatar for Amr_3
0
308
Member Avatar for tangara

Hi, Currently, I am stuck with this problem whereby I do not know how to make my text disappear with a click of radio button event. To start with, the data is being drawn out using Store Procedure and the data appeared inside the textboxes when user selected a item …

0
150
Member Avatar for mldardy

Need on the best way to going about programming this in c#. I'm trying to do an if record exists update statement else insert statement: OracleConnection con = new OracleConnection(strConnection); con.Open(); OracleCommand check_RID = new OracleCommand("SELECT COUNT(*) FROM CONTRACT_INFO WHERE (rid = @rid)", con); check_RID.Parameters.Add("@rid", labelRID.Text); OracleDataReader reader = check_RID.ExecuteReader(); …

Member Avatar for lolafuertes
0
347
Member Avatar for lithium112

I have a SPA which uses an AngularJS front end and C# back end. The issue I'm having is when I navigate to the login page, it is using @Html.Partial("_LoginPartial"). The url then becomes .../Account/Login. When I click on say the "About" tab, this uses an AngularJS route which in …

Member Avatar for vsmash
0
224
Member Avatar for sganandhsg

Hi All, We are using zetta cube with asp.net and vb.net (coding) in 3.5 framework / VS 2008 from 2010. Its working fine. Just 3 months back we are upgraded to IE11 (Edge mode) at the time of upgrading we faced some of UI issues and resolved the same. The …

Member Avatar for rproffitt
0
439
Member Avatar for Link_1

I am using VB **Problem: **when i click on sort col and click on refresh button, than i get popup browers message "To display the webpage again, the web brower need to resend the infomation you've previously submitted." **Recreate this problem**: click on sorting col of gridview -> refresh page …

Member Avatar for Link_1
0
300
Member Avatar for Clif40RD

Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly …

Member Avatar for Xavier_5
0
2K
Member Avatar for man.chester.581
Member Avatar for Dani
0
154

The End.