13,153 Topics

Member Avatar for
Member Avatar for hatebin

hello ! I'm working on a Registry page for my webSite in ASP and I'm trying to get results of a prcedure from my database which is checking if there is any duplicates of loginNames or emails when there is inserting to Dbase. The problem is I can't finde any …

Member Avatar for poojavb
0
198
Member Avatar for mani508

hello i want to hide some controls in repeater asp.net using c# how its possible...?? i want to hide or disable linkbuttton and edit or delete button in repeater control of asp.net..how its possible kindly tellme as soon as possible... thanks in advance.....

Member Avatar for hericles
0
104
Member Avatar for coolbeanbob

I know .NET is a Microsoft framework. I currently use Visual Studio 2008 for C++ programming in school. Am I using .NET? What is .NET? More specifically, is C++ a .NET framework by default? Does it just relate to the class libraries?

Member Avatar for nmaillet
0
98
Member Avatar for androtheos

I have a console application that I need to run a stored procedure in but I'm getting this error: a t S y s t e m . D a t a . S q l C l i e n t . S q l C o n n …

Member Avatar for Momerath
0
281
Member Avatar for muhammad ismail

I am working on Admin panel of Asp.Net Site.As usual first task in this case is of User Management.I dont know how to assign different roles to different users. i am using SQL SERVER 2005 on the back end. i dont know that either i create users from back end …

Member Avatar for Maryprogza
0
170
Member Avatar for Goomba79

Hello, I am new to asp.net i have had some experience making windows in vb.net (VS2010) I am trying to get my web to query a database then I want to display some of the returned data. the code I have is.. Imports System.Data.OleDb Partial Class Demos_Iain Inherits System.Web.UI.Page Protected …

Member Avatar for poojavb
0
157
Member Avatar for mani508

hello i want to display data from multiple tables with multiple rows using repeater control in asp.net using c#? how its possible tell me as soon as possible ...???

Member Avatar for mani508
0
196
Member Avatar for Argo54325

Hello, I have a repeater that has multiple controls in them such as checkboxes, dropdownlists and textboxes. In my case I have a repeater with two items in it. The first items list works fine, but the second has two textboxes returning the initial value that was bound on page …

Member Avatar for androtheos
0
186
Member Avatar for VasquezPL

Hi guys, I have found interesting code.. Unfortunatelly I dont know how to use it :/ [CODE]public void Delete(string ouPath, string groupPath) { if (DirectoryEntry.Exists("LDAP://" + groupPath)) { try { DirectoryEntry entry = new DirectoryEntry("LDAP://" + ouPath); DirectoryEntry group = new DirectoryEntry("LDAP://" + groupPath); entry.Children.Remove(group); group.CommitChanges(); } catch (Exception e) …

Member Avatar for muralijoshi
0
1K
Member Avatar for coolbeanbob

Hello, I know nothing about web development or ASP.NET. I started a tutorial tonight that consisted of cutting and pasting code into the editor. Now I am getting an error with the code I have cut and pasted. Does anyone know what is wrong with calling the RenderBody() on line …

Member Avatar for kvprajapati
0
86
Member Avatar for Maha Sh.

Hi all, I am trying to write a code for logout, and I want to clear session My code Protected Sub Button2_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button2.Click Session.Abandon() Response.Cookies.Add(New HttpCookie("ASP.NET_SessionId", "logAccount")) Response.Redirect("WebForm5.aspx") End Sub and i want to disabling browser's to go back please hellp !!!!

Member Avatar for hericles
0
161
Member Avatar for shers

Hi, I'm quite new to Web Development. I'm creating a web site and it has a Registration Page where I managed to create the form. But when the user clicks on the 'CreateUser' button, how do I display a message on the form to show that the User is created. …

Member Avatar for androtheos
0
679
Member Avatar for ravidaniweb

hi this is my connection string SqlConnection conn = new SqlConnection("Data Source=RAVI-PC\\SQLEXPRESS;Initial Catalog=personals;User ID=sa;password=sa;Integrated Security=True"); SqlDataAdapter da = new SqlDataAdapter(" select * from table_2", conn); DataSet ds = new DataSet(); da.Fill(ds, "table_1"); conn.Open(); Actually my doubt is how to insert(data entered in texbox) and delete and update view record from …

Member Avatar for nuevoenjava
0
224
Member Avatar for mani508

hello i want to add two buttons in page like and dislike .. user can like only one time also shows the values of likes pressing button(means like counter value show) and if user dislike then decrement in likes value how its posssible in asp.net using c#?

Member Avatar for bharat_4g
0
1K
Member Avatar for muhammad ismail

I have Designed a webpage in asp.net using CSS file, now i want to set my this page as a Asp.net masterpage and then i want to inherit my other pages from this page

Member Avatar for JorgeM
0
111
Member Avatar for UtaChan

Ok I simply don't know how I am going to do this here is what I need: I have exercises in my db (question id,question text field,close/open(bool) field,right answer field and 3 wrong answer fields which are null unless it is a closed question) What I want to do is …

Member Avatar for bharat_4g
0
231
Member Avatar for jazz1011

Guys i am trying to make an ASP web application for a small organization. They want is that barcode reads the information of the bill which means that whatever User have taken from a grocery store, barcode reads the 1. Bill Number 2. Amount 3. Date 4. Store Name 5. …

Member Avatar for jazz1011
0
191
Member Avatar for UtaChan

Here is the code (content is the name of my <div>): foreach (Exercise ex in exs) { Label label = new Label(); label.ID = Convert.ToString(ex.ex_id); label.Text = ex.ex_text; TextBox textbox = new TextBox(); textbox.Width = 100; textbox.ID =Convert.ToString(ex.ex_id); id_counter++; content.Controls.Add(label); //content.InnerHtml += "<br />"; content.Controls.Add(textbox); } It crushes on the …

Member Avatar for UtaChan
0
177
Member Avatar for atlachar

Hi, I have an aspx page in that when i select check all option and when i click on submit its popping an error message length of the query string exceeds th max query string value.so i have done lot of modifications on web.config file none of the changes are …

Member Avatar for aquamarine_kath
0
1K
Member Avatar for aquamarine_kath

I want to display values in a listview within another listview. I already displayed values in the parent listview(lvPackage) but I don't know to insert values in the child listview. I'm using mysql. My only problem is that I don't know how to display values lblPackAct in child listview(lvPackAct). Here's …

0
145
Member Avatar for mani508

hello i want to write a filedownload code behind html button how its possible...?? i don't know how to write asp.net(c#) code behind html button on click event?

Member Avatar for mani508
0
295
Member Avatar for edfinley

How can I log a user on automatically once they have been identified with a cookie in C#? Membership.ValidateUser("membersUsername","membersPassword") will let me know if it's a valid user but it won't log them on.

Member Avatar for edfinley
0
120
Member Avatar for GTTravis

Hi Guys, I am extremely new to ASP.net using C# the task i have at hand is as follows: Page Load Tasks 1. Ensure that the LDAP is online first and if it is not provide the user with a message plus send a outlook mail to the administrator. Once …

Member Avatar for nuevoenjava
1
114
Member Avatar for neoseeker191

I have looked through a few SQL hierarchy tutorials, but none of them made much sense for my application. Perhaps I am just not understanding them correctly. I'm writing a C# ASP.NET application and I would like to create a tree view hierarchy from SQL data. This is how the …

Member Avatar for Momerath
0
4K
Member Avatar for lokmani

Hello My webpage is opening on many urls ex: [http://www.cmpsol.net/acer-support.aspx](http://www.cmpsol.net/acer-support.aspx) and it is also opening on [http://www.cmpsol.net/acer-support.aspx/hp/rss/dell-support.aspx](http://www.cmpsol.net/acer-support.aspx/hp/rss/dell-support.aspx) and many you can after .aspx , it will open. currently i have made a permanent redirect to main url. i want show it as error pages. So how can i fix the …

Member Avatar for G_Waddell
0
159
Member Avatar for bilal_fazlani

hi, This is a bit complex.. I have 2 nested repeaters.. and 3 datasources(in markup) <asp:SqlDataSource ID=data1 runat=server ConnectionString="<%$connectionstrings:MainServer %>" SelectCommand="select MatrixRiskFactorId,Name,MaxWeight from Matrixriskfactor" ></asp:SqlDataSource> <asp:SqlDataSource ID=data2 runat=server ConnectionString="<%$connectionstrings:MainServer %>" SelectCommand="select * from MatrixQuestion" ></asp:SqlDataSource> <asp:SqlDataSource ID=data3 runat=server ConnectionString="<%$connectionstrings:MainServer %>" SelectCommand = "select MatrixRiskFactorId,Value,text from MatrixRiskFactorScore where MatrixRiskFactorId=2"> <repeater id=rep1 …

Member Avatar for G_Waddell
0
560
Member Avatar for Paladine

This a just a basic webform setup of a listbox being populated with data from a database, in this case the Northwind Access database, and then populating textboxes with data related to the item the user selects. [u]1. WebForm [/u] -Create an ASP.NET webform page -Add a [b]listbox server control[/b] …

Member Avatar for HamplusTech
0
2K
Member Avatar for soft_coder

Hi I am facing the following the following problem. I have 2 ListViews and 2 DataPagers - 1 for each. Now when I paginate first DataPager the second DataPager page index is getting reset to 0. So, the second ListView is getting reset to the first page. Any kind of …

0
79
Member Avatar for Ashfa

Hi, I have a grid view having image and labels. But i want to do that,,, when i select a record or click on an edit button with particular record,, this record should display in a form view or detail view in editable form... form view/detail view should contain, text …

Member Avatar for G_Waddell
0
123
Member Avatar for varoluscu_prens

Hi There; I am learning how to establish a connection to mysql in c#. Here are my codes : using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using MySql.Data.MySqlClient; public partial class _06_web_form_elemanlari_08_button : System.Web.UI.Page { protected void connect(Object Sender, CommandEventArgs arguman) { try { MySqlConnection …

Member Avatar for G_Waddell
0
221

The End.