13,153 Topics
![]() | |
Hi There; I am learning how to establish a connection to mysql in c#. Here are my codes : using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using MySql.Data.MySqlClient; public partial class _06_web_form_elemanlari_08_button : System.Web.UI.Page { protected void connect(Object Sender, CommandEventArgs arguman) { try { MySqlConnection … | |
if (IsPostBack && DDLCount > 0) { CreateDropDownLists(); } } public int DDLCount { get { object temp = ViewState["DDLCount"]; return temp == null ? 0 : (int)temp; } set { ViewState["DDLCount"] = value; } } private void CreateDropDownLists() { if (DDLCount == 0) DDLCount = Convert.ToInt32(TextBox4.Text); for (int i … | |
Hi everybody, I’m a student learning ASP and I have a project to develop some VoIP applications. I would like to use sample programs by Ozeki VoIP SIP SDK because they have trial version for free. Have any of you tried these sample programs? For example this one: http://www.voip-sip-sdk.com/p_203-asp-net-sip-voip-client-voip.html If … | |
hello i want to download file in asp.net using c#? i upload a file with filename+ path+guid.. i want to download this file on page ..user can see download file link and download the file how its possible in asp.net Using c#...? kindly tellme as soon as possible thanks in … | |
I am having trouble with databinding when trying to add it to a dropdownlist. I can get it to work with a label: <asp:Label ID="Label3" runat="server" Text='<%# Eval("Location") %>'></asp:Label> But when I try with the DropDownList I get this error and I can't seem to find an answer for it. … | |
hello i want to hide right sidebar and some hyperlink in master page in asp.net? how its possible ? kindly tell me as soon as possible? | |
Hello my fellow Daniwebers, I have a question for you. I have quite an odd problem that I have researched and have not been able to find a solution. I have a formview, named frmStatus, from which I am trying to retrieve controls to check for values. The form is … | |
I have a long string and I want to display the first 50 characters of it (without including the HTML content). Can anyone suggest any method? | |
Is there a way that I can fetch the emails and integrate it to my web system? The problem that I wanted to solve is that in one window they can pretty much do their work. Including responding to email. Thanks for the responses | |
Hello i want to include searching from internet(World wide web) in our website how its possible in Asp.net using c# ...? kindly send me source code or helpfull material as soon as possible ... thanx in advance...... | |
How can this be implemented on a web page? using c# and clicking a calander which will go to a booking form from each day and how to add database to this? using visuals tudios 2008, using For example a doctors practice. | |
hi i want to get values from multiples tables in sql. i want to those values put in datatable. how can i put values from multiple table in datatable then return the datatable in Asp.net using c# how its possible....thanks in advance.... | |
Hi All, I should be able to create a default directory inside project's root directory when the application_start method(inside global.asax)is called for my asp.net web application. As IIS users dont have full rights to webroot directory(for directory create) i get access denied error message while trying to create the directory.Also … | |
Anyone know what this means and a step-by-step guide on how to fix it? Line 14: Line 15: <system.web> Line 16: <compilation debug="false" strict="false" explicit="true" targetFramework="4.0" /> Line 17: Line 18: <authentication mode="Forms"> I'm fairly new to ASP.net. Help will be greatly appreciated. Thanks in advance | |
Hello Guys and Gals I hope you can help me. I am trying to create a bounce.asp page. When the user goes to this site page i want to pass it some data like below http://www.testingasp.com/bounce.asp?id=12345?sub=testingme My goal is to store the "12345" and the "testingme" in a database (The … | |
Hi, I have a problem finding a textbox control which is within panel and this panel is within datalist control. I would like to get textbox.text property and I tried several ways but I always get empty string "" although textbox contain some text in it. My code is below: … | |
hello my project is web discussion forum..i want to get some values of topic table and some values of user table. in topic table have user id field how can i get user name againts user id. user table have user id field thanks in advance .... | |
Hello I'm planning a programming project for my website. I have a device that logs information to a database. To access this database I need to use to OLEDB client. What i want to do is, to make a graphical widget to my website that shows the info of my … | |
How to delete a row from grid view using connectivity code. con = new SqlConnection("Data Source=SPICOM15-PC;Initial Catalog=Student;Integrated Security=True;Pooling=False"); Label lblstid = (Label)GridView1.Rows[e.RowIndex].FindControl("lblId"); TextBox txtname = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtname"); TextBox txtclassname = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtcity"); TextBox txtemailid = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtEmailId"); cmd.Connection = con; cmd.CommandText = "Update Information set Id='" + txtid.Text + "',Name='" + txtname.Text + … | |
Hi There; I am writing a basic ASP.NET code. This code has worked properly before, but when I has changed "EnableViewState" to false, saved it it and operated it, code didn't work. When I have changed the "EnableViewState" to true again, it didn't work either. I couldn't imagine the reason … | |
Hi guys, I having problem display out the value at the gridview. At the database it store the gender field in integer. For example 1 = Male and etc. I need to display out the text at gridview column. I getting error input string was not correct. Please help Protected … | |
Hi, I am trying to check if the username entered by the user in the textbox exists in the Access database I am using. For some reason, I am unable to get this correct. My code is as follows: Protected Sub btnRegister_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles … | |
When to use MVC Framework in ASP.NET or it can be as flexible like Custom Programming in ASP.NET? Thanks in Advance | |
I add dropdown list in the form, connect with gridviev1 from table1. But I have 4 tables. I have 4 values in the drop down list. 1 when check value 1 show table1 2 when check value 2 show table2 3 when check value 3 show table3 4 when check … | |
Hello alll KIndly help in step by step of how i can coonect sybase to asp.net I have no idea at all Thanks in advance | |
Hello all, I have an application in which I have put a datagrid with update and delete buttons. What I want is when I change the contents of the columns and click on update button, it should update that particular cell value into the database. My xaml code is as … | |
Hi all, I am using DataList and when i run my project the table of the datalist doesn't appear?!!! aspx.vb file Imports System.Data.SqlClient Public Class SLP_1 Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ' TextBox1.Text = Session(logAccount) End Sub Protected Sub DataList1_SelectedIndexChanged(ByVal sender … | |
Hi, I would appreciate advise on what is incorrect in the following sample code? The result I get is always that the panel is not visible, even though the authenticated user is a member of 'Domain\ADGroup'. If I can at least confirm the code 'should' work, that would be a … | |
I create web application, and I have a task to create form by which user will be able to register to receive email massage for latest news. I don't really understand how to realize this. Is there some specific things I shold do? thanks for the advice | |
Hi, I create my first web application and finaly I finished it. I have just one more thing to do. I have to translate name of controls in onother languge. it shoould be work as sellected value in the dropdown list. I read a lot of forums and tutorials.... but … |
The End.