13,936 Topics
![]() | |
How to verify email address whether exist or not in asp c#? I have search google about it, but there are no one clear's solution.. I need all help!!! Thank You. | |
This is my first time really dealing with C# i did this in VB with ASP but never with C#. What i need to do is take data that I enter into a textbox and save it to my SQL server and there is also a Image that needs to … | |
How do I restrict a user fror 10 min after running a web function before he can run it again using asp.net c# Function returns production information and need to restrict the user as the databse only updates every few min. | |
I have a table which has a field ItemsReceived of type datetime. I have a grid view which has two columns. In first column i have to show the data from field ItemsReceived and in second column I have to show difference between Currenttime and date from ItemReceived. How can … | |
Hi all, I've problem with this code: [CODE]With MenuNavCatDataSource Dim xReader As Data.IDataReader = .Select(DataSourceSelectArguments.Empty) If xReader.Read Then MenuNavCat1.Text = xReader.Item("MenuCategoryName") MenuNavCat2.Text = xReader.Item("MenuCategoryName") MenuNavCat3.Text = xReader.Item("MenuCategoryName") MenuNavCat4.Text = xReader.Item("MenuCategoryName") MenuNavCat5.Text = xReader.Item("MenuCategoryName") End If End With[/CODE] I've 5 label and I want to parse the content of the label … | |
I am getting an error when it is determining whether the username is is false or not. I am using asp.net in code-behind. It is highlighted below. If someone can tell me what the error is that would be amazing! Thank you! [ICODE]using System; using System.Data; using System.Configuration; using System.Collections; … | |
I have attached an image to the post.I want my site to come up in the search results as such ...please advise me what i should do ? | |
I can add an existing item to the solution explorer manually. But is there a way to do this programmatically (i.e., at run time)? | |
I’m trying to create Web Application using ASP.Net via Visual Studio 2010. The Database that I use is Access, with connection Method OleDb When using the query “Update” or “Delete”, the programs shows no errors, but the data in Access does not change. While for query “Select” and “Insert”, the … | |
I want to display messagebox asp page while clicking on some controls...how can i get this? | |
Hi guys, I'm having some trouble finding a control... that is because this control is on gridview witch is inside repeater (let's call it rpt1) and this repeater is inside another repeater (this one, rpt2).. I have an ItemCommand on rpt1 witch I need to catch a dropdownlist item value … | |
Hi everyone, I'm developing a WPF application for work in C# (.NET 4.0), and I've got a skins manager kind-of working. The only thing is, styles defined in my .xaml files are only applied to elements with the same classname, and don't cascade down to derived elements. Is there any … | |
As I understand VIEWS - is where the HTML. CONTROLLERS - are the methods controlling views. MODELS - is where the "querying" (SQL) that controllers used? Can I ask for a simple example on how to use this M-V-C? actually the example available didn't help much, just more questions. How … | |
Hi! I am facing a peculiar issue. I have four update panels in an aspx page and each contains a Timer with Interval increasing by 1 millisecond, each inside a webpart. The issue is the first timer is triggering correctly but when the 2nd timer is triggered then it is … | |
Hi Any suggestion on how to save an image file into mysql using the .NET api? I tried code similar to this : MemoryStream stream = new MemoryStream(); byte[] imgData; //previously available image in the program Image.Save(stream,ImageFormat.Jpeg);// saves the image into the stream imgData = stream.ToArray(); //now I have the … | |
is there any way to set time in asp.net like any gui control like we have in vb 6.0?? | |
Hi, I was wondering how can we do link previews for video link like facebook which brings video to the page once you shared the link. Thanks in advance | |
i am new to this forum. as there are experienced people in this forum so i decided to post my problem here.i live in india. i am partially red-green type colorblind. i seriously want to be an asp.net developer. can i get a job in a good company as a … | |
Hi I have a VB app which includes a small user database. This location of this database is set in registry (HKCU) and read from the client machine (actually server side code) to authenticate the user. The reason for this is that the Db is installed via a different config … | |
I've planned to do my final year project on neighbor discovery in sensor networks... I wanna know if simulation of sensor nodes is possible in C# and .net? reply me ASAP. thnx in advance | |
Here is my code,problem is i'm able to login even with wrong username and password. Can anybody tell wat is the mistake in my code.. [CODE] using System; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using MySql.Data.MySqlClient; … | |
I am sure this must be very simple, but unforunately I can't figure it out. I have the following code which populates the dropdown lists from the database. This works fine. Now, when the user selects a particular employee name from the list, I want to get the Employee Id … | |
Hi Morning all, here I've code how to insert data into multiple tables in Sql Server using asp.net C# form but the data unable to enter ang got error, may anyone help fix it form me? because i've tried so many times already but still cannot, there is the code … | |
i knew every thing about it in couple of days, and when i thought i finished the project (ASP project), i forgot about the deployment part and needed to use the database as local database (SQL server database file) the problem is i cant get the report wizard to connect … | |
hi Im developing a procedure that should write some client side objects like an array or even enforcing asynchronous postbacks to the server using jquery ajax features.Im new to this and i get some minor errors after trying out the solutins. for registerarraydeclaration this is what i have: [CODE] clientscript.registerarraydeclaration("array … | |
I am confused about how to make a button able to clear the text in all textboxes. I know in c# I can just say textbox1.Clear(); but this won't work in this case. Please someone help please! thank you! | |
This is pretty basic guys but i really dont know how to do this. okay. i have to panels on my webpage. what i need to do is i need to hide panel.. i have this [CODE] <script runat = "server"> private void hidepanel() { pnl_Add.Visible = true; pnl_List.Visible = … | |
First of all i wanted to say hello to Daniweb community because this is my first thread here. I need to design a web site that clients can easily drag & drop pre-defined user controls and create a simple web site for themselves. Users will also upload their data to … | |
Hi friends... Am using a Gridview and whenever mousehover on the row of gridview am changing the color of row. now i want to change the color of row when i select the gridview row.. how to do it... plz help me ... [code] protected void GridViewStudentList_RowCreated(object sender, GridViewRowEventArgs e) … | |
[B]CS0029: Cannot implicitly convert type 'string' to 'string[]' THIS IS MY ERROR..[/B] [COLOR="Green"]string[] names = context.Request["names"]; in this LINE[/COLOR] please help me The Language that i Used is c# .... ![]() | |
I have developed a real estate website using C# and ASP.net. My hosting providers, provide Mylittleadmin as the database manager. I was wondering, what connection procedure should I use And when I tried to connect, I got this error Object refrence not set to Instance of an object. Please help. | |
![]() | I am trying to update a row in a Gridview control whilst it is in edit mode. I am trying to extract the old data field values which have not changed during the edit process, but can't seem to find them, as the postback after clicking the edit button removes … |
Hai , I have gris fro student listing. And I need to export this list to pdf. But i get the error msg like: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified … | |
Hi All, I'm trying to bind a textbox to a listbox's selected.Content properties. The listbox displays the items as designed in the datatemplate. But I can't get a textbox to display one/any of the selectedItems properties. [B]DataTemplate[/B] [CODE] <DataTemplate x:Key="dt_Afloeser" > <Border BorderBrush="Black" BorderThickness="0.5" CornerRadius="2" Margin="2,2,2,2"> <DockPanel HorizontalAlignment="Center"> <TextBlock Name="navn" … | |
My project is on MVC... In WidgetController.cs my method is : [CODE][HttpGet] public ActionResult GetAllWidgets() { try { ViewData["WidgetErrMsg"] = ""; using (ISurveyDataRepository<Survey.Lib.Models.Widget> objWidget = new SurveyDataRepository<Survey.Lib.Models.Widget>()) { return PartialView("GetAllWidgets", objWidget.GetAll().ToList().OrderBy(x => x.RowNumber)); } } catch (Exception ex) { if (Logger.IsLoggingEnabled()) { Logger.Write(ex, "GetAllWidgets"); } ExceptionPolicy.HandleException(ex, "ExceptionLogPolicy"); return View("Error"); } … | |
I am coding a .cs file for a page that is linked to a login page. The login is in aspx.vb and I don't know how to code in vb. I do however, know how to use C# and I found out I can use .aspx.cs to more easily link … | |
Hi: I have implemented an ASP.NET PasswordRecovery control. I converted the control to templates so that I could do some minor customizations. As you know, there are three View Templates in this control: [LIST] [*]UserNameTemplate [*]QuestionTemplate [*]SuccessTemplate [/LIST] One of the things that I wanted to do was add a … | |
I am having a time trying to figuring out the routing procedure in MVC 3. I have tried the route.add and even copied the routes.MapRoute given to me by the global.asax.cs page. I get the theory of the following; routes.MapRoute("simple", "("controllername", "action", and "id")"); I have a link on one … | |
What is the solution for the exception below : "Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified." What might be the problem? | |
I have the User Control in which ajax datepicker. Many instances of this user control are used in Same page. I have handle my logic like change of one value of one datepicker can change other datepicker through JavaScript. But I have faced that I does not get any uniqueId … | |
Hello guys, I found a lot examples about this one but I still don't have it all working. So the thing is that I have a button in my C# web application called Export to Excel. The functionality should works as if the button is clicked - it just simply … | |
Hello to all, I've designed a website to provide Software and all the data is coming into the gridview.The entries in database are...... [B]SoftName : [/B] Name of the software [B]SoftType : [/B] Type of the software (like windows,mac etc.) [B]SoftUrl : [/B] Path of the software file in the … | |
I am using a gridview in my application,in gridview i am having textbox which i had created by item template,i am new in programming i have no idea how to populate the data to the gridview,the data should be displayed in the gridview and after that the user had to … | |
Hi, Im building an web application where im using number of views & stored procedure.. i just want to apply performance tuning techniques for my application. while reviewing the code, i realized that lots of my views are being called in the Code behind file of the UI..i don understand … | |
I created an asp.net login page and I have options that if the user clicks one it can go to different pages. All the other pages are written in aspx.vb but I had to write the last in .cs. I wanted to know if I could link this page to … | |
Hi, The onUnload event is triggerred both when a user clicks the 'Refresh' button(post back) as well as when the user clicks the 'X' (close browser)icon on the browser. I have to build an application in which the page may post back while drop-downlist selected index change event occurs.I need … | |
I made an asp.net application and two exe files (of my windows application) are added on button click event of my asp.net application. It works fine when i run locally but when i host this website, its not showing me exe files instead these exe files are showing in my … | |
Hi all, I want to develop a web part then convert it into a dll file that can be used in the future as a control by importing the dll in the project. Is there any detailed explanation of how to do that. I am using VS2010 Thanks in advance. | |
Hi, I have very simple project in vs2010 and mssql 2008. with only single page for example. when i run project its take too much time for loading.. when i change the value of radio button it will take some process. i use updatepanel also and autopostback=true radio button takes … | |
We have a mobile game application created using j2me. This application need to communicate with an asp.net wcf service to send/receive data in json format. I have created the service and uploaded on to server. The url is somewhat [url]http://xyz.com/TheService.svc[/url]. This service provides some methods for example - int add(int … |
The End.