Bandar.M.A 0 Newbie Poster

OK;

Show Me your Check condition Code
And your Clear Session Code

I had this Problem Before

Bandar.M.A 0 Newbie Poster

Hi;

You need to Add Check Condition in every Page load

and Make sure you clear the session

Good luck;

Bandar.M.A 0 Newbie Poster

Hi;

Under radio button 2 Event Check Change (Something like that)

add this code

if rb2.checked = true then
txt2.enable=false
elae if rb2.checked=false then
txt1.enable=true
txt.enable=true
end if
Bandar.M.A 0 Newbie Poster

Hi;
if i understand well , then i think this well work

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Static x, y
        Dim starttime As String
        Dim endtime As String
        starttime = #1:57:00 PM#
        endtime = #2:10:00 PM#
        If Now.ToLongTimeString >= starttime Then
            If Now.ToLongTimeString >= endtime Then
                Timer1.Stop()
                
            Else
                Timer1.Start()
                Label1.SetBounds(x, y, Label1.Width, Label1.Height)
                x += 1
                y += 1
            End If
        End If
        Me.Text = Now.ToLongTimeString
      
    End Sub
Bandar.M.A 0 Newbie Poster

Hi;

I Don't know what is your Goal here

but, if it is just move the label then
dim x,y as static and add to them
like this:

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Static x, y
        Label1.SetBounds(x, y, Label1.Width, Label1.Height)
        x += 1
        y += 1
    End Sub

good luck;

Bandar.M.A 0 Newbie Poster

Hi;

if you use Windows Application:


To Move from one Form to another you can use
Hide and Show Method

Me.hide
Form2.show

or Use HyperLink Or link Button AS you like


Good luck;

Bandar.M.A 0 Newbie Poster

hi;

i am not a C# Expert but,

in vb.net we use condition
if not ispostback()then

//code

end if

try to find something like this in C#

good luck;

Bandar.M.A 0 Newbie Poster

hi;

if you use dataset , add condition (where) in your select (query)

Bandar.M.A 0 Newbie Poster

Ok

in Combobox event changeindex (or something like that)
try to send Sql statement with the value you get then
put the result in your textbox

Bandar.M.A 0 Newbie Poster

Ok good job ;

but, try to install it in future

Bandar.M.A 0 Newbie Poster

Hi,

it should be easy;

show me your codes;

good luck;

Bandar.M.A 0 Newbie Poster

Hi,

If it is as I understand
so simple

right click on your project name ->click on add new item -> Xml file
name it and then use it.

if it is not , tell me

good luck;

Bandar.M.A 0 Newbie Poster

Hi;

Did you Try response.redirect("~\Path\")?

Good luck!

Bandar.M.A 0 Newbie Poster

Hi ,

I need more explanation :

1- How many parameters you want to send?
2- How did you declare Primary key, is it incremental ?
3- What result you want?
4- Where You want to use it?

Bandar.M.A 0 Newbie Poster

whay you don't use the simple way?

define function to execute
sub execute(p,p,p,p,p,p,.....) ' as many as you want!
'then

Dim conn As New System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\DB\DataStatusRecord1.mdb")
Dim strSQL As String = "insert into (TABLENAME) (C,C,....) values (p,p,p......p) "
dim cmd as Data.OleDb.OleDbCommand
cmd = new Data.OleDb.OleDbCommand(strSQL, conn)
Dim da As New System.Data.OleDb.OleDbDataAdapter(cmd)
Dim ds As New Data.DataSet

cmd.ExecuteNonQuery()
'da.fill(ds)

something like this and don't forget to open and close connection

i hope this well help you

good luck!!!

Bandar.M.A 0 Newbie Poster

Hi ;

please sent your code so i can know where is the error
'btw'
are you using sp?

Bandar.M.A 0 Newbie Poster

Sorry,


I wish i know but i well search for it

good luck;

Bandar.M.A 0 Newbie Poster

I Don't understand , do you mean get image from website as (download ) or save your image in database or what ....
please i need more than that to help you