Hi i created a login form and even i created register button, i am able to place all the values in the data base in the register page but what is the codding for login button, how it checks weather user name and password from the data base
i have written coding for login button as
sql dataadapter da= new sqldatadapter() ;
da="select * from login where username='"+tex tbox1.text+"'"& & password='"+tex tbox2.text+"'";...
User Profile
Collapse
-
sorry still i am not able to get can u please give me the code in c# -
hi just check this link which very simple
http://aspalliance.com/141Leave a comment:
-
Hi just check this link which is very simple
http://aspalliance.com/articleViewer.a spx?aId=138&pId =Leave a comment:
-
Sorry i am getting error near
if (id == "world tour")
Error 1 Operator '==' cannot be applied to operands of type 'int' and 'string'Leave a comment:
-
TextBox and Button Visible true or false problem
hi
I am creating travels project, in left part of my datagrid of my default page i placed all the products such as india tour ,world tour etc and if v click any product it will redirect to itennary page according to their ID's
my problem is i inserted new product as Hotel Booking and i want to place textbox and a button in the itenary page and if v click india tour or world tour i want those textbox and button should be not visible... -
how to open window with in the same page
hi i am creating travels project using .net and c#
and iam new to java scripts i want to open new window with in the same page after clicking the image
i have wreiten code just look at this
[CODE=javascript]<script language=javasc ript>
function open_win(url_ad d)
{
window.open(url _add,'','width= 800,height=650'
}
</script>
[/CODE]... -
-
gridview hyperlink
hi,right now i creating travel project using asp.net 2005 and c#
i can populate all the columns in the datagridview and even i am able to give hyprelink to paticular column but my problem is every time when i click it is redirecting to the same page, i want to display different page after clicking different hyperlink and if we want to insert another value in the datagridview it should automatically give hyper link to different page with respect... -
hot to insert image path
hi
I am creating travels project,
I have to sstore image path in the sqlserver and i want to retrive image in the datagridview.. please sought out my problem..
athank you
raghu -
how to insert image in datagridview
hi,
I created image table and i inserted the values using c# but i am not able to display it in the datagridview, please sought-out my problem -
how to create for image table
hi
how to create image table in the SQL database, i wrote small querry just look at these
CREATE TABLE Product_image1 (
[imageID] [int] IDENTITY (1, 1) NOT NULL ,
[ProdID] [int] NOT NULL ,
[img_name] [varchar] (50),
[img_data] [image] NULL ,
[img_contenttype] [varchar] (50) )
after debuging it shows that , successfully completed
but how can i... -
hi dip
i created the login information in my website but if want to update the profile of paticular login member what r the process just send me sample codding
thank you in advanceLeave a comment:
-
hi shashi thankyou for your reply
but i did small coding in which i can update the table but it is updating every one's information but i want to update the profile only that person who logedin
just go through my codding and make any changes
protected void Button1_Click(o bject sender, EventArgs e)
{
SqlConnection con = new SqlConnection(" user id=sa;password= vubrain;databas e=raghu;data source=vubrain4 ");...Leave a comment:
-
hi dip i am trying the same you said but i am geting the same error in the dropdownlist1_s electedindexedc hanged as i earlieri mentioned you
please solve my problem
thank youLeave a comment:
-
just check my code
protected void Button1_Click(o bject sender, EventArgs e)
{
SqlConnection con = new SqlConnection(" user id=sa;password= vubrain;databas e=raghu;data source=vubrain4 ");
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "userlogin" ;
cmd.CommandType = CommandType.Tex t;
SqlParameter...Leave a comment:
-
Asp .Net: How to update database row
hi
i want to place all the values of a paticular login member and i want to update his informatin,
for example i want to update his phone no. and address etc..how can i do that ,right now iam developin web application by C#
,please sught out my problem.
thank you in advance
raghu -
hi mishra
just look at my code where i did mistake
Code:protected void Page_Load(object sender, EventArgs e) { if (Page.IsPostBack == false) { SqlConnection con = new SqlConnection("user id=sa;password=vubrain;database=raghu;data source=vubrain4"); SqlDataAdapter da = new SqlDataAdapter("select countyr_id,countryname from country_master",
Leave a comment:
-
-
hi usha thanks for your reply but my problem is
if i select a country from dropdownlist1 then it should give all states of selected country in dropdownlist2 and its capital should be placed in the textboxt box..
but i am getting all list of states of all country,if v select one country..
please sought out my problem
thank you in advance...Leave a comment:
No activity results to display
Show More
Leave a comment: