13,153 Topics

Member Avatar for
Member Avatar for babydol

Hi I am new to programming in asp.net with c#. I am using visual studio 2010. I am trying to insert data entered by a user into the database. My code is as follows: [CODE] adsStudents.InsertParameters["Stu_ID"].DefaultValue = txtStudID.Text.ToString(); adsStudents.InsertParameters["Stu_Name"].DefaultValue = txtName.Text.ToString(); adsStudents.InsertParameters["Stu_Passwd"].DefaultValue = txtPasswd.Text.ToString(); adsStudents.InsertParameters["Stu_Prog"].DefaultValue = ddlProgramme.SelectedValue.ToString(); adsStudents.Insert(); //add a …

Member Avatar for babydol
0
109
Member Avatar for axman1000

I have 3 ASP list boxes. I would like to populate the second list box based on the selection in the first list box and based on the selection in the second list box, populate the third. I would like to do this using AJAX. How can I do it? …

Member Avatar for axman1000
0
1K
Member Avatar for mrjimoy_05

Hi guys, I have problem with my login script. I am using VB.Net (ASP.Net) to do that things. Here is the code: This is the code for Default.aspx page [CODE] User Name: <asp:TextBox ID="userID" class="txtbox" runat="server"></asp:TextBox> Password: <asp:TextBox ID="password" class="pwdbox" runat="server" TextMode="Password"></asp:TextBox> <asp:LinkButton ID="login" class="button" runat="server">&nbsp;Login&nbsp;</asp:LinkButton> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ …

Member Avatar for mrjimoy_05
0
807
Member Avatar for puppyhappyluck

Error while trying to run project: Unable to start debugging on the web server. There is no managed code running in the process. In order to attach to a process with the .NET debugger, managed code must be running in the process before attaching. How to solve this? Please Help......Thanks..

Member Avatar for DhCoder
0
144
Member Avatar for puppyhappyluck

As I already set the initial web page to debug, but it still keep prompt me this error message. I even check the project properties already, but it keep prompt me this. Running the project requires setting an initial web page. To set this page, right click the desired page …

0
53
Member Avatar for omarshoaib

i want to develop profile like facebook in asp.net with c#

0
103
Member Avatar for alam14_mist

[CODE] ListView listView1 = new ListView(); DataTable dataTable = new DataTable(); MoneyReceiptGateway moneyReceiptGateway = new MoneyReceiptGateway(); dataTable = moneyReceiptGateway.SelectDataForListView(narrationTextBox.Text); string[] str = new string[dataTable.Columns.Count]; foreach (DataRow rr in dataTable.Rows) { for (int coll = 0; coll <= dataTable.Columns.Count; coll++) { str[coll] = rr[coll].ToString(); } ListViewDataItem li; li = new ListViewDataItem(str); …

Member Avatar for alam14_mist
0
242
Member Avatar for georgegra

I'm getting the old "Validation of viewstate MAC failed" error when I click the submit button on my form. (See [url]http://blogs.msdn.com/b/tom/archive/2008/03/14/validation-of-viewstate-mac-failed-error.aspx[/url]) The thing is I'm getting the error even when the page is completely loaded (it can be sitting there for five minutes before I hit submit but I still …

Member Avatar for georgegra
0
140
Member Avatar for paresh_thummar

Hi I want to store query result in single variable like if query is "select count(*) from tablename" , and it return suppose 21 records (integer value) then I want to save this value in my database during insertion of record what should i write in place of question mark …

Member Avatar for Akash Saikia
0
1K
Member Avatar for onat12`

Hi, I am creating an login page connected to a database. I am using access ODB. the problem is, if the user makes an wrong input, and the invalid data message box appeared, when typing the data again, and press ok, the following exeption occured: Not allowed to change the …

Member Avatar for onat12`
0
3K
Member Avatar for paresh_thummar

hi Friend i have a problem to create user through Membership provider I Wrote [CODE] try { Membership.CreateUser(txtbox1.Text, txtbox2.Text); Response.Redirect("AHome.aspx"); } catch (Exception ex) { Response.Write(ex.Message); } [/CODE] and I got "The password-answer supplied is invalid. Exception" Please Help Me......

Member Avatar for paresh_thummar
0
184
Member Avatar for Joe318

Hi, I'm joining 2 tables and using the formview. When I insert a record, I need to place the value of the max id + 1 of the second table in a field in the first table so that the tables are linked. I'm not sure where to put the …

0
109
Member Avatar for Robins Antony

Hi frnds, I`ve learned from a site that Microsoft kills LINQ to SQL. URL follows: [url]http://ayende.com/Blog/archive/2008/10/31/microsoft-kills-linq-to-sql.aspx[/url] Actually, I was planning to use LINQ to SQL in my next project. Now I`m confused!. Is it true? Regards Robins

Member Avatar for Mike Gale
0
73
Member Avatar for victortiago

Hello Guys, I'm in need of aid, what I'm needing is a page with login and password made ​​in C # with. net the only thing I can not do is make the page validate pulling information from the database, can I help? If someone has a very simple model …

0
35
Member Avatar for mayankdvd1

I have a datatype date in sql.I have to insert this value through asp.net. I have a textbox that takes date value in asp.net.How o convert this into date datatype so that it is accepted by sql Thanks in advance

0
53
Member Avatar for markymark180

Hi apologies as I guess this has been covered on a number of occassions, but I am very much new to web devt and am struggling to patch code snippets on google results on similar sounding queries into my own. I have been coding a page, which has an iframe, …

Member Avatar for Akash Saikia
0
2K
Member Avatar for loganwasif005

hi every one i m doing software engineering and i have basic fundamental know how of all of them i want to select 1 or 2 of them and want to master them i need help and you opinion plz tell me which one is batter and why thanks

Member Avatar for kvprajapati
0
48
Member Avatar for muze

hello guys... I read some articles to deploy my web site on IIS 7 which I followed exactly I was told to. Now simple aspx pages are deployed successfuly but web applications that have database with it, are not deployed as expected. For example, I have stored my user name …

0
61
Member Avatar for Blaine Tuisee

I'm trying to close and application using C# and ASP.NET. I've tried system.windows.forms.application.exit() but it just refreshes the screen. I tried Environment.Exit(0) but that just ended the application and returned an error in the browser. Please help anyway you can!! Thanks!

Member Avatar for RogR
0
4K
Member Avatar for khan43

Hi I am trying to edit security into my website which I have created in visual studios 2008 using asp.net. If I copy the URL into a new tab within internet explorer, it does not seem to log me out. I would like it to log me out due to …

0
56
Member Avatar for studentoflife

Hi, can anyone help me with this one? Whenever I try and use the website administration tool I get the message above straight away. I've searched a lot for a solution but can't find one that works. I have tried running aspnet_regsql.exe, tried changing the default browser, tried restarting IIS, …

Member Avatar for Fortinbra
0
233
Member Avatar for peachy0685

Hi, I'm developing a website using .NET 3.5 and I'm having problems with the asyncfileupload control. The problem occurs when you upload a file, and then try upload the same file again. On the second upload, none of the clientside nor serverside methods fire. Everything works fine if you upload …

Member Avatar for sharana
0
628
Member Avatar for prakulsol

Hi everyone, My page need to be automatically refresh in every 20 minutes and get the data from table and show it. This I did simply. The time is calculate from when I load my page (i.e) If I load my page at 10:25 AM then it automatically refresh at …

Member Avatar for Pgmer
0
103
Member Avatar for ProgrammerAt

I have a page signup.aspx where user can register, how this page will find from which page request came from and how it will redirect user after registration to the requesting page, i want to do this using query string but don't know how PLZ SHOW ME CODES. i am …

Member Avatar for Derice
0
108
Member Avatar for judithSampathwa

Hi there, i have a question in C#.NET report viewer. i save the phone number in the database as (234) 233-1346 . so if the use doesn't type in a phone number it will be saved as [() - ] which is show in side the squared brackets, without the …

Member Avatar for judithSampathwa
0
155
Member Avatar for game4tress

I think that my website [url]http://www.game4tress.com[/url] has performance issues when dealing with classes. If i let each web page load for some time, it works fine, if when the web page loads i immediately click on a link, some times the page craches and gives me an "unknown error" in …

Member Avatar for Fortinbra
0
72
Member Avatar for judithSampathwa

Hi there can some one provide me with a tutorial to create a login in C#.NET MVC. i am using visual studio 2010 and i am new to this. I have a little bit of idea on MVC but when i try to come to create a login page (web …

Member Avatar for judithSampathwa
0
167
Member Avatar for ShaggyDogg

Hi, Not sure if my question belongs in an ASP.NET or MSSQL forum.. I have an ASP.NET webpage built in VS2010 with an Input field with the functionality to browse to a network directory, select a text file, read content and upload the data to an MSSQL database table. Nothing …

Member Avatar for ShaggyDogg
0
787
Member Avatar for axman1000

I have 3 ASP list boxes. I would like to populate the second list box based on the selection in the first list box and based on the selection in the second list box, populate the third. I would like to do this using AJAX. How can I do it? …

Member Avatar for peter_budo
0
346
Member Avatar for kyriakos70

Hello, I have installed vb .net 2008 express and sql server 2008 express, vb .net 2008 express install (with no option of custom install) sql server compact enu. When I try to create an ado application I see no option for the sql server to insert an ip (like sql …

0
65

The End.