No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
i want to run .aspx page in in my internet browser and he is showing this message file attached what is the problem[CODE]<%@ Page Language="VB" Debug="true" %> <%@ import Namespace="System.Data" %> <%@ import Namespace="System.Data.Sql" %> <%@ import Namespace="System.Data.SqlClient" %> <script runat="server"> Sub Button1_Click(sender As Object, e As EventArgs) Response.Redirect("index.aspx") End …
Imports System.Data Imports System.Data.SqlClient Public Class Form2 Dim myconnection As SqlConnection Dim mycommand As SqlCommand Dim dr As SqlDataReader Dim dr1 As SqlDataReader Dim ra As Integer Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click myconnection = New SqlConnection("server=Pakistan;Initial Catalog=Mumtaz;database=Mumtaz") myconnection.Open() mycommand = New SqlCommand("insert into …
why this code is not working[code]<%@ Page Language="VB" %> <script runat="server"> Private sub Textbox1_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then Textbox2.backcolor=drawing.color.azure textbox2.focued() End If End sub Sub TextBox1_TextChanged(sender As Object, e As EventArgs) End Sub </script> <html> <head> </head> <body> <form runat="server"> <p> <asp:Label id="Label1" runat="server" text="box1"></asp:Label> <asp:TextBox id="TextBox1" …
I have a database named newbase and columns are 1. Itid 2. Itname 3. Itprice 4. Itquantity I get the sum of the price using itname and the query is [code=sql] select SUM(itprice)as total from trick where itname=’a’[/code] I got the result but now problem is that I want to …
Hi I worte this code can any body tell me why its not working Error can be seen in the attached file whis…. Value cannot be null. Parameter name : data source Private Sub btnTotal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnTotal.Click Dim ConnectionString As String = "Integrated …
The End.
shahzadhard