13,153 Topics

Member Avatar for
Member Avatar for kvkumar

Dim LogonControl = CreateObject("SAP.LogonControl.1") Dim conn = LogonControl.newconnection this is vb.net code.how to use this in csharp.net. in asp it is used like--server.createobject("Sap.logoncontrol.1") please help me. thank u.

Member Avatar for kvprajapati
0
42
Member Avatar for RAMAN2233

I was successfully able to publish and browse an application in my system,but when i tried to do the same thing in a "test" system I was able to view the login page but when I tried to login I am getting the following error "Cannot convert type 'ASP.mainmenu_aspx' to …

Member Avatar for kvprajapati
0
44
Member Avatar for Tank50

Hi I want to write asp.net page with crystal reports.I pass parameter to reports.Once I press submit button its ask database user name and password.How I stop asking user name and password in every time. Thanks Tank50

Member Avatar for kvprajapati
0
97
Member Avatar for dontknowwhat

[b]Split from - [url]http://www.daniweb.com/forums/thread49692.html[/url] [/b] I have the same problem. Please help. Thank you very much

Member Avatar for kvprajapati
0
28
Member Avatar for psathish2

Dear all, [B]aspx file[/B] [code] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" CellPadding="10" CellSpacing="1" OnRowDataBound="GridView1_RowDataBound" OnSelectedIndexChanged="GridView1_SelectedIndexChanged"> <Columns> <asp:BoundField DataField="g_id" HeaderText="S.no" ReadOnly="True"/> <asp:BoundField DataField="gcdate" HeaderText="Date" /> <asp:BoundField DataField="gc_no" HeaderText="G.c #" /> <asp:BoundField DataField="consignor_detail" HeaderText="Consignor" /> <asp:BoundField DataField="consignee_detail" HeaderText="Consignee" /> <asp:BoundField DataField="qty" HeaderText="Nos" /> <asp:BoundField DataField="package_type" HeaderText="Contains" /> <asp:BoundField DataField="total_amount" HeaderText="Amount" /> <asp:BoundField DataField="acc_type" HeaderText="Remark" …

Member Avatar for kvprajapati
-1
366
Member Avatar for ja3_bhende

I am working on asp.net project in VSS 2005.Currently whenever I add a new web form,project file gets checked out and form gets added in VSS automatically.But I want to add a new web form loacally without affecting current VSS status.and I want to add this web form in VSS …

0
66
Member Avatar for mdwhite76

Greetings All, I'm relatively new to ASP.NET and I'm currently working on a site that has a treeview used to navigate through the site. The problem is the first page on the site (home page) when initally loaded pulls a ID from a URL via QueryString. This works when the …

Member Avatar for jbisono
0
67
Member Avatar for virtualmisc

Hello Friends I have an email address on an asp.net and i want it so, if you click on it and outlook will open, is it just making the email address a normal link or is it a mail to? Thanks

Member Avatar for jbisono
0
70
Member Avatar for mith_cool

I am currently storing the values retrieved from the user form including image supplied by the user to sql database. The image is stored in the database but at the time when am trying to retrieve that image am getting the following exception Parameterized Query '(@name varchar(8000))select firstname,image from register …

Member Avatar for mith_cool
0
257
Member Avatar for ksp_852005

below is my code....i m gettng "System.InvalidCastException: Specified cast is not valid." error in my code...m new on asp.net n sql...m trying to build login area....but unless n until i solve this error i can't move forward n as m new, m not gettng y m gettng dis error... can …

Member Avatar for padtes
0
253
Member Avatar for RAB123

[b] Split from - [url]http://www.daniweb.com/forums/thread62371.html[/url] [/b] [QUOTE=ra18279;282758]thanks for the info[/QUOTE] Hello... i am also facing same issue. Please give me answer. Thanks in advance

Member Avatar for kvprajapati
0
146
Member Avatar for ja3_bhende

I have added blank row in a datatable and assigned that datatable to gridview to make gridview columns visible for first load.But template checkbox control is still visible.I want to find that checkbox and make invisible in this case.

Member Avatar for kvprajapati
0
80
Member Avatar for kdcorp87

what is the difference between httppathrequest and server.mappath. i mean r they return different path ? i uploading file use httppahrequest and it works fine in my pc iis7, but when i run in server it didnt work. but server.mappath work in both

Member Avatar for kvprajapati
0
82
Member Avatar for Nfurman

Hello! How can I insert into DB date using DetailsView. I have variable: [CODE] DateTime now=DateTime.UtcNow; [/CODE] I need to send it's value into the database automatically when an user inserts new record in my DetailsView. The code: [CODE] <asp:DetailsView ID="DetailsView1" runat="server" AllowPaging="True" AutoGenerateRows="False" CellPadding="4" DataKeyNames="id" DataSourceID="SqlDataSource3" ForeColor="#333333" GridLines="None" Height="50px" …

Member Avatar for kvprajapati
0
208
Member Avatar for owenshiri

can some one help me please with this issue? i have created a tinymce extender to my textbox. it works fine in IE (ie displaing and saving) but it doesn't work at all in Firefox. i am uing Firefox 3.6

0
49
Member Avatar for cgib

I created a .net (c++) dll which I'm using with a com application. In order to use the dll with com, I ran the sn,gacutil, and regasm/tlb utilities. Now, I added a dll from Microsoft Enterprise Library to my dll. When running the app, I get an error that the …

Member Avatar for Fbody
0
73
Member Avatar for Nfurman

Hi, I need some free picture viewer to plug him into my aspx page. It should have to navigation buttons << | >>. Can somebody advice me some?

Member Avatar for Nfurman
0
86
Member Avatar for bonnysammy

Hi! I have a static sitemap for a site now. I need to make it so that I can display/not display an option according to data found in the database. I know that the Stored Proc returns the correct information. It's a record that has either a 0 or 1 …

Member Avatar for reach_yousuf
0
81
Member Avatar for capiono

Hi, I have a asp.net form that uses form authentication. I want to now implement a role base security buy don't how. Please could someone help me with a sample code on how to do this . Thanks.

Member Avatar for Seoconsultant78
0
55
Member Avatar for yabhie

please help someone help me.. i need to create a phonebook application, if else, i will fail in my subject. Or help me to insert data on mircrosoft sql server using a save button. please someone... asap.. thanks!

Member Avatar for shankbond
-2
107
Member Avatar for mahdiahmadirad

[B]How to Change default settings for ACT HTML Editor?[/B] I want to load editor with for example Selected Bold Button or with rtl direction instead of ltr defaultly. How can I perform that? I overrided FillTopToolbar() method to add Custom buttons but I dont Know how to change default settings. …

Member Avatar for ghmcadams
0
95
Member Avatar for gauthamnagpur18

HI i am planning to create a SQL IDLE using asp.net and C# . in that i am going to implement 4 modules : 1) Student Login module 2) Student Teaching Module (like w3schools.com ) 3) Student Feedback module (personalized feedback ) 4) correction module Now my problem is that …

0
67
Member Avatar for rocky1989

hiiii....im dng a project of creating a website[B]([B]forum)[[/B]/B]....now i need to design it really well so that it luks gud to users...........like this site daniwebb has ben designed... i hav done arnd 3-4 website proj but not been able to provide a gud design and interface....so if anyone can help …

Member Avatar for apegram
0
68
Member Avatar for Ana_Developer

I want to call a javasript function once a checkbox is checked and then enable a button in the function. How can I assign the javascript function to the check box event? Thanks!

Member Avatar for apegram
0
128
Member Avatar for dawsonz

I'm trying to create a login system that checks the username and passsword from an sql database. I've created a local server named coffee that has a table named 'users' - I have created fields for username & password. I'm using ASP.NET web application and I want to connect to …

Member Avatar for dawsonz
0
128
Member Avatar for MARKAND911

How to get timer_tick event in Asp.net. i am making one web server control. i want to add timer control in its property. please give some examples of property which uses timer control in it.

Member Avatar for kdcorp87
0
488
Member Avatar for ritaaiw

hello , I have problem in my academic project. In my project their is module which based on video implemention.I use asp.net(MVC) technology.I am tring for that but still I have problem so plz help me . I am waiting for reply. Thank u!!!!

Member Avatar for kvprajapati
0
42
Member Avatar for aspgasket

I am in need of help above I am trying to create a formview with textboxes and two dropdownlist thats coming from two different sql tables, the user will pick from each table and the information will populate in HoldingDock tbl. The problem I am facing is the behind code …

Member Avatar for Danilomol
0
120
Member Avatar for tuckerblue

I have a few C# questions too, but this is mainly an ASP problem I think. All the code I mention below takes place in the code-behind of my Master Page. I worry a lack of knowledge on master pages may be the problem too. Excuse the database name; my …

0
67
Member Avatar for Nonki

Hi, I'm new to Asp.net and I'm using Oracle database. I'm having no luck getting my gridview to update. When I test my update query in the datasource it updates but when I use the gridview it gives me this error "ORA-01036: illegal variable name/number". Please help.[code]<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ …

Member Avatar for kdcorp87
-1
210
Member Avatar for Lokesh_S

Hi all, I've hosted my application at shared server. So, after 10 - 15 minutes my session object "userid" is expiring and throwing error "Session object userid is not instantiated" I want to check my session object exists or not. I've already used if(Session["useid"]=="") but it is throwing error. Is …

Member Avatar for padtes
0
91
Member Avatar for Abhishek_Boga

Hi Sir, I was trying hard to get the image on the Crystal report when the user selects the formid from aspx form in .net. Kindly let me know how to save the image in the database by coding so that whenever I select the formid the image should display …

Member Avatar for kvprajapati
-1
75
Member Avatar for psathish2

hi ... [B]javascript:[/B] [code] function calc() { var qty=eval(document.getElementById('<%=txtnoofpack.ClientID %>').value); var fre=eval(document.getElementById('<%=txtFregiht.ClientID %>').value); var ha=eval(document.getElementById('<%=txthamai.ClientID %>').value); var dd=eval(document.getElementById('<%=lblDDcharge.ClientID %>').value); document.getElementById('<%=txtamt.ClientID %>').value = qty * fre + dd + ha; var ser=eval(document.getElementById('<%=txtsertax.ClientID %>').value); var am=eval(document.getElementById('<%=txtamt.ClientID %>').value); if(am >= 750 ) { document.getElementById('<%=txttot.ClientID %>').value = ser * am + am ; } …

Member Avatar for psathish2
0
152
Member Avatar for vuyiswamb

Good Day All. Am binding the treeview from a Database and it gets populated and am sorting it after this way [CODE]SortTree(CurriculumTreeView);[/CODE] [CODE]private void SortTree(TreeView tv) { if (tv.Nodes != null) { for (int i = 0; i < tv.Nodes.Count; i++) { TreeNode node = tv.Nodes[i]; SortNode(node); } } }[/CODE] …

0
56
Member Avatar for dskumar_85
Member Avatar for DeepakBisht

hi all, Is this is there any way in asp.net to create object of a web form in any other web form to access its member function ??

Member Avatar for Ashesh Shah
0
595
Member Avatar for dumbncool

Hi, I have a gridview to which I'm adding template fields programmatically. Each of the template fields have a textbox. I would like to make this text box have 2-way binding to a database column. Please see below code. [CODE]public class CustomEditItemTemplate : ITemplate { private DataControlRowType templateType; private string …

Member Avatar for kvprajapati
0
165
Member Avatar for nihirrshah

I have a column structure in gridview account dept1 dept2 dept3 1 1 1 1 1 1 2 12 3 1 3 12 These rows are different records from database. I want to have account dept1 dept2 dept3 1 1 1 1 2 12 3 1 12 Is there a …

Member Avatar for kvprajapati
0
69
Member Avatar for SanchitPaurush

[b]Split from - [url]http://www.daniweb.com/forums/thread95019.html[/url] [/b] I am also facing the same problem. I have developed an asp.net project in 3.5 version and it looks different in Mozilla and IE. also when the ie window is in restore mode (means in small size) all the content get mixed. Help me out …

Member Avatar for kvprajapati
0
70
Member Avatar for dhivyamsc

I'm creating a material management website i need to search a record from sql server 2005 and have to update or delete it.I used ado to connect to server

Member Avatar for madmital
-1
55
Member Avatar for bonnysammy

I'm sure I'm missing something that is fairly easy, but I can't get it to work. I have a SQL Update Stored Proc. In this SP, the Primary Key can be modified. So, First I check if the PK is changing, then if it is, I check to see in …

Member Avatar for madmital
0
320
Member Avatar for kanuri1

hi here i wants to show the room numbers by using the following code but it is not working. here iam giving the code plese give the proper coding [CODE] Dim conn As New SqlConnection(ConfigurationManager.ConnectionStrings("guest1").ConnectionString()) conn.Open() Dim da As New SqlCommand("select room_no from guesthouse where room_no not in(select room_no from …

Member Avatar for madmital
0
82
Member Avatar for coollife

i have a checkbox inside a datagrid when i select few checkboxes in 1st page and when i move to 2nd page the checked status of 1st checkboxes disappear(they become false) one more doubt if i want to make a checkbox true which is in 3rd page how to do …

Member Avatar for kvprajapati
0
85
Member Avatar for solomon_13000

I do come across many sites that teaches how to create a link that expires. I decided that once a person registers and if successful the person will be taken to a thank you page. In that thank you page, the person will be introduced to a one time offer. …

Member Avatar for TinsaeG
0
96
Member Avatar for sandeep.snl

how can we handle exception ,make entry to log file using Microsoft enterprise library in Asp.net Web Application.

Member Avatar for sandeep.snl
0
83
Member Avatar for Traicey

Hi All I have datagrid with a dopostback javascript, right now it looked click-able, when I hover with a mouse it select the entire row, except one thing when I click it doesnt do anything, I need to select a row in my datagrid and pass the values of the …

Member Avatar for Traicey
0
127
Member Avatar for Calvin Nguyen

Hi all, I have a Windows Communication Foundation service which queries the Entity Framework and retrieves data in the form of Entity objects. I'd like to serialize these objects to JSON and send them back to the client to be interpreted in Javascript. It seems this is tricky, according posts …

0
40
Member Avatar for kanuri1

hi iam getting in date_of_arr field crystal reports like, [U]date_of_arr[/U] 2/2/2010 12:00:00AM i wants to get only 2/2/2010,,,,,,,,, how it is possible........... help me pls........... give me any sites ,,,,,,,,,for solving this problem.........

0
46
Member Avatar for madcloud

Hi all! I would like some help for getting a value out of a selected row of a datagrid. To do this i used the following code but it returns an empty string (DG is my datagrid) string val = DG.SelectedItem.Cells[1].Text; Response.Write("*"+val+:*"); The rouput of this its: ** although there …

Member Avatar for Kapil Vaichalka
0
1K
Member Avatar for kdcorp87

i don't want to use crystal report. i want to print a fromview or gridview in my printer by c# code in a webfrom. window.print() pint the whole page i want only the selected part will be print by pressing print button. .................................................thanks

Member Avatar for kdcorp87
0
150

The End.