13,153 Topics

Member Avatar for
Member Avatar for smariano77

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 …

Member Avatar for smariano77
0
85
Member Avatar for tomlocke

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 …

Member Avatar for tomlocke
0
107
Member Avatar for dougancil

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 …

Member Avatar for dougancil
0
85
Member Avatar for queryme

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 …

0
67
Member Avatar for judithSampathwa

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 …

Member Avatar for judithSampathwa
0
244
Member Avatar for ranu jain

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 ???

Member Avatar for kad1r
0
103
Member Avatar for shafaatmosvi

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 …

0
52
Member Avatar for smariano77

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 …

0
103
Member Avatar for krismanish

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 …

Member Avatar for hyperion
0
85
Member Avatar for sumitpatel

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#

0
40
Member Avatar for muthu

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

Member Avatar for plusplus
0
265
Member Avatar for Ankur_tces

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

Member Avatar for Ankur_tces
0
89
Member Avatar for duke_swh

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 …

Member Avatar for duke_swh
0
249
Member Avatar for vendan

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) …

0
47
Member Avatar for new SE

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>&nbsp;&nbsp;&nbsp; <a href …

Member Avatar for new SE
0
329
Member Avatar for Izzy123

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 …

0
56
Member Avatar for dotnextnewb

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 …

Member Avatar for RykeTech
0
72
Member Avatar for sundarchum

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.

Member Avatar for MichaelWClark
0
149
Member Avatar for Lazarevski

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 …

0
75
Member Avatar for Finarfin34

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?

0
45
Member Avatar for Deepika Soman

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 …

0
66
Member Avatar for sahanaC

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 …

Member Avatar for MichaelWClark
0
795
Member Avatar for anetta

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 …

Member Avatar for anetta
0
280
Member Avatar for Ain Hazrin

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..

Member Avatar for sundarchum
0
126
Member Avatar for b9678123

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 …

Member Avatar for sundarchum
0
328
Member Avatar for rajni11

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.....:)

Member Avatar for zalakshah
0
158
Member Avatar for Nth_

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 …

0
126
Member Avatar for Steven_C

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.

Member Avatar for vanjan3.0
1
691
Member Avatar for jackparsana

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 …

Member Avatar for jackparsana
0
157
Member Avatar for rakeshbpatel

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

Member Avatar for rajeshprasath
1
1K

The End.