13,153 Topics
| |
Hi, I have this connction string: [CODE]Private conexion As New OdbcConnection("DRIVER={MySQL ODBC 5.1.50 Driver}; SERVER=localhost; DATABASE=netstore; UID=root; PASSWORD=123456; OPTION=3")[/CODE] I use: Visual Studio 2010 MySQL 5.1.50 When I try to open the connection, this error appears: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver … | |
Hi I am having problem connecting to my sql2000 database. The database is on a MS Server 2008. I had no problem connecting to my other server Server2003. I selected '.Net Framework Data Provider for SQL Server', entered my server name, and selected 'Use SQL Server Authentication'. But when I … | |
I have two text boxes starttimeInput and endtimeInput that have regularexpression validators to only accept input of time variables (11:00 am, 12:15 pm, etc) and then a durationLabel where I want to calculate between the start time and end time and present it to the user as minutes. Here is … | |
Hi All I have table calltime in sqlserver2005. in that table i have a field called schedule and i am taking that field datatype as varchar, i am maintaining time only on that field not the date. Now my requirement is , i am using Visualstudio 2005. when ever the … | |
I have a file uploader in a web page which allows to upload excel files only, hwat I want to do is in the code , to open the excel file and get the values in the excel file which Is in different cells to the mdf file in visual … | |
i have declared a variable in page_load function and i want to use this variable in Button_click function i declare the variable globle but its not working and i also passed the variable by value but then Button_click funcion is showing error that syntax is incorrect wat to do ??? | |
What is wrong with this code?: [code] <%@page language="vb"%> <%@import namespace="system.data"%> <%@import namespace="system.data.oledb"%> <script runat="server"> sub page_load(o as object, e as eventargs) dim conn as new oledbconnection( _ "Provider=microsoft.jet.oledb.4.0;" & _ "Data source=c:\users\asus\desktop\banking.mdb.mdb;") dim ds as new dataset("mydataset") dim objcmd as new oledbdataadapter("select * from tblusers " & _ "where … | |
I have a web page: [url]www.netstorerosario.com.ar[/url], and I now a lot of mistakes I made on it. I decided to correct them all. In order to do that I need to know which option it's the most efficient. In my page, to show product in the index.aspx I use user … | |
Hi, I just wanna update a gridview, but the thing is values for the gridview will be generated inside a for loop. for(int i=0; i< 10; i++) { string x1 = SomeMethod(i).ToString(); string x2 = SomeMethod(i).ToString(); // This x1 and x2 values need to be stored in DataSet or Table … | |
hello friends, can anyone help me for following i want to display image as slide show by fetching images from database which is saved as binary format. In C# | |
hai friends, i cannot create the message box. the syntax i used is "MessageBox" . it gives the errror that namespace system.windows is not found. i searched with System.Windows i cannot found anything there. so plz help | |
How to move cursor position in Web Application by using javascript on image click. I want to move the cursor position on particular coordinate on image click. With javascript how to do that? Thanks in advance, Regards, ANKUR | |
please help. I'm trying to run a script from a inside shared function: [CODE]Dim strScript As String strScript = "<script language=JavaScript>" strScript += "alert(""" & string1 & """);" strScript += "</script>" HttpContext.Current.Response.Write("alert(""" & string1 & """)") If (Not Page.ClientScript.IsStartupScriptRegistered("clientScript")) Then Page.ClientScript.RegisterClientScriptBlock(MyPage.GetType(), "clientScript", strScript) End If[/CODE] I'm getting an error in … | |
Hi Friends, <%@ Page Language="C#" AutoEventWireup="true" CodeFile="simpletest.aspx.cs" Inherits="simpletest" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <script language="javascript" type="text/javascript"> function checkListItem(pEvent) { document.getElementById("dvDdlValue").style.display = 'block'; var title = document.getElementById("ddlCheckItem").value; document.getElementById("dvDdlValue").innerHTML = title; var dom = (document.getElementById) ? true : false; var ns5 = (!document.all && dom || window.opera) … | |
hi, i have a problem with my tabcontainer that once user click the tab, it will not remains the tab but goes to the default tab.. This is my code [CODE] <cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></cc1:ToolkitScriptManager> <cc1:TabContainer ID="MyTabContainer" runat="server" ActiveTabIndex="0> <cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="Company"> <ContentTemplate> <a href="<%= Page.ResolveUrl("~")%>MASTER/Company_a.aspx" >Company Entry</a> <a href … | |
Hi, I'm currently making a clinical database, and i have 3 tables in the database so far which includes patient, doctor and consultation. I've made 3 roles(patient, doctor and staff) and a few users for each of the role in the ASP.net configuration(asp.net website administration tool), but what I want … | |
Hello, I want to put some .net web based projects in the resume as a 3yrs experienced programmer. Can anyone please suggest me the kind of good projects. I know C#, VB.Net, ASP.Net, SQL Server. I am learning AJAX, Silverlight also. I would be grateful if anyone could help me … | |
Is it possible to disable close[x] button of the popup window? I use Window.Open() to open the popup window. If possible help me to try out this. | |
In my ASP.NET project i have 3 web forms. Login.aspx, Signup.aspx and Default.aspx. I'm using Custom Membership Provider for the login and signup controls. When a user logs in a sessions is called. How can I save all the session variables and values into MS SQL and that particular user's … | |
I have AJAX control toolkit in my project. I can use accordion,rating etc but I cant use any of extender controls. What might be the problem? | |
Hi all.... I'm here to solve a small issue regarding converting a form in VB.net/ asp.net into a pdf flie... such that if i click on a button "Convert to PDF" my PDF file should appear and i should be able to save it... after little search i could find … | |
I have uploaded audio files (saved them) into the SQL Server 2005 database. I need to prepare a "play sound" button to allow users to click it and listen to the sound. I have the following code to retrieve the audio file from the database. protected void playsound_btn_Click(object sender, ImageClickEventArgs … | |
Hello How to place a MYSQL database in my ASP.NET site? In what format I produces the file for my APP_DATA database folder to place it. How to build CONNECTION STRING to database located in APP_DATA I created a site communicates with a LOCALHOST database Now I want to import … | |
hi..i'm juz wanna ask how to develop chat application by using asp.net and c# language..?? i have to develop chat application for my final year project..if anyone have an idea please, give me your help.. | |
Hi, I have a Gridview on Default.aspx. There is a ButtonField (Button Type: Button) on the Gridview1. When user click on any button of ButtonField, I want to show a pop-up of size 500x400 px with a Label, a Textbox and a Button. Please help me in achieving this as … | |
Hi, :rolleyes: Can anyone send me or tell me the shortcut keys for .net framework(visualstuio.net). so that i can use it frequently Thanx.....:) | |
Hello, I am currently creating my first web program using Visual Studio 2008 (asp.net with c#) so am probably going about many things the wrong way, but it is to be expected! The issue in question: -I have a dropdownlist(ddl), which is populated from a SQLDataSource. -The text in the … | |
Hi all, i am new to VB.NET/ASP.NET. I need a sample project for an online banking (login and view transactions). does anyone have a sample project, or anything that is close to it??? even if you have only a sample login form, i will really appreciate. thanks in advance. | |
hi, [code] public void bingdrid() { cmd.Connection = con; cmd.CommandText = "SELECT Customer.* , convert(varchar(50),StarteTime,103),convert(varchar(50),EndTime,103), CompanyMaster.Name, Country.CountryName, City.CityName, State.StateName " + "FROM Customer INNER JOIN "+ " CompanyMaster ON Customer.CompanyID = CompanyMaster.CompanyID INNER JOIN "+ " City ON Customer.CityID = City.CityID INNER JOIN "+ "Country ON Customer.CountryID = Country.CountryID INNER … | |
Hi, How to Open PDF document in asp.net web page without asking save/open/cacel dialogue . I have tried but every time it prompts for saving/opening or cancel action. Thanks in advance. Rakesh |
The End.