code for billing project using vb coding in asp.net environment for or

i need help to code to data insertion through front end(asp.net using

Page 1 of 1

2 Replies - 6660 Views - Last Post: 09 February 2008 - 03:18 PM Rate Topic: ***** 1 Votes

#1 sanvan5  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 09-February 08

code for billing project using vb coding in asp.net environment for or

Posted 09 February 2008 - 12:05 PM

sir i m a beginer in asp.net programming, i m working on initial level poject where i m trying to prepare a billing information system, i have attached the projec file i have made, but i got conectivity to oracle database with the help of few book codes provided by the wrox's asp.net but i m not able to save the details of a userdata info of after login in my oracle data base...i m using the vb language coding in my project.. please help me out...how to code for the saving the user detils intered in form to my oracle database..& how to insert,update,delete&modify the details in oracle database from the front end coding...coz every book shows the code using c# for ms sql database not for oracle using vb coding , so finally help me out..
thankx,
with regards,
sanjeev kumar singh
(B-Tech , Electronics, CDAC,Noida)

Is This A Good Question/Topic? 0
  • +

Replies To: code for billing project using vb coding in asp.net environment for or

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1641
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: code for billing project using vb coding in asp.net environment for or

Posted 09 February 2008 - 01:17 PM

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: :code:
Was This Post Helpful? 0
  • +
  • -

#3 sanvan5  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 09-February 08

Re: code for billing project using vb coding in asp.net environment for or

Posted 09 February 2008 - 03:18 PM

View PostPsychoCoder, on 9 Feb, 2008 - 01:17 PM, said:

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: :code:


i m attaching the my project file please give perfact coding to save the user details from front end asp.net using vb codeing to bak end (oracle)
i m using code behind model of asp.net
here i have tried some thing..
front end design:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Userdataform.aspx.vb" Inherits="Userdataform" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
	<title>Untitled Page</title>
</head>
<body>
	<form id="form1" runat="server" method="post">
	<div style="Z-INDEX: 101; LEFT: 8px; WIDTH: 731px; POSITION: absolute; TOP: 8px; HEIGHT: 452px">
				   <asp:Label ID="Label1" runat="server" Style="z-index: 100; left: 276px; position: absolute;
				top: 16px" Width="154px">Create New User</asp:Label>
			<asp:TextBox ID="TextBox1" runat="server" Height="22px" Style="z-index: 101; left: 136px;
				position: absolute; top: 60px" Width="155px"></asp:TextBox>
			<asp:Label ID="Label2" runat="server" Height="19px" Style="z-index: 102; left: 16px;
				position: absolute; top: 64px" Width="108px">Enter Id</asp:Label>
			<asp:TextBox ID="TextBox2" runat="server" Height="22px" Style="z-index: 103; left: 136px;
				position: absolute; top: 112px" Width="155px"></asp:TextBox>
			<asp:Label ID="Label3" runat="server" Height="19px" Style="z-index: 104; left: 16px;
				position: absolute; top: 115px" Width="108px">Enter First Name</asp:Label>
			<asp:Label ID="Label5" runat="server" Style="z-index: 105; left: 16px; position: absolute;
				top: 296px" Width="108px">Address</asp:Label>
			<asp:Label ID="Label7" runat="server" Height="19px" Style="z-index: 106; left: 408px;
				position: absolute; top: 60px" Width="120px">E-Mail :</asp:Label>
			<asp:Label ID="Label8" runat="server" Height="19px" Style="z-index: 107; left: 408px;
				position: absolute; top: 110px" Width="120px">Enter UserName</asp:Label>
			<asp:TextBox ID="TextBox7" runat="server" Height="22px" Style="z-index: 108; left: 544px;
				position: absolute; top: 112px" Width="145px"></asp:TextBox>
			<asp:TextBox ID="TextBox3" runat="server" Height="22px" Style="z-index: 109; left: 136px;
				position: absolute; top: 170px" Width="155px"></asp:TextBox>
			<asp:Label ID="Label4" runat="server" Height="19px" Style="z-index: 110; left: 16px;
				position: absolute; top: 174px" Width="108px">Enter Last Name</asp:Label>
			<asp:TextBox ID="TextBox5" runat="server" Height="22px" Style="z-index: 111; left: 136px;
				position: absolute; top: 233px" Width="155px"></asp:TextBox>
			<asp:Label ID="Label6" runat="server" Height="19px" Style="z-index: 112; left: 16px;
				position: absolute; top: 237px" Width="108px">Mobile No</asp:Label>
			<asp:TextBox ID="TextBox8" runat="server" Height="22px" Style="z-index: 113; left: 544px;
				position: absolute; top: 168px" TextMode="Password" Width="145px"></asp:TextBox>
			<asp:TextBox ID="TextBox4" runat="server" Height="76px" Style="z-index: 114; left: 136px;
				position: absolute; top: 292px" Width="200px" TextMode="MultiLine"></asp:TextBox>
			<asp:TextBox ID="TextBox6" runat="server" Height="22px" Style="z-index: 115; left: 544px;
				position: absolute; top: 56px" Width="145px"></asp:TextBox>
			<asp:Label ID="Label9" runat="server" Height="19px" Style="z-index: 116; left: 408px;
				position: absolute; top: 173px" Width="120px">Enter Password</asp:Label>
			<asp:TextBox ID="TextBox9" runat="server" Height="22px" Style="z-index: 117; left: 544px;
				position: absolute; top: 221px" TextMode="Password" Width="145px"></asp:TextBox>
			<asp:Label ID="Label10" runat="server" Style="z-index: 118; left: 408px; position: absolute;
				top: 225px" Width="120px" Height="19px">Confirm Password</asp:Label>
			<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox8"
				ControlToValidate="TextBox9" ErrorMessage="Enter same password" Style="z-index: 119;
				left: 548px; position: absolute; top: 274px" Width="146px" Height="19px"></asp:CompareValidator>
		
		<asp:Button ID="Button1" runat="server" Style="z-index: 120; left: 315px; position: absolute;
			top: 396px" Text="Button" Height="31px" Width="76px" />
		
		<asp:LinkButton ID="LinkButton1" runat="server" Height="19px" Style="z-index: 122;
			left: 621px; position: absolute; top: 421px" Width="73px">LinkButton</asp:LinkButton>
	  </div>
	</form>
</body>
</html>



here is vb coding i tried

Imports System.data
Imports system.data.OleDb
Imports system.data.OleDb.OleDbType
Partial Class Userdataform
	Inherits System.Web.UI.Page
Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkButton1.Click
		Response.Redirect("welcome.aspx")
	End Sub

	Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
		Dim conn As New OleDbConnection("Provider=MSDAORA.1;Data Source=mydb;Persist Security Info=True;User ID=INV;Password=INV;Unicode=True")
		Dim cmd As OleDbCommand = New OleDbCommand("insert into userdata", conn)
		Dim dr As OleDbDataReader
		Dim ds As New DataSet
		conn.Open()
		dr = cmd.ExecuteReader()
		
		conn.Close()
		Dim ds As New DataSet
	End Sub

	Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
		Button1.Text = "SUBMIT"
		LinkButton1.Text = "BACK"
	End Sub
End Class

Attached File(s)

  • Attached File  BIMS.zip (619bytes)
    Number of downloads: 502

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1