I need to call a webservice via actionscript 3.0 by clickin a button.I appreciate to help me.
vb code issueshoaib ismail March 12, 2012 at 11:44 AM
can any one solve this error please ,when i debug it shows this window so what i do to resolve this issue?
<b>ERROR MESSAGE is The Microsoft Office Access database engine cannot open or write to the file 'C:\DOCUMENTS AND SETTINGS\ADMIN\MY DOCUMENTS\fullDatabase.accdb'. It is already opened exclusively by another user, or you need permission to view and write its data. </b>
Imports System.Data
Imports System.Data.OleDb
Partial Public Class WebForm1
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
End Sub
Protected Sub submitbutton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles submitbutton.Click
Dim varUserName = TxtU.Text
Dim varUserPassword = TxtP.Text
Dim Name As String = Session("Name")
Session("UserName") = TxtU.Text
Dim qr As String
Dim myconn As New OleDbConnection()
Dim myAdapter As New OleDbDataAdapter()
Dim myDatatable As New DataTable()
Session("Name") = "name" 'orSession.Add("Name","name")'retrieving
myconn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\DOCUMENTS AND SETTINGS\ADMIN\MY DOCUMENTS\fullDatabase.accdb;Persist Security Info=False;"
qr = "select * from table3 where UserEmail ='" + TxtU.Text + "' and UserPassword = '" + TxtP.Text + "'"
Dim com As New OleDbCommand(qr, myconn)
myconn.Open()
myAdapter.SelectCommand = com
myAdapter.Fill(myDatatable)
Label4.Text = myDatatable.Rows.Count.ToString()
If (myDatatable.Rows.Count > 0) Then
Response.Redirect("Default.aspx")
Label4.Text = "USER IS VALID"
Session("Name") = myDatatable.Rows(0)("UserName").ToString()
Session("Department") = myDatatable.Rows(0)("UserDept").ToString()
Session("Email") = myDatatable.Rows(0)("UserEmail").ToString()
Else
Label4.Text = "USER IS IN-VALID"
End If
End Sub
End Class
hey ..please reply me
when we are creating a file handling program in c++
then the file that was created that contain only characters and number values are not displayed..they are in other formats..
why this happened???
rply me fast
A balance has the following size weights: 100 lb, 50 lb, 10 lb, 5 lb, and 1 lb. The number of 100 lb and 50 lb weights required to weigh an object weighing weight pounds can be calculated by using the following C++ statements:
// Determine the number of 100 lb weights
w100 = int(weight/100)
// Determine the number of 50 lb weights
w50 = int((weight â?? w100 * 100)/50)
Using these statements as a starting point, write a C++ program that accepts a weight input from the user and then calculates the number of each type of weight needed to weigh that object.
hi,
I need to call a java function when clicking a radio button & display the string values which is there in that java function to the table.sorry if the question is too simple.i am a newbie.I appreciate for any help.
Hi,
I need to call a java function when i click a radio button & display certain string values which are present in that function to the table.i am a newbie.sorry if the question is too simple.any help would be appreciated.
actionscriptmaryam April 12, 2011 at 4:31 PM
I need to call a webservice via actionscript 3.0 by clickin a button.I appreciate to help me.
vb code issueshoaib ismail March 12, 2012 at 11:44 AM
can any one solve this error please ,when i debug it shows this window so what i do to resolve this issue? <b>ERROR MESSAGE is The Microsoft Office Access database engine cannot open or write to the file 'C:\DOCUMENTS AND SETTINGS\ADMIN\MY DOCUMENTS\fullDatabase.accdb'. It is already opened exclusively by another user, or you need permission to view and write its data. </b> Imports System.Data Imports System.Data.OleDb Partial Public Class WebForm1 Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub Protected Sub submitbutton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles submitbutton.Click Dim varUserName = TxtU.Text Dim varUserPassword = TxtP.Text Dim Name As String = Session("Name") Session("UserName") = TxtU.Text Dim qr As String Dim myconn As New OleDbConnection() Dim myAdapter As New OleDbDataAdapter() Dim myDatatable As New DataTable() Session("Name") = "name" 'orSession.Add("Name","name")'retrieving myconn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\DOCUMENTS AND SETTINGS\ADMIN\MY DOCUMENTS\fullDatabase.accdb;Persist Security Info=False;" qr = "select * from table3 where UserEmail ='" + TxtU.Text + "' and UserPassword = '" + TxtP.Text + "'" Dim com As New OleDbCommand(qr, myconn) myconn.Open() myAdapter.SelectCommand = com myAdapter.Fill(myDatatable) Label4.Text = myDatatable.Rows.Count.ToString() If (myDatatable.Rows.Count > 0) Then Response.Redirect("Default.aspx") Label4.Text = "USER IS VALID" Session("Name") = myDatatable.Rows(0)("UserName").ToString() Session("Department") = myDatatable.Rows(0)("UserDept").ToString() Session("Email") = myDatatable.Rows(0)("UserEmail").ToString() Else Label4.Text = "USER IS IN-VALID" End If End Sub End Class
c++ file handlinghemant April 12, 2012 at 6:24 PM
hey ..please reply me when we are creating a file handling program in c++ then the file that was created that contain only characters and number values are not displayed..they are in other formats.. why this happened??? rply me fast
c and c++pradeep kumar July 18, 2012 at 10:23 AM
nothing...!
c and c++pradeep kumar July 18, 2012 at 10:26 AM
ask me the questions about c and c++.
computer( blueJ programming)anisha sengar August 7, 2012 at 3:34 PM
can u help me in improving my programming.
c++feeling heart February 19, 2013 at 12:10 PM
A balance has the following size weights: 100 lb, 50 lb, 10 lb, 5 lb, and 1 lb. The number of 100 lb and 50 lb weights required to weigh an object weighing weight pounds can be calculated by using the following C++ statements: // Determine the number of 100 lb weights w100 = int(weight/100) // Determine the number of 50 lb weights w50 = int((weight â?? w100 * 100)/50) Using these statements as a starting point, write a C++ program that accepts a weight input from the user and then calculates the number of each type of weight needed to weigh that object.
Problem in onclick function of radiobuttonAmrutha May 5, 2011 at 6:31 PM
hi, I need to call a java function when clicking a radio button & display the string values which is there in that java function to the table.sorry if the question is too simple.i am a newbie.I appreciate for any help.
Problem in onclick function of radiobuttonAmrutha May 5, 2011 at 7:08 PM
Hi, I need to call a java function when i click a radio button & display certain string values which are present in that function to the table.i am a newbie.sorry if the question is too simple.any help would be appreciated.
C++JX July 26, 2012 at 11:44 PM
#include <iostream> using namespace std; void recursiveToLower(char str[]) { if ( str[0] != '\0' ) { str[0] = toupper( str[0] ); // do this char recursiveToLower( str+1 ); // recursively do the remaining chars } } int main() { char word[10] ; cin >> word cout << recursiveToLower(word); system ("pause"); return 0; }
Post your Comment