13,153 Topics

Member Avatar for
Member Avatar for Drempan

My ASP.NET site coded in C# is running fine on my local system but when I uploaded the files on the httpdocs folder through plesk/ I have a shared accounts at http://hostforlife.eu and I got the following error: Server Error in '/' Application. ________________________________________ Compilation Error Description: An error occurred …

Member Avatar for Robert_10
0
721
Member Avatar for nimz143

Hi all :) I'm using visual studio 2008 and vb.net. Basically, I want to create a program where when user choose and click the item on this box, the number of item will be display on the next box. I'm just wondering, what type of control that I can use …

Member Avatar for nimz143
0
99
Member Avatar for goody11

I am just starting a new WPF project using MVVM as a general guideline. The application will have a ribbon; when you switch between tabs, there will be different buttons that spawn dockable windows in the content pane below the ribbon. This part is done. Now, each of those windows …

Member Avatar for JOSheaIV
0
564
Member Avatar for gcardonav

I created a sample webservice that will ask the user for some information and return in JSON form all the information required. I have two issues here 1. I don't want to make it required that the user enter bot the new dates and renewal dates, I want to make …

Member Avatar for pritaeas
0
835
Member Avatar for someoneelse

I need help with .net c# screen scrape. I can't seem to find an example in c# that works. I have this one in VB that wors but feel like an idiot bc I can't convert it correctly... <%@ Import Namespace="System.Net" %> <script language="VB" runat="server"> Sub Page_Load(sender as Object, e …

Member Avatar for tobyITguy
0
393
Member Avatar for joshl_1995

Hello Daniweb Community, I'm wanting to slice a square image into 9 pieces like below ![Image_Grid_Expected.png](/attachments/small/3/92037daf6101645e42f7718c3f4ccf65.png "align-center") the code I'm currently using is this Private Function CropBitmap(ByRef bmp As Bitmap, ByVal cropX As Integer, ByVal cropY As Integer, ByVal cropWidth As Integer, ByVal cropHeight As Integer) As Bitmap Dim rect …

Member Avatar for joshl_1995
0
1K
Member Avatar for gcardonav

Hey everyone, First of all I am a one-week self taught when it comes to web service so pardon if this is a duh! question. I was given a sample Web Service and aske dto re-create it a new one from scratch. I have been able to understand and apply …

Member Avatar for tobyITguy
0
262
Member Avatar for mani508

hello i want to get tweets from twitter in asp.net. how can i use streaming API in asp.net. please send me source code of sample streaming API of twitter with asp.net using c#. i am using asp.net webform microsoft visual studio 2008. Thanks in advance.

0
95
Member Avatar for Mihailo_1

I have 1 gridview with big table...colums:k,mi,ib and 3 textbox...texbox1 is first column,textbox2 is second and textbox3 is third! I want when i type some number in textbox1(That number is K),i want to textbox2 and textbox3 give me value of mi and ib in same row as k...but i got …

Member Avatar for Mihailo_1
0
258
Member Avatar for batoolhussain

hi everyone. I have this code to retrieve image from sql server using asp.net with vb, the problem is the image cannot display in the web page and I don't know what is the problem can you please help me.` Imports System.Data.SqlClient Imports System.IO Imports System.Drawing Public Class _Default Inherits …

Member Avatar for David_50
0
189
Member Avatar for batoolhussain

hi everyone. I have written a program that convert from color image to gray image in asp.net with visual basic, but I have a problem am new in asp.net and I want to display the gray image but I don't know how. please help me. this is a code. If …

Member Avatar for madCoder
0
245
Member Avatar for karsnaritz

Hallo, My site host at [asphostportal.com](http://www.asphostportal.com). I added captcha and also added Refresh button but after refresh click than whole page are refresh so i want stop whole page not refresh in MVC4 Razor control. Any body can help me..

0
58
Member Avatar for JerrimePatient

for example. name of field: f1 = "field1", f2 = "field2", f3 = "field3", f4 = "field4" how can I update the value of f2 and f3 without changing the value of f1 and f4. f2 = "new field2", f2 = "new field3" the new value of fields are. f1 …

Member Avatar for JerrimePatient
0
322
Member Avatar for philjen

Hi Im a newbie in asp.net, im a php programmer though, and i've been working on a pop up div with a search engine on it, in php i have no problem working with json but in asp it took me already two days to find a similar problem, yet …

Member Avatar for philjen
0
642
Member Avatar for game4tress

I'm using linq on a array and I need to find the index of the linq result. Is this possible? how? My thanks in advanced. This is my code: Vector3[] vertices=mesh.vertices; var V3=(from cur in vertices where (cur.x==point.PointX) && (cur.y==point.PointY) select cur).FirstOrDefault();

Member Avatar for ddanbe
0
281
Member Avatar for JerrimePatient

Action link in my nav menu <li>@Html.ActionLink("Log Off", "Logout", "Account")</li> My Logout.cshtml codes. @{ ViewBag.Title = "Log Out"; Session.Clear(); FormsAuthentication.SignOut(); Response.Redirect("~/../Home/Index.cshtml"); } Why I can't access my logout form?

Member Avatar for DaveAmour
0
176
Member Avatar for batoolhussain

hi everyone. I have question, I have project I write in vb.net 2010, I want to translate this code to asp.net with vb but I don't know how and I try to learn the asp.net but my project is about image and the books that try to learn it talk …

0
72
Member Avatar for Violet_82

HI all, I have a question about how Entity Framework deals with databases and models, especially when it comes down to change your model after the database has been created. Let's look at a very simple example. I have an EmployerDetails class as below: using System; using System.Collections.Generic; using System.Linq; …

Member Avatar for djjeavons
0
430
Member Avatar for nimz143

i want to make an application, where user can upload their images and display it in Image control without physically saving it in a folder on disk. after done build the cone, an error show on this line. Dim base64String As String = Convert.ToBase64String(bytes, 0, bytes.Length) Error show on the …

Member Avatar for nimz143
0
348
Member Avatar for nimz143

Hi! I'm using Microsoft Visual Studio 2008, Microsoft SQL Server Management Studio. I need help. I cant figure out this if else statement for this condition: ///to check condition either the way ID exist in database ///if not exist then way ID can be delete ///if exist, message box appear …

Member Avatar for nimz143
0
160
Member Avatar for nimz143

Hi all :) Before i'm starting futher more about my problem. lets me tell a short description about my program. user will choose path ID (retrieve all this data from table TPATH of database SDO) that they want to delete. before the path ID would be delete, it will compare …

0
235
Member Avatar for nimz143

Hi all. As mention on the title above, i got an error `Fill: SelectCommand.Connection property has not been initialized` Anyone here have any idea or suggestion on how to solve this error? My code (.aspx.vb) for this program Protected Sub btnDelete_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnDelete.Click …

Member Avatar for nimz143
0
1K
Member Avatar for G_Waddell

Hi all, I've searched in the ASP.Net and AJAX forums but I can't see any matches to this issue. The reason I'm posting in the ASP.NET forum is that the Error is being caused by my ASP.NET designer page. Myself and another developer are both working on different parts of …

Member Avatar for G_Waddell
0
303
Member Avatar for batoolhussain

hi everyone. I want to retrieve image from sql server database using asp.net with vb, but the image is not display and I don't know what is wrong with my code. please help me. Imports System.Data.SqlClient Imports System.IO Imports System.Drawing Public Class _Default Inherits System.Web.UI.Page Public sqlcon As SqlConnection = …

Member Avatar for G_Waddell
0
335
Member Avatar for Nigusasres
Member Avatar for erum

i have following code @model EMS1.Models.UsersViewModel @{ ViewBag.Title = "List of users"; var grid = new WebGrid(source: Model.users, canPage: true, rowsPerPage: 10); grid.Pager(WebGridPagerModes.All); } @{ ViewBag.Title = "IndexViewModel"; } <script src="@Url.Content("~/Scripts/jquery-1.6.1.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script> <h2>Grid</h2> <style type="text/css"> .table { margin: 4px; border-collapse: collapse; width: 300px; } …

Member Avatar for erum
0
211
Member Avatar for Elize87

I did publish to a local file on my computer. When I tried to upload the files Compiled to my hosting using FileZilla, the project uploaded successfully but i get an error on the first page as below: Parser Error Description: An error occurred during the parsing of a resource …

Member Avatar for pritaeas
0
297
Member Avatar for batoolhussain
Member Avatar for batoolhussain
0
226
Member Avatar for Dipanjana

Hi. I have created two tables :Artist and Song .Artist table has fields Artistid and ArtistName and Song table has SongID, Lyrics,Description and Artistid as the secondary key.I have a web form to add new artist containing a textbox and submit button . The code is as below : <head …

Member Avatar for Dipanjana
0
946
Member Avatar for coder91

Hi I have the following code to insert data into a db int svcTypeID = Convert.ToInt32(comboBox1.SelectedValue); String svcGuid = label2.Text; int heartbeat = Convert.ToInt32(textBox1.Text); String hostname = System.Net.Dns.GetHostName(); Guid gu = new Guid(svcGuid); SqlConnection conn = new SqlConnection(@"Data Source=x\x;Initial Catalog=task_system;Integrated Security=True"); SqlCommand cmd = new SqlCommand("storedProc"); cmd.Connection = conn; cmd.Parameters.AddWithValue("@guid", …

Member Avatar for coder91
0
211

The End.