12,085 Topics

Member Avatar for
Member Avatar for rohitmanhas_12

Hi, I need help for this problem that i'm trying to solve for a while (i'm Using ASP.net and C#). How do i submit the values from selected checkbox lists into database using c#.... Here's the code: .......................................................................... [code] <asp:CheckBoxList ID="CheckBoxList1" runat="server" Font-Bold="False" Font-Names="Vrinda" Width="338px" style="text-align: left"> <asp:ListItem>Public Tap</asp:ListItem> <asp:ListItem>Well …

Member Avatar for rohitmanhas_12
0
196
Member Avatar for RickyG

I am trying to update employee information in my web form but when I press Update Link, nothing happends.. [CODE]<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="ViewEmployees.aspx.vb" Inherits="ViewEmployees" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <p class="style1" style="text-align: left"> <table class="style1"> <tr> <td> Enter Employee Name&nbsp;&nbsp; <asp:TextBox ID="txtName" …

Member Avatar for kvprajapati
0
130
Member Avatar for yookify

Hai... I'm Doing my project in asp .net(vb .net coding) If anybody guide me means it would be great pleasure for me... I want to display names in the list box So i used the coding: [code] If Not Page.IsPostBack Then Try myda = New SqlDataAdapter("Select name from agent", connection) …

Member Avatar for Mohtshm
0
121
Member Avatar for ProjectEchelon

Hello All... This is my first post so please be gentle with me and I will try to explain the issue I've been fighting with for 3 days. I am trying to update a gridview element from a different thread. This update task is part of an outer foreach loop …

Member Avatar for ProjectEchelon
0
777
Member Avatar for gudisiva
Member Avatar for jellybeannn

I'm creating a cash flow calculator, start and end date is entered, and then dates according to months in between are displayed. If the month is Dec or Jan t1 should change accordingly, [code] if (validation.Month == 12) t1 = t1 - 14; if (validation.Month == 01) t1 = t1 …

0
52
Member Avatar for joseph2010

Can I write IL programs run directly? exam for the IL program what is business process model in UML?

Member Avatar for kvprajapati
0
51
Member Avatar for fiaolle

Hi I'm having trouble to access a Parent's property in User Control. I don't know how to access the parent. I saw the example below and tried it: [CODE]CType(Me.Page, Search).Prop = VALUE[/CODE] and the Parent page is called Search.aspx [CODE]Partial Class Search[/CODE] But then I get en error Type 'Search' …

Member Avatar for 4advanced
1
2K
Member Avatar for joseph2010
Member Avatar for joseph2010
0
142
Member Avatar for rohitmanhas_12

hi, i had to make a asp.net form in which i had three columns ... 1:- for Date of registeration 2:- Date of birth 3:- Time of Birth.... and using c# insert these values into microsoft SQl database... cud anyone give me the code,to do it.....

Member Avatar for kvprajapati
0
196
Member Avatar for jamey8420

I had taken over some code that was originally created .net 1.1 We need to update and bring into .net 2.0, so I opened the solution in VS2008 and went through the converter wizard. Now, when I am trying to build the solution, I am seeing the below error for …

Member Avatar for kvprajapati
0
249
Member Avatar for Ycefire

Hello, I have some troubles with mine code which selects data from database and show them in the GridView. ASPX page: 1grid view, 1 button and 2 text boxes code behind: [CODE] Protected Sub cmdVyhledat_Click() Handles cmdVyhledat.Click SqlDataSource1.DataBind() GridView1.DataBind() End Sub Protected Sub gridview_refresh() Handles SqlDataSource1.DataBinding If (txtCisloReklamace.Text <> "") …

Member Avatar for Mohtshm
0
216
Member Avatar for yookify

Hai.... Im new to .net ,I need help in doing my project.... If i Give the lastname in textbox then the items in lastname should be displayed in the anthor textbox [B]For ex : Thomus,123,aaa Thomus,345,bbb H_alert,456,ccc[/B] If i enter thomus it should show all thomus from my database but …

Member Avatar for yookify
0
85
Member Avatar for yookify

Im Yooki ..... Im doing my project in asp .net with vb coding... Now i want to compare Two Strings in textbox.... For ex: Thomus .CA and Thomus .CC....Here i have to compare whether the two members r same r not... Im so new to this site and also new …

Member Avatar for yookify
0
96
Member Avatar for melphic

Hi all, in my app a user places an order and should be assigned a new session id. Then they should be able to place a new order using this session id so as not to ovewrite their previous orders data. Unfortunately the only way I can get a new …

Member Avatar for melphic
0
100
Member Avatar for msman88

I have an error: -------------------------------------- [CODE]Server Error in '/' Application. Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. Description: An unhandled exception occurred during …

Member Avatar for kvprajapati
0
78
Member Avatar for msman88

In our application, the user registeration taking 5 pages the user is moving through and filling data. Suppose when user is reached to the last page(no. 5), the user can returns back to the first no. 1 page. For that, we want to disable user coming back to that first …

Member Avatar for kvprajapati
0
81
Member Avatar for murugavel84
Member Avatar for davidcrossan

hi there i am building a one page website that i need query data from an access database (visual studio 2008 c# xml). I need to do a sql query displaying customers with possible bookings if any. I have been able to display all customers details but i am finding …

Member Avatar for Mohtshm
0
150
Member Avatar for sri_sreeraj

Hi, I am a dot net beginner. I have learned programming in c# for website developing. Now I would like to learn vb.net . So I am trying to convert one of my previous work from c# to vb. But now I am facing a problem while converting to vb. …

Member Avatar for kvprajapati
0
173
Member Avatar for brenn13

hi.. i'm encountering a bug regarding sending emails.. when the smtp server do not have user autentication, the sending of email is really fine.. but when the smtp requires username and password, no email is being sent.. i believe it is related to web.config.. i have searched a lot of …

Member Avatar for kvprajapati
0
144
Member Avatar for TimWerk

hi all, i would like to get the selected row from the datagrid and get the row's data to transfer it to textboxes.. how can i do this?

Member Avatar for Mohtshm
0
92
Member Avatar for jellybeannn

Hallo everyone. I want to set the day to the validDay. e.g if valid day is 25 then the day must be 25 on DateTime. [CODE]string validDay_str = reader["validation"].ToString(); int validDay = Int32.Parse(validDay_str); string start_str = reader["start"].ToString(); DateTime start = DateTime.Parse(start_str); start.Day = validDay;[/CODE] with this code I get an …

Member Avatar for jellybeannn
0
119
Member Avatar for nccsbim071

i am sending email to the users using smtp client and MailMessage class. i have been adding the addresses of multiple receivers in the to property of the object of MailMessage class. the problem is that the receiver can see the email addresses of other receipents. is there any way …

Member Avatar for nccsbim071
0
105
Member Avatar for syedfaisalhabib

I get this error whereas I have checked all the code. Can someone points out where I am wrong? -------------------------------------- Line 29: If e.CommandName = "New" Then Line 30: Code.Direction = Data.ParameterDirection.Input Line 31: Code.Value = (DirectCast(GridView1.Controls(0).Controls(0).FindControl("txtCode"), TextBox)).Text Line 32: Line 33: Name.Direction = Data.ParameterDirection.Input -----------------------------------

Member Avatar for nil
-1
83
Member Avatar for sebastian3

Hi buddies, Can anybody help in RBS WorldPay Payment Gateway Integration in Asp.NET. Any Code/DLL/component can be great help. I really can't make up their Documentation. Thanks in advance.

0
55
Member Avatar for invictuspravin

Hello There, Access denied for user 'xxxx.d'@'xxxxx' (using password: YES) Actually in my application i am executing stored procedure on page load of index page ... i have hosted application on webserver and i am using shared mysql database server when i triese to run the page it shows the …

Member Avatar for invictuspravin
0
145
Member Avatar for Scoobydog

Could someone please help: I have a page with a nested Gridview on it ( Parent/Child ) relationship, all withing an UpdatePanel. The sub-grid has a CommandField Button that the users can click on to view the detail record in it's entirety. The SubGrid is loaded from the Rowdatabound of …

0
42
Member Avatar for user1980

hello, I am trying to enable validators using javascript and they get enabled as expected but when I am trying to disable them they give an error and then get disabled. I think I am missing a logic on how to disable them. My code is supposed to validate two …

0
77
Member Avatar for carrzkiss

Hello All; It seems that I have just run into a small issue that I am hoping can get resolved pretty quickly, as it is the only thing that is holding me back from completely this part of my task. In an ASHX file, I am needing to read a …

Member Avatar for carrzkiss
0
155

The End.