hi,
im trying to write to a sql server database using the following code
DataRow objRow = objDataSet.Tables["tblMember"].Rows.Find(Session["MemberID"]);
objRow["Name"] = lblMemberName.Text;
objRow["Password"] = txtPassword.Text;
objRow["Address1"] = txtAddress1.Text...
Hi,
the code below draws a line graph by getting data from a sql server database,draw the line and saving it to my C:. However i want to be able to view this graph on a image, however i cant get the image to display since im running it on my local host and the local host cant reference anything...
Hi,
What i am trying to do is draw a line graph by reading data from a sql server database. while it appears to be doing this correctly the image doesnt appear once the code has finished executing. I have set a image url to equal the location of the image but with no result. it does however...
Hi,
I have some javascript code that im trying to use so as to prevent users from entering any characters except for numbers in to a ASP textbox. Im trying to call this function on the "onkeypress" of the HTML table however it doesnt seem to be working.Below is the code im trying
Any help...
Hi,
Im getting an error and i have no idea what it means.Hoping someone could shed some light on it for me.Thank you
Cannot apply indexing with [] to an expression of type 'int'
Here is the code
public void FindMaxValue()
{
objDataTable = objDataSet.Tables["tblScore"]...
Hi,
I have some javascript code that im trying to use so as to prevent users from entering any characters except for numbers in to a ASP textbox. Im trying to call this function on the "onkeypress" of the HTML table however it doesnt seem to be working.Below is the code im trying
Any help...
Hi, I'm having a problem with a button..what i wanted to happen is if the "Submit" button has being pressed then find the button and perform that code within it else just do another function.
if (btnSubmit.Something == true)
{
Buttton btn = (Button)FindControl("btnSubmit")...
Hi,
Im trying to read from a sql server database based on a date. The sql statement i believe is correct however it is the syntax at the end of the statement i believe is where the problem lies
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
string date =...
hi im trying to write to a sql database from textboxes using C#, however i keep getting the following error
'System.Data.DataRow.DataRow(System.Data.DataRowBuilder)' is inaccessible due to its protection level.
the code i am using is
public partial class Register : System.Web.UI.Page
{...
hi,
im trying to write to a ms access database using c#,however i keep running in to problems.
One is
A field initializer cannot reference the nonstatic field, method, or property 'Register.objConnection'
the other
A field initializer cannot reference the nonstatic field, method, or property...
hi,
im trying to write to a ms access database using c#,however i keep running in to problems.
One is
A field initializer cannot reference the nonstatic field, method, or property 'Register.objConnection'
the other
A field initializer cannot reference the nonstatic field, method, or property...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.