13,936 Topics

Member Avatar for
Member Avatar for snehalj

[code] string s = TextBox1.Text; string[] s1 = s.Split(new char[] { "&" }); Console.WriteLine(s1[0]); Console.WriteLine(s1[1]); [/code] above code giving me error as 'Cannot implicitly convert type 'string' to 'char' ' pls give me solition.

Member Avatar for raj_developer
0
57
Member Avatar for dotnextnewb

Hello, Can anyone please help me with the Image Reflection. I want to put use some or group of images/icons in WPF App. I want their reflection as well. I am using Border opasitymask for each image but I think that is not the right way to code. I want …

0
77
Member Avatar for Dha...1

I'm planning to buy a few books for C++. I want to learn C++ at it's deepest. You may say, I want to be C++ program developer. I'm currently having C++ in my study courses too. Which are recommended books? This thread has a huge list of books. Don't think …

Member Avatar for rsravi74
0
156
Member Avatar for sanapathan
Member Avatar for ranu jain

[CODE]Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'Dim userName As String = Request.QueryString("Name") 'MsgBox(userName) Session("id") = Session("id") Dim userName As String = User.Identity.Name Dim usr As MembershipUser = Membership.GetUser(userName) 'Email.Text = usr.Email Email.Text = usr.Email ConfirmEmail.Text = usr.Email MsgBox("jhjkh") ' ConfirmEmail.Text = usr.Email End Sub …

Member Avatar for @sansan
0
120
Member Avatar for AngelicOne

I don't know how to do this in windows application. I have a query to select all from a table and bind its value to the objects but I don't know how to do this with radiobuttons. I usually do my code like this in ASP.net for radiobutton to determine …

Member Avatar for Momerath
0
115
Member Avatar for glennt

I have an ASP.NET application that runs one way when I run it within Visual Studio 2010 (the way it should), but when I publish it onto the web server and run it there, it runs differently. I have reset IIS (iisreset), shutdown and restarted the web site, deleted the …

Member Avatar for MichaelWClark
-1
115
Member Avatar for jackparsana

Hi, please help me to know how to backup and Restore the Database. I am newer in backup topics. please help me. thanks jack

Member Avatar for smantscheff
0
112
Member Avatar for bhbooton

I am creating a asp.net master page with a menu (asp:Menu) that is populated from a web.sitemap. My client wants the format of the page to meet his already existing html pages. I'm trying to manipulate the borders surrounding the menu items. So far, all I've found is the ability …

0
81
Member Avatar for stolikp

Where should I keep connection object to database like ISession or SQLConnection? What's the best solution and why ? Is it Application, Session or Items ?

Member Avatar for glennt
0
122
Member Avatar for snehalj

[CODE]using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { string connectionString; connectionString =("Data Source=INTRANETSERVER1;User ID=sa;Initial Catalog=HrData"); SqlConnection myConnection = new SqlConnection(connectionString); SqlDataAdapter …

Member Avatar for snehalj
0
514
Member Avatar for rupalelink

hi all I m making one web aplication in that i want to Programmeticaly set DPI parameters and scan the document with no save facility to user. pls help.

0
34
Member Avatar for DeepakSonee

Dear All, I am opening the excel file to create the object of that excel file using 'Microsoft.Office.Interop.Excel'. It is working fine with file system and local iis server on windows xp operating system. But when running the same code on windows 2003 operating sytem on local iis pagerequest time …

Member Avatar for DeepakSonee
0
553
Member Avatar for vinayak.v

hi.... i've created one ssrs report it works good im my system.. i.e http://localhost/reportserver$sqlexpress but how should i execute in different system... if i enter the system name then it is showing page cannot be displayed.. i.e http://sys1/reportserver$sqlexspress (page cannot be found) please help me..

0
78
Member Avatar for Krstevski

Hello friends, I wrote a simple class for string validation and now I want to share with you. The class contains: - Constructor(s) public Validator() public Validator(string text) - Properties private string strText = string.Empty; - Method(s) public bool isNullOrEmpty() public bool isNullOrEmpty(string str) public bool isLengthMax(int maxLength) public bool …

Member Avatar for Momerath
1
245
Member Avatar for ibdatx

Hi, I have a listbox that is bound to a textblock as target and also has an xml file as source. My problem now is the correct syntax for inserting another listbox in between the listbox and the xml file. My code is shown below... <Window x:Class="newTestApp.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" …

0
139
Member Avatar for daniyoyo

I have web project and window project.Web project reference from window project and I want to debug from web project to source code in window project. Where do I setup to look for debug source code in window project. I copied all source code from another computer. but on another …

0
91
Member Avatar for sssor1

Hi everyone, [I]The error:[/I] It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. [I]what I'm doing:[/I] I need to enable forms authentication for only one of my pages. …

0
46
Member Avatar for vinayak.v

hi.... as u all know about ssrs reports... now i'm using the crystal reports and i want to go through ssrs reports can anyone answer the following question. 1)what is the need of ssrs... 2)and why we should use ssrs.., 3)what are the advantages 4)what are the disadvantages 5)how it …

Member Avatar for MichaelWClark
0
133
Member Avatar for mkimad
Member Avatar for vinayak.v

hi... to all the following code is to deploy the reports programatically... i've one problem .. by using the filestream it takes more time to load the reports.. hence burden on server.. is there any option or any solution to make less burden on server.... one more thing the records …

0
64
Member Avatar for guru_tech

Well i can see lot of career related questions are posted here So i thought i could contribute something for youth. with more than 5 years of Experience in above subjects I have decided to take classes. Location : Mumbai . Subjects: C Java: Java Basic. Advance Java. C#. VB …

Member Avatar for masijade
0
192
Member Avatar for nebyas

Dear Friends, I devloped a web application in ASP.NET/ Sql Server 2008 and tested in development pc. It is working fine. But when it is deployed in Server running windows 2003/ IIS 6/ Sql Server 2005 and 2008, it is giving access error. "Error 26. Cannot access the database". I …

0
54
Member Avatar for new SE

Hi I am using Ajax Slide Show extender to show my images. Everything works fine. Now what I want is when the anyone clicks on any particular image it should show them that particular image in another window or popup etc. this is code when user click the image but …

0
94
Member Avatar for eng.amira

Hello i am working now to design a new website my problem is that i cannot insert in to my DB i use access as my Data Base when i click the update tool in the grid view an error msg appears 'No value given for one or more required …

Member Avatar for eng.amira
0
93
Member Avatar for dotNetDummi

Hi all, I want to retrieve some data from the database and return as a datatable. However, it does not work. I tried both methods that I could find in the Internet, but it's not working. May I know what have I done wrong? The datatable is returned as null …

Member Avatar for quangvo
0
362
Member Avatar for sssor1

Hi everyone, I'm trying to write and application where some fields of a database table are viewed via "GridView". one of the columns of the gridview is a "Commandfield" which contains a "SelectButton". When the buttons is clicked a new window is supposed to open and show more fields of …

0
89
Member Avatar for QueenKirsty

I have built a data viewer in C#.Net for the accounts department that allows them to dig through cubes of financial data and export sets to excel but my boss has asked for the ability to create and manipulate pivot tables (based on this data) within the application rather than …

0
64
Member Avatar for amar_devloper

hi i have create one usercontrol in that i get one grid view and that usercontrol i have use in my page gridview template............. my problem is how to handle event of user control grid view? plase tell me:( my code <%@ Control Language="C#" AutoEventWireup="true" CodeFile="topic.ascx.cs" Inherits="Admin_topic" %> <div style="padding-left:15px"> …

Member Avatar for rohand
0
1K
Member Avatar for suryasasidhar

i created setup for my window application. i want to change the icon of my setup file help me thank u.

Member Avatar for ravishankarkota
0
96
Member Avatar for Pukhraj.Jain

I have developed a website in ASP.net. It opens only in Internet Explorer not in any other browser. I dont under stand what is the Problem. The website is [url]www.zenindiainfotech.com[/url] Please some one help me. What should I do in order to make it open in other browser?

Member Avatar for Borzoi
0
26
Member Avatar for davidbrennan

I have 4 entities Product no Enumerable interface ProductFieldLookup has Enumerable interface Lookup no Enumerable interface LookupType has Enumerable interface var pfl = (from pflSet in p.ProductsFieldsLookups where pflSet.IsAvailable = true select pflSet).ToList(); I want to retrieve lookups data that is connected to the returned list and apply a filter …

Member Avatar for davidbrennan
0
114
Member Avatar for hanes84

Hi anyone can help me edit VB6 code to VB.NET code cause i have been working on it and still can't get any thing on it. there are some code which cannot be recognise by .net pls help.

Member Avatar for bagraoprasad
0
252
Member Avatar for sindhu24

Hi I two tables EVENT AND PACKAGE.EVENT TABLE has an autogenerated id column called EVENTID. i HAVE to take this eventid and insert into package table from c# code.Can anybody give me the sample syntax for doing this.Thanks in advance

Member Avatar for amitdotchauhan
0
32
Member Avatar for daniyoyo

I want user to be able to click print button and it will print document in web page. I try to use [B]window.print(); [/B]but it prints everything including transparent font color. I want to print document without printing transparent object. How can I do this??

0
107
Member Avatar for Smithy566

Hi all, to simplify my problem, I'll use a quick example. Imagine I have a class of 'Cat' which has accessors for things like 'name', 'colour' and 'height'. I then put these cats in a list [CODE]List<Cat^>^ catList;[/CODE] I want to be able to search this list based on the …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Roses89

Hey guys, Im using visual studio 2010 to work on a project. The project is to build a website for a hospital. Now the login has three types of user logins, patient, doctor and administration. The login is the default one in visual studio 2010, and for each type of …

Member Avatar for Roses89
1
107
Member Avatar for MaSSaSLaYeR

Hellow! I'm having a problem to get the inserted values from the detailsview. I've tried the following things: [CODE] // Get Value from DropDown int TopicID = 0; foreach (DetailsViewRow row in ItemsDetailsView.Rows) { if (row.Cells[0].Text == "Topic") { DropDownList TopicDropDown = (DropDownList)row.Cells[1].FindControl("Topic_TopicIDList"); TopicID = int.Parse(TopicDropDown.SelectedValue.ToString()); } } MsgBox(CType(DetailsView1.Rows(1).Cells(0).Controls(0), Label)) …

Member Avatar for MaSSaSLaYeR
0
168
Member Avatar for farooq82

Hello Everyone, I am create a shopping application. I have load all products to gridview with a button with rowcommand event. When I click on add cart button the current row will be add to a object of girdview row. Now how will i get value of qty which is …

Member Avatar for guru_sarkar
0
134
Member Avatar for Aamit

Hi, I am transferring file from folder audio to data folder. suppose file abc.mp3 is transferring into audio folder. how to check through program i.e abc.mp3 is full loaded(transfer). then transfer to data folder. like abc.mp3 is 2 mb when start loading into audio folder after some time(sec) audio-> abc.mp3 …

0
67
Member Avatar for junkdell

Can someone tell me which is the best place for .net training in bangalore? Thanks

Member Avatar for trainitgal
0
147
Member Avatar for gopinath.swe
0
82
Member Avatar for AndiBakker

I've read a couple of posts and links that show how to migrate using vs 2005 or 2008. Is it advisable to migrate from 1.1 straight to 4.0 using visual studio 2010 or must we first migrate to 2.0 using either vs2005 and then migrate to 4.0. Which would be …

0
129
Member Avatar for sakurayana

hye friends..... i need your help....i want to multiply 2 data.....the price from the database and the quantity from the textbox.....the total is in the textbox also.it should be like this price * quantity = total....so,i dont know how to do it....i've tried many ways but it stil error...by the …

Member Avatar for kumar169
0
128
Member Avatar for ryathegr8

hi i m using vista OS n trying to download free version or trial version of microsoft visual studio 2005 0r 2008 enterprise or professional edition ...but its makes problem ..some times compatability and some times upgrading problem..... . can anybody give me a link for MS VS 2005 0r …

0
49
Member Avatar for nikisen

Hello I am using a webservice with autocomplete. it is getting all customer from my database. but the issue is that i need to passt hru a selected value from a radiobutton list to just get the customer form the choosen area webservice code Public Function GetCompletionList(ByVal prefixText As String, …

0
53
Member Avatar for Shiban

[CODE]Guys I've a problem. I'm using access 2007. The file name has an extension .accdb . I created a table called 'login' in the db file named 'MySite_Database.accdb'. My HTML looks like this : [COLOR="Red"]<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="login.aspx.vb" Inherits="login_to_site._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for orclboy
0
1K
Member Avatar for Peric

I've started to work something with ASP.NET in c# (i'm newbie), and i have a question: I've a DataGrid and inside DataGrid i have Columns with TemplateColumn, BoundColumn and ButtonColumn. I've binded DataSet to my DataGrid and it's all working fine but I want to know how can I programmatically …

Member Avatar for Peric
0
62
Member Avatar for sakurayana

hye fren...i'm using asp.net and sql express 2005 right now.....my problem is how i want to select 2 table from the database because i'm using a gridview......?anyone?thanks in advance.....

Member Avatar for hassan12345
0
136
Member Avatar for ameenu

The End.