print, assign and logon
-
hi ppl, i'm facing three problems can anyone guide me. it will be of great help. i'm using vb.net and ms access as database. the problems are as follows:- 1). I have a database with one table named project name with only one field. what i need is to get any particular record from that table to be displayed in a textbox named txtproject. 2). another problem is that i have a web form with 3 textboxes, 3 labels and 1 button named print. what i need is to get is that on click of button only the text fields of labels and textboxes to print on paper. 3). The problem is that i want to create a logon page. i have a database in access which has one table and two coulmns username and password. how do i do it. Thanks and Regards Manik
-
hi ppl, i'm facing three problems can anyone guide me. it will be of great help. i'm using vb.net and ms access as database. the problems are as follows:- 1). I have a database with one table named project name with only one field. what i need is to get any particular record from that table to be displayed in a textbox named txtproject. 2). another problem is that i have a web form with 3 textboxes, 3 labels and 1 button named print. what i need is to get is that on click of button only the text fields of labels and textboxes to print on paper. 3). The problem is that i want to create a logon page. i have a database in access which has one table and two coulmns username and password. how do i do it. Thanks and Regards Manik
1. Look at the System.Data namespace for connecting to your DB and running SQL against it 2. I doubt you can do it, you need a button that says 'print view' which renders what you want to print in a new window. 3. The web is full of info on how to create a login page using the built in features of ASP.NET. Christian Graus - Microsoft MVP - C++
-
1. Look at the System.Data namespace for connecting to your DB and running SQL against it 2. I doubt you can do it, you need a button that says 'print view' which renders what you want to print in a new window. 3. The web is full of info on how to create a login page using the built in features of ASP.NET. Christian Graus - Microsoft MVP - C++
Hi Chris, Thanks For your advice. But the first Problem i'm still not able to figure out how assign value to textbox. a bit of code will help. If possible please help me. Manik
-
Hi Chris, Thanks For your advice. But the first Problem i'm still not able to figure out how assign value to textbox. a bit of code will help. If possible please help me. Manik
You need to look up references before asking, because otherwise you'll never learn how to work stuff out for yourself. If you have a TextBox, called tb, then tb.Text = "This is the Text" will assign a value to a TextBox. Christian Graus - Microsoft MVP - C++
-
You need to look up references before asking, because otherwise you'll never learn how to work stuff out for yourself. If you have a TextBox, called tb, then tb.Text = "This is the Text" will assign a value to a TextBox. Christian Graus - Microsoft MVP - C++
Thanx Chris for your valuable sugesstion of how to assign value to textbox but the question here was to get only one record from a list of records in database. ne ways i solved the problem. i think you are right that everyone should learn on their own. Thanks and Regards Manik
-
Thanx Chris for your valuable sugesstion of how to assign value to textbox but the question here was to get only one record from a list of records in database. ne ways i solved the problem. i think you are right that everyone should learn on their own. Thanks and Regards Manik
manik nath wrote: i think you are right that everyone should learn on their own. Hi Manik. I didn't mean that you shouldn't ask for help, just try to solve the problem yourself first. And perhaps explain it better, I read your second to last response as meaning you didn't know how to set a string to a textbox, and because that's such a basic question, I answered it AND said that for questions like that, you really shouldn't need help. But, by all means, ask for help when you're stuck, that's what this forum is for. Christian Graus - Microsoft MVP - C++