13,153 Topics

Member Avatar for
Member Avatar for Dipanjana

Hi . I have an employee table with fields Employee Id, Employee Name, Address,Salary , Department ID and department table with fields DeptID,DeptName. I have added a data grid control with the columns showing Empname , address , salary,DeptName and Edit and Delete columns . I have inserted image using …

Member Avatar for AleMonteiro
1
1K
Member Avatar for JerrimePatient

When Im working out on MVC edit. It shows that `it must be a date`. How can I resolve This?

Member Avatar for pritaeas
0
108
Member Avatar for JerrimePatient
Member Avatar for pritaeas
0
345
Member Avatar for JerrimePatient

Here's my product table. [id, name, price, description, unit] For example. I want to edit only the name and description. How can I do it in mvc?

Member Avatar for JerrimePatient
0
252
Member Avatar for mania_comp

I want to send email in asp.net using my yahoo account I want to the know the SMTP server name of yahoo and the port number to use . Like for gmail i know .its "smtp.gmail.com" and port 587 Whats in case of Yahoo...?? In gmail its free to send...Is …

Member Avatar for Sree_1
0
1K
Member Avatar for PsychicTide

Hey guys, this seems to be a thorn in my side. I've been working on scraping a website which uses aspx and has eventvalidation/viewstate inputs. Every other scraping experiment I've made was not this difficult. Maybe one of you geniuses here at Daniweb has an idea of how to solve …

Member Avatar for PsychicTide
0
907
Member Avatar for Violet_82

Hi all, I'm just redoing a very simple MVC app found on a book and I have created my model using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MvcGuestbookRevised.Models { public class GuestbookEntry { public int Id { get; set; } public string Name { get; set; } public …

Member Avatar for Violet_82
0
243
Member Avatar for overwraith

So I am having trouble connecting to an Oracle XE 11g database in visual studio. The Ultimate aim here is to make a webpage I can run on my local machine and send sql to on my local net. From looking around it seems other people have had this problem, …

Member Avatar for DaveAmour
0
230
Member Avatar for Swatantra_1
Member Avatar for dbissu2

I need to ScriptManager.RegisterStartupScript(this, GetType(), "getTextValue()", "getTextValue();", true); this value in variable

Member Avatar for AleMonteiro
0
126
Member Avatar for pritaeas

Am currently trying to use the Web API and accept a HTTP POST containing an XML. I was under the impression that this could be automatically deserialized into an object, but I am missing something. public class Item { public int Value { get; set; } } This one works, …

Member Avatar for pritaeas
0
221
Member Avatar for mrkm1188

I have a GridView that is populated with information froma sql table. The first column of the table has a number (0,1,2,etc.) that corresponds to a folder on the network that contains multiple documents. After the table is generated with all the information from the sql table, I want to …

Member Avatar for djjeavons
0
140
Member Avatar for coder91

I need a timer of some sort so that my program will send a batch of files every 10 seconds. Not sure if I can do this using threading? or maybe theres some other method. Just looking some advice as to what would be the best option. At the minute …

Member Avatar for pritaeas
0
129
Member Avatar for coder91

I have a folder that contains x amount of files with different extensions, I need a way to retrieve all the files with the name 0000001 regardless of their extension, i then have to work with these and then retrieve all files with the name 0000002. I know I can …

Member Avatar for gusano79
0
126
Member Avatar for coder91

I have an integer that must remain 8 digits 00000001, it must remain 8 digits after incrementing it. I had it declared as an integer but it wasnt recognising the leading zeros so I have changed it to a string however I need to increment the digit which i cant …

Member Avatar for coder91
0
637
Member Avatar for Heanre

I am just learning Aspx using Visual Studio Community 2013 today. While i was able to make the debugging process faster for 5 seconds,still, i had to close the current tab of the website, then hit debug or start without debugging again. Is there a way that if i make …

Member Avatar for pritaeas
0
146
Member Avatar for JerrimePatient

Seriously, I don't know how to use ado.net in MVC, any one how to use aso.net in MVC? any comment is appreciated.

Member Avatar for DaveAmour
0
249
Member Avatar for JerrimePatient
Member Avatar for JerrimePatient
0
187
Member Avatar for get2tk

having problems with this codes. When tested it keeps giving me the error message "Your message failed to send, please try again. " using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Net.Mail; using System.Net; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, …

Member Avatar for DaveAmour
0
1K
Member Avatar for Nada_ward

Hello How I can retrive table names from SqlData base I Just connect to DB. and now I want to display all tables name in combobox. how I can do that?? thanks

Member Avatar for Karthic_1
0
2K
Member Avatar for TobbeK

Hello, I'm playing with some RSS functions, and I like to fetch/extract the (image:thumbnail) url from the CNN RRS Feed: http://rss.cnn.com/rss/edition.rss In this (and other) RSS feeds there can be mediafiles (image:thumbnail) that seems to be impossible to grab and display together with the rest of the feed output. The …

Member Avatar for TobbeK
0
314
Member Avatar for nimz143

Hello. I would like to ask on how to make a multiple of line for label control. I want to create the code, where when the user key in the value in textbox control, it will display on a multiple line. ![2.PNG](/attachments/large/4/c5c95915ac6ea04ae8a7d51eb1eabba8.PNG "align-center") ![1.PNG](/attachments/small/4/15eb5b804dd55090dbc513fbc208501f.PNG "align-center") Or it has any other …

Member Avatar for AleMonteiro
0
155
Member Avatar for muhamadtaufiq.zaki

I want to ask how to update data in database? I'm using the code as the below. string value1 = TextBox1.Text; string value2 = TextBox2.Text; string value3 = TextBox3.Text; string value4 = TextBox4.Text; string value5 = TextBox5.Text; string strsql = "Update Form Set Name='" + TextBox2.Text + "', Designation='" + …

Member Avatar for Stuugie
0
242
Member Avatar for nimz143

Hi all :) I'm using VB 2008 and VB.NET I have a database data. Each column namely as name, age and hobby. For 1 person have more than one hobby. Each time user key in the name, it will directly display their age and hobby. So, I need to loop …

Member Avatar for DaveAmour
0
122
Member Avatar for Violet_82

Hi guys, does anybody know how to download a MVC project from GitHub and get it to work in Visual Studio? I'm following a MVC tutorial and these are the various modules of the projects https://github.com/jongalloway/MVA-Introduction-to-ASPNET-MVC and I'd like to get them out of there, on my computer and use …

Member Avatar for DaveAmour
0
299
Member Avatar for coder91

Hi, I have a project where I have to retrieve a list of files and send each file to the database every 10 seconds. Want I was wanting to know is how I can access the files to be able to send them to the database. Can I store them …

Member Avatar for AleMonteiro
0
125
Member Avatar for erum

Can any one suggest me to access db from MVC WITHOUT Entity framework..I need tutorial ..

Member Avatar for erum
0
97
Member Avatar for vinod.p

The multi-part identifier"er.vinod.sharma@gmail.com" could not be bound

Member Avatar for JorgeM
0
70
Member Avatar for coder91
Member Avatar for coder91
0
99
Member Avatar for coder91

Hi, for the project I am working on I have four folders all which have 650 xml files in them, I need to write a program that will take the first file from each of the folders and send them to a database where the results from the xml will …

Member Avatar for pritaeas
0
126

The End.