12,085 Topics

Member Avatar for
Member Avatar for pikkas

I have a gridview with 3 columns Name,Surname,Change(ButtonField column) which is populated from an SqlDataReader with the following code [CODE] SqlCommand sqlCommand = new SqlCommand("select * from Empl where userId ='" + userid + "'", sqlConnection); sqlConnection.Open(); SqlDataReader reader = sqlCommand.ExecuteReader(); GridView1.DataSource = reader; GridView1.DataBind(); [/CODE] In my database there …

0
78
Member Avatar for yelolimo

Hello all, I've been struggling with this for the last 3 days and just can't seem to figure out where the breakdown is occurring. I have successfully extended an existing class and have added a new property to that class. However when I go to pass the value into the …

Member Avatar for Pgmer
0
163
Member Avatar for naveenchander

Hi, I am new to ASP.Net. I would like to know if there is a way by which I can Call a Serverside script through a Javascript. Or else is there a way to Postback a page through a javascript function. Thanks in advance Thanks, NaveenChander

Member Avatar for chandrannew
0
234
Member Avatar for Spacelama

I am new to asp.net and need some help with this error below. Ofcourse it will be obvious like i didnt correctly used the right tag. But still need help with this... Thanks Compiler Error Message: CS1061: 'ASP.lidworden_aspx' does not contain a definition for 'vNaam_TextChanged' and no extension method 'vNaam_TextChanged' …

Member Avatar for hericles
0
204
Member Avatar for juliapattrick

I have explored this forum but not getting results to learn theory about asp.net.I would appreciate if someone could help me.

Member Avatar for kvprajapati
0
59
Member Avatar for G_Waddell

Hi We have two identical web servers in a farm and I need them to be able to share Session variables as I do not know which machine the user will be using at any given time i.e. if a user where to log in to a site on server1 …

Member Avatar for vikramrandhawa
0
231
Member Avatar for judithSampathwa

hi, i am creatnig an windows desktop application. and in the main form i have a menu stript. what i want to do is attached one user control to eacn menu stript. each user control has a different design. how can i do this??? any tutorial

Member Avatar for nick.crane
0
206
Member Avatar for G_Waddell

Hi All, I have a section of my site that allows users to upload and download files. For security issues, We use a com object to take the file as a binary stream and store it on our network off of the web server (under a different randomly generated file …

Member Avatar for G_Waddell
0
315
Member Avatar for vuyiswamb

Good Morining All i have an asp.net hosted in IIS. that uses the Com library "Microsoft Word 14.0 Object Library". I am using this to convert the word Document to PDF, on my machine it works. I have Office 2010 on my machine and on the server we have installed …

0
81
Member Avatar for Archades

So I am working on a small project. A video game uses a scripting engine called LUA so people can create their own UI modifications in game. Which is why I am also using LUA. I am trying to convert this LUA function into a VB.NET function and... [ICODE] local …

0
98
Member Avatar for Aties

i have one array [{"id":23,"name":"Video Clips"},{"id":15,"name":"Deleted Scenes"},{"id":9,"name":"Music Albums"},{"id":7,"name":"Trailers"},{"id":18,"name":"Short Films"},{"id":21,"name":"Movie Clips"},{"id":1,"name":"Movies "},{"id":4,"name":"Plays"},{"id":22,"name":"Scenes"},{"id":2,"name":"TV Show"},{"id":5,"name":"Kids"},{"id":16,"name":"Interviews"},{"id":11,"name":"Film Songs"},{"id":14,"name":"Making of Movie"}] after the split this array i get value== value== value=="id" value==23 value=="name" value=="Video Clips" value== value== value=="id" value==15 value=="name" value=="Deleted Scenes" value== value== value=="id" value==9 value=="name" value=="Music Albums" value== value== value=="id" value==7 value=="name" value=="Trailers" value== …

Member Avatar for Aties
0
108
Member Avatar for judithSampathwa

hi there, i have a question with the address text box. i am coding in C#. at first user enters the counrty. and then he enters the zip code. the state should pop up. for eg: if 60333 comes the relevant state should come up in the textbox called state …

Member Avatar for judithSampathwa
0
147
Member Avatar for greyhound

Hi, I'm really stuck on hooking into the clientside events of the validationsummary. It is showing correctly when form fields are invalid but I would like to do something fancy like fade the summary in on form submission and fade it out again after a few seconds. This should be …

0
121
Member Avatar for mk09

Hi friends, i have an html file access denied issue only at windows 7 and windows xp and exacpt IE 8 like IE 7 it's works fine and only have this error at IE 8 at windows 7 pc. function __doPostBack(eventTarget, eventArgument) { if (!theForm.onsubmit || (theForm.onsubmit() != false)) { …

0
39
Member Avatar for maitri123

Hi i have used multiple layer in my web application. my db of sql server 2008 is in other machine and stored procedure has defined there. I want to retrive data from 1 table from db and bind with gridview as well as if i select 1 row that row …

Member Avatar for Moss ali
0
868
Member Avatar for cocoll

hello. i write comments(documentation) with the code behind in asp.net or web application using visual studio 2010,so i need now to generate the xsd file of these comments. for clarifying what i mean with comments or documentation this is what i mean: [CODE]/// <summary> /// Daniweb /// /// </summary> /// …

0
38
Member Avatar for xdg996678

Hi there I am writing/revising an asp.net (vb) website the main function of the site is to fetch data from a SQL server and present it to users based on 'filters' that they apply (It for football statistics) currently a session variable is used to store the unique match_id's, and …

0
52
Member Avatar for doncustard

Hi folks, I'm looking for examples on MVC where I can compare table/records/fields side by side A sort of database explorer. I could do this in web forms using the 'old' style post backs and click events but I'm unsure how to approach this from an MVC starting point. So …

0
69
Member Avatar for butz17

guys, i need some help here regarding on the appearance of my background image for my table. i tried to place the image already inside the folder "WebApplication1" where my project is located but the image still is not visible in my table. im using the Mozilla Firefox as my …

Member Avatar for butz17
0
231
Member Avatar for becool007

Hello DaniWeb :) For very long I've wanted to develop and venture into the Win32 API and make programs like I find on the internet. Show the world my creativity. I made a simple calculator with a GUI and Menu bar from scratch. I was proud but I was shattered …

Member Avatar for Frederick2
0
302
Member Avatar for ssreevidya.m

hai , I used LINQ in application. I want to perform batch update. For that i used the code as: [CODE] int[] istudentId = new int[]; int j = 0; for (int i = 0; i < GrdStudent.Rows.Count; i++) { if ((GrdStudent.Rows[i].FindControl("chkSelect") as CheckBox).Checked) { istudentId[j] = ObjStudent.Student_Id; j++; } …

Member Avatar for stbuchok
0
143
Member Avatar for Sheffy Kalra

is anybody knows how to pass array through sessions in asp.net using csharp????

0
35
Member Avatar for dwinn

Hello, I am attempting to put a list box in to my program, so that when the page loads, a list of files from my FTP site appear. I also want it so that a file can be selected on the screen and downloaded. Is there a way to do …

Member Avatar for codereflex
0
671
Member Avatar for Moss ali

[code]if (row.Cells[2].Text.ToString() == "&nbsp;") { txtstreet.Text = string.Empty; } [/code] Help me out pls. I want to check row.cell[2].Text for null

Member Avatar for Moss ali
0
154
Member Avatar for speak2ab

I am trying to connect to crystal report from Visual Studio 2010 but i realised my SQL database should have SQL authentication instead of windows. I have tried several approaches to achieve this without luck. Will appreciate some help.

Member Avatar for speak2ab
-1
90
Member Avatar for judithSampathwa

hi i am using C#.net to code. I am using windows desktop application. I have a main form with a menu stript. and in that i have add details update details and some other menus too. i want to know how can i design a interface for each menu stript. …

Member Avatar for nick.crane
0
269
Member Avatar for krunalkakadia

hi all, i am generating crystal report. i am using sql server 2008 and VS 2008. problem is that data isn't printing in report. [code] ReportDocument rptdoc = new ReportDocument(); private void bindreport() { con.Open(); string filepath = Server.MapPath("~/")+"Reports/SampleCrystalReport.rpt"; rptdoc.Load(filepath); DataTable dt = new DataTable(); SqlCommand cmd = new SqlCommand("select …

0
68
Member Avatar for mansoorcore

Hello everybody. could i convert my c# desktop inventory application to asp.net web-application ??. is it possible if yes please let me inform. thanks in advance.

Member Avatar for shrnmlss6
0
188
Member Avatar for Jhon100

I have the following code that displays data from a. Mdb, they are displayed in descending order. I have the problem that I want the results to be displayed from 10 to 10 for each page as it now displays all the data at once. If someone helps me create …

Member Avatar for stbuchok
0
92
Member Avatar for rosiec

I have a submit button that inserts user entered data into a database. It was working perfectly fine until I migrated the project to the host server. The database query is still functional and displaying my data in the GridView (I checked by manually inserting some data into the database …

0
46

The End.