13,936 Topics

Member Avatar for
Member Avatar for SQL_dba

Hi world. I am trying to READ mail from an exchange server from within .net without using IMAP or POP. Both of these protocols are blocked - for security reasons - and I have an app that needs to read email in order to provide a best practice intranet solution. …

0
68
Member Avatar for Ycefire

Hi there, I'm havin a session with value of ID. I need to create a query for GridView to show only values linked with user mentioned in session. So my question is if theres any way how to modify my code which isnt working. [code] <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DbConnStr …

Member Avatar for Ycefire
0
112
Member Avatar for Omar123

Hello, I added a button from code and with it i added onclick event. here is the code [CODE] Button button = new Button(); button.ID = link; button.Text = "1"; button.Click += new System.EventHandler(this.button_Click); private void button_Click(object sender, EventArgs e) { System.Web.UI.WebControls.Image im = new System.Web.UI.WebControls.Image(); im.ImageUrl = ((Button)sender).ID; //ID …

Member Avatar for Freon22
0
148
Member Avatar for datapham

Pls help me , i can not run it correctly with "AddNew, Update, Update, Delete, Cxl" , i have tried many ways but no effect ? My database has 5 tables , i choose one which has 7 columns , the 7th col (name = "ID") is identity number (1/1). …

Member Avatar for kvprajapati
0
136
Member Avatar for bhupendrajain

can we move from one language to another language.so user can enter the details in the specific language.

Member Avatar for kvprajapati
0
66
Member Avatar for ashab27

hi, plz tell the select command of linq in asp.net i know all sql command , but linq dont know.

Member Avatar for kvprajapati
0
147
Member Avatar for Rohith Reddy

Hi, I have developed a small application which makes use of ajax combo box drop down list. Problem is it is taking time while getting loaded on internet explorer. But i have seen it to work normally on other browsers. Can any one suggest me how can even make it …

Member Avatar for kvprajapati
0
60
Member Avatar for danjoe15

The Catch section is always executed even if the Try section has been executed. I am trying to send the user to one page if the delete worked properly and a different page if the delete did not work because of relationships between tables: [CODE] Protected Sub btnDeleteBuilding_Click(ByVal sender As …

Member Avatar for danjoe15
0
105
Member Avatar for virang_21

Hi Folks, I have created a login page that allows user to login to the system. I have a table in database called Users (userid, password, roleid) . When I try to login with proper user id and password the system let me login and redirects to proper page but …

Member Avatar for Naresh Sharma
0
72
Member Avatar for Cronox26

Hi there I make a control for my web base program in VB.Net 2005 I use the style sheet [css] for make it see like a modal pop up. I make the css style with the IE, Fire Fox , safari specification and work great but when fire fox make …

0
63
Member Avatar for bharattripathi

Hi guyz I have a problem with page-load event. When i m runing the website on local host it is working fine but On putting it to web space there is problem with page load event where on page load it is showing "Object reference not set to an instance …

Member Avatar for bharattripathi
0
83
Member Avatar for fiaolle

Hi I'm trying to set a property in the User Control. I see that the property is set when I'm debugging. But when I'm using the property in a method in the User Control the property is set to 0 everytime. I don't understand why. Here is the code I'm …

Member Avatar for reach_yousuf
0
211
Member Avatar for bhavu4u

HI!! All I have one big problem for which i am not able to find solution. Here is My problem I Have one asp page on which i am generating Dynamic TabPanel all the controls like textbox ,combobox,buttons, are also generated [B]dynamically on tabpanel[/B] now on the button click i …

0
65
Member Avatar for tymaut

Hello, I am working on a multiuser web page where people log in and do some stuf(database related) What i need is for people to register a username in the same database table that i use, and stay logged in to the page when they use the system, so that …

0
53
Member Avatar for Ycefire

Hi there, I'm a beginner in ASP.NET with VB and I'm stuck on problem with a SQL query. I'd like to ask you for advice what does my page or config file miss. thats how my form looks like [CODE] <form id="form1" runat="server"> <div style="margin: 0 auto; width: 180px;"> <asp:Label …

Member Avatar for Ycefire
0
807
Member Avatar for Dimansu

hi, In my Dataset I have 3 columns "EducationLevel","Skill" and "PreferenceType".In the report I have a field called marks.I give marks adding above 3 column values.i.e If "EducationLevel" is (High,15 marks),(Medium,10marks),(Low,5 marks). If "PreferenceType" is ("First" 15 marks),("Second" 10 marks),("Third"5 marks) If "Skill" is (High,15 marks),(Medium,10marks),(Low,5 marks). The Marks field …

Member Avatar for Dimansu
0
172
Member Avatar for tan123

Hi, In my asp.net application (an inhouse software) I want users to be able to use files from Network (filepath stored in database). I use the following code to download the files: string strAttachmentID = ((Label)GridViewNotes.Rows[GridViewNotes.SelectedIndex].FindControl("lblAttachmentID")).Text; int AttachmentID = Convert.ToInt32(strAttachmentID); Attachment attachment = Attachment.GetAttachment_ByAttachmentID(AttachmentID); string str = @"\\" + attachment.FilePath; …

0
34
Member Avatar for suryarao

hi, in my application i am using a music player for playing the audio (premiumbeat.com) royalty music player. Which is working fine when audio file placed directly. But in my application the audio file comes from the other page in a query string how can i write the code for …

Member Avatar for kvprajapati
0
563
Member Avatar for bharattripathi
Member Avatar for suryarao
Member Avatar for fiaolle

Hi I want to make my own login box to popup when I click a button Is there a way to do that? I don't want a whole page for the loging in part. I just want something like the msgbox, but with two textboxes and two buttons for login …

Member Avatar for kvprajapati
0
75
Member Avatar for rohitmanhas_12

Need to delete the selected item from the dropdown from the database with the button click.Also when user clicks the delete button i need to show the alert or confirm dialog box for confirmatiuon that user realy want to delete that item....plz help me ...

Member Avatar for Freon22
0
1K
Member Avatar for raul15791

Hi, I have a problem here. I have a project running on localhost. Whenever I made some changes on a .aspx file, the changes can be seen immediately when I access my localhost. But when I made changes in aspx.vb file, the localhost still showing old info. * I have …

Member Avatar for raul15791
0
1K
Member Avatar for cndnbcn

So, I've been trying to get a page to update items in an MS SQL database forever now, trying different methods here and there having nothing working. I finally got one method to work using a datagrid thing, and it's fine for the test table I'm using. But when it …

0
75
Member Avatar for emilio

how can i create GridView Template column with a textbox programmatically from code behind ?

0
67
Member Avatar for nccsbim071

hi, i have a website where i provicde a link. On clicking the link a controller action method is called to generate a zip file after creation of zip file is done, i show the link to download the zip file by replacing the link to create a zip with …

Member Avatar for nccsbim071
0
293
Member Avatar for ankushggarg

hi everyone, I am using asp.net 3.5 and sql server 2005. I am accessing data using javascript functions. Now I need to store that data in database. Can anyone help me? Thanks for your help in advance............

0
46
Member Avatar for john_beginner

Hello all of you, i m trying to get image from database to asp:repeater for that i am using one handler page but not able to get the image here is the code for asp:repeter [code=C#] <asp:Repeater ID="rep" runat="server" > <HeaderTemplate> <table> <tr> <th> Image</th> <th> Basic Information</th> </HeaderTemplate> <ItemTemplate> …

0
79
Member Avatar for jarceri

Does anyone have any ideas on what is available? I don't feel like writing my own MVC forum software at the moment.

0
81
Member Avatar for adobe71
Member Avatar for sniigg

Hi all, I am creating a checkbox dynamically on page load. [code] using (SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["SimplifyNew"].ToString())) { SqlCommand cmd = new SqlCommand("usp_selectModifiedResults", conn); cmd.CommandType = CommandType.StoredProcedure; conn.Open(); SqlDataReader reader1 = cmd.ExecuteReader(); while( reader1.Read()) { System.Web.UI.HtmlControls.HtmlGenericControl DivCheck = new System.Web.UI.HtmlControls.HtmlGenericControl("DIV"); DivCheck.Style.Add("float","left"); CheckBox cb = new CheckBox(); DivCheck.Controls.Add(cb); bradbandPanelTarget.Controls.Add(DivCheck); cb.ID …

Member Avatar for reach_yousuf
0
279
Member Avatar for nikitaxcavn

[B]Hi, I get the below error...plz tell me how to solve it...it comes when i upload my application n check in browser[/B] Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the …

0
45
Member Avatar for MISJoe

I am working on a Web App, coded in VB.net Here is some code and I'll explain it, Hope I use the code tags properly [CODE]<asp:LoginView ID="LoginView1" runat="server"> <LoggedInTemplate> Only Logged in users can see this <asp:LinkButton ID="LinkButton1" runat="server"/> <!-- This is a Rich Text Editor --> <FTB:FreeTextBox id="FTB1" Width="600px" …

Member Avatar for reach_yousuf
0
99
Member Avatar for MARIJA_A

So my problem is : student([COLOR="red"]STUDENT_ID[/COLOR],name,surname) address([COLOR="red"]STUDENT_ID[/COLOR],city,number,state) additional_info([COLOR="red"]STUDENT_ID[/COLOR],what,why,when) [COLOR="Red"]IF STUDENT_ID IS IDENTITY , THEN THE PROBLEM IS EASILY SOLVED BY DECLARING A NEW VARIABLE WITH THE COMMAND SET SCOPE_IDENTITY , BUT IN MY CASE , ID_STUDENT IS FROM TYPE NVARCHAR, BECAUSE THE FORMAT OF THE ID SHOULD BE xxx/yyyy WHICH …

Member Avatar for reach_yousuf
0
94
Member Avatar for nikitaxcavn

Hi My web Application has some problem to connect it with localhost..it does not show any compilation error but it shows a blank web page..i checked IIS,its working perfectly...even windows apps is also working properly...cant find out the error and dnt knw how to solve it... pleaseee help me....

0
51
Member Avatar for twilitegxa

I have a checkboxlist and I need to know how I can send the values of all checked items to a text file. I already have other controls on the form sending their values to my text file, but I don't know how to get the values of the checked …

0
74
Member Avatar for PierlucSS

Thank you for reading, I am currently trying to pass through a project or whole sites containing many pages to determine wether they are xhtml-strict or not with a local xhtml-strict.dtd file. I cannot go through a webservice it would be too overkilling for server and host might even probably …

Member Avatar for PierlucSS
0
238
Member Avatar for amby

Hi, I have a javascript object which is converted from json to java script object. i want to display its values like after each key value pair, i want to insert new line. but i dont know exactly how to do that. below is my code, please take a look …

Member Avatar for amby
0
253
Member Avatar for waheedabro62

Hi Every One: I am creating some textbox and button dynamically and adding them to one panel (plane created statically) and placing this panel to update panel (update panel created statically)now what next i do how i define trigger please help me i am novoice in Asp.net Ajax plz help …

Member Avatar for vuyiswamb
0
53
Member Avatar for dnanetwork

how do avoid multiple login of users from different browser..? i mean first i logged in from IE next i logged in from Mozilla.. now if i'm once logged in .. i want to show user a message that u r already logged in i'm using membership framework.. any help..?

Member Avatar for vuyiswamb
0
99
Member Avatar for scorpio222

hi, i have designed a web service which would create 2 csv files on the system. I want to send the links to the location of the files as an url attachment over the aspx page. like : ([url]http://)[/url] myserver/download.aspx?file1=C:\temp\image1.png&file2=C:\temp\image2.png i kept http in brackets so that you can read …

0
55
Member Avatar for princymathur

hi i want to insert a textbox value into one column of a table. bt wht i m getting error as: Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near '{'. the code is [CODE]SqlCommand comm = new SqlCommand("insert into Sample {'email_id'} values("+ TextBox1.Text+")", conn);[/CODE] how should i do it if i dont …

Member Avatar for vuyiswamb
0
126
Member Avatar for AparnaBhise

i use this method to fill data grid [code] public void fill() public void fill() { SqlConnection con = new SqlConnection(connStr); con.Open(); SqlDataAdapter da = new SqlDataAdapter("Select * from Dept_Master", con); DataSet ds = new DataSet(); da.Fill(table); } public void BindDG() { GridView1.DataSource = table; GridView1.DataBind(); } public void Nrow() …

Member Avatar for dnanetwork
0
146
Member Avatar for neriahfred

I'm developing a mobile website using vb.net but having set my tools right as I read somewhere, I've having an object reference...null error from the sqladapter line. I'm trying to authenticate by checking the db for username and password and granting or denying access asthe case maybe, here's my code, …

-1
57
Member Avatar for sanbal

Hi, I am new to asp.net can any one of you please tell me how to do the below scenario. I am having a set of menus in my web site. In a menu I want to restrict a menuitem access ie the user with the admin access can view …

0
71
Member Avatar for tonymuilenburg

Hi, I'm trying to loop through multiple textboxes in a C++ form using visual studio.net 2008 to set the selection start for each. The code for a single textbox is easy: [CODE] textBox1->SelectionStart = 4; [/CODE] When I try to assign textBox1 to a Control variable, and assign selection start, …

Member Avatar for tonymuilenburg
0
178
Member Avatar for qasimidl

[code=text] CREATE FUNCTION dbo.GetDuration(@FromDt as datetime) returns varchar(255) as BEGIN DECLARE @YRS AS SMALLINT, @MNT AS SMALLINT, @DY AS SMALLINT, @Fvalue varchar(255) SET @YRS = DATEDIFF(YY, @FromDt,GETDATE()) SET @MNT = DATEDIFF(MM, @FromDt,GETDATE()) % 12 SET @DY = DATEDIFF(DD,GETDATE(), DATEADD(MM, (@YRS 12) + @MNT,@FromDt) ) SET @Fvalue = CAST(@YRS AS VARCHAR) …

Member Avatar for coryloriot
0
68
Member Avatar for ramindya

THIS IS A ASP.NET Web APPLICATION NOT WINDOWS FORMS Problem/ Question: To search a child node anywhere in the treeview. I need to type a Node name in the textbox and search the node name in the Treeview and highlight the node name on finding. I don’t how to do …

Member Avatar for nil
0
483
Member Avatar for john_beginner

hello all of u ! i m begging in c# and making one program in asp.net ! i have very simple query , [code=c#] public partial class _Default : System.Web.UI.Page { public String str; protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { str …

Member Avatar for john_beginner
0
153
Member Avatar for vik85

Hi Guys I am working on asp.net and C# i had problem with enter key. I used the master page and i created the login module on the master page .i used to asp.net default Validator for validation.but when i go to the registration page and hit the enter the …

0
58

The End.