13,153 Topics

Member Avatar for
Member Avatar for |-|x

I was just about to post asking how to do this when I stumbled across the solution. All my research on the web suggests that the only way is to use stored procedures with an output parameter. Unfortunately, my queries are necessarily dynamically generated, and output parameters do not work …

1
105
Member Avatar for Mike Askew

Hi there, I have two tables in my data entity model accessed by StaffDB. Staffs contains: StaffID FirstName LastName Address Town County Postcode YearJoined CurrentGrade Role Ratings contains: RatingID StaffID Date Rating1 (automatic to avoid conflict with table name also of rating) Comments These are linked by StaffID. I am …

Member Avatar for thines01
0
977
Member Avatar for goltu

I created two parentgridview and childgridview . [CODE] <asp:GridView ID="ParentGridView" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" DataKeyNames="l_no" onselectedindexchanged="ParentGridView_SelectedIndexChanged"> Columns> <asp:TemplateField HeaderText="Letter Number"> <ItemTemplate> <asp:Label id="l_no" Runat="Server" Text='<%# Eval("l_no") %>'/> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="name Department"> <ItemTemplate> <asp:Label id="nam_dep" Runat="Server" Text='<%# Eval("nam_dep") %>'/> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="View"> <ItemTemplate> <asp:Button ID="ViewChild_Button" runat="server" Text="+" CommandName="Edit" /> </ItemTemplate> …

Member Avatar for sufyan2011
0
143
Member Avatar for Shodow

here i have 2 listbox i already have the code for the selected item moving right and moving left but i don't know how to move all of the listbox1 to listbox2 by just click >> or listbox2 to listbox1 <<

Member Avatar for Shodow
0
167
Member Avatar for jbisono

Does anybody here have some experience calling a web service from android? Please help. Im using ksoap2 android 4.0 thanks for any info.

Member Avatar for jbisono
0
153
Member Avatar for jacob21

hello i am new in asp.net and in sql i want to fetch all different data of same id no and this data make addition to each other how it possible such as invoice_no dabit 111 50 111 100 111 20 according to above sql query select * from table …

Member Avatar for jacob21
0
89
Member Avatar for Nastadon

So I've used datagrids a few times, but never with a masterpagefile. I thought it would be the same, but it doesn't seem to be working for me... [CODE]<%@ Page Title="Products" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="F._Default" Debug="true" %> <%@ Import Namespace="System.Data.OleDb" %> <script runat="server"> Sub Page_OverLoad() Dim dbconn, sql, dbcomm …

Member Avatar for phoenix911
0
85
Member Avatar for binoy.mathew

Hello, I am basically a fresher in ASP.NET. I am building a website that has large contents of text data. The site also has a quiz based on some articles. I have two questions: 1) Which is the best way to store large amounts of text data? Is it good …

Member Avatar for binoy.mathew
0
450
Member Avatar for bhagyap

Hi.. Following is my code:- public static void Sync(string sourcePath, string destinationPath) { bool dirExisted = DirExists(destinationPath); //get the source files string[] srcFiles = Directory.GetFiles(sourcePath); foreach (string sourceFile in srcFiles) { FileInfo sourceInfo = new FileInfo(sourceFile); string destFile = Path.Combine(destinationPath, sourceInfo.Name); if (!dirExisted && File.Exists(destFile)) { FileInfo destInfo = new …

Member Avatar for bhagyap
0
218
Member Avatar for Simran Kaur

Hi friends, I have downloaded VS Express 2010 edition from Microsoft website. I want to convert a VB 6.0 project into VB.Net using VS Express 2010. Is it possible to do it without the "Upgrade Wizard"? How much will it cost me to get basic VS 2010 Professional with the …

Member Avatar for Oxiegen
0
803
Member Avatar for jacob21

when i insert the value in database after auto increament the uid then it show below error plz help me anybody... error Cannot insert explicit value for identity column in table 'client' when IDENTITY_INSERT is set to OFF. Description: An unhandled exception occurred during the execution of the current web …

Member Avatar for hericles
0
417
Member Avatar for jacob21

hello what i used just like grid view work except gridview which can fetch all record from database to on html source.what html souce i used.. plz help me and plz give me an example...

Member Avatar for hericles
0
51
Member Avatar for XEN0

ok first its a asp.net web application second i left the folder structure defualt style i added some images to style\images then i dragged them into the the master page they dont show up on the register page login page etc one images does which is in a sub folder …

Member Avatar for XEN0
0
60
Member Avatar for jacob21

hello I have one problem when i show data on gridview1 in entity framwork then it show below error Server Error in '/dealer_invoice' Application. The data reader is incompatible with the specified 'DatabaseModel.Max_id_showDatail_Result'. A member of the type, 'Column1', does not have a corresponding column in the data reader with …

0
83
Member Avatar for Netcode

Hello everyone. Am designing a web application based on human resources. I need to perform a search which would give results as a dropdown as the searchstring is being typed( as seen in photo one) to include the photo/image of the person and little detailed description like the Name, Department …

Member Avatar for Netcode
-1
93
Member Avatar for kavi4u

Hi , I am using the connection string as below in my c # .net .. i will give the connection string in all the forms and i will give con.open in the form load. is there any other shortest way is there to specify the connection at only once. …

Member Avatar for thines01
0
187
Member Avatar for sumit sam

<asp:GridView ID="lvMainModule" GridLines="None" CssClass="gridviewShow" AutoGenerateColumns="false" DataKeyNames="LinkMasterId" OnRowDataBound="lvMainModule_ItemDataBound" runat="server"> <Columns> <asp:TemplateField> <ItemTemplate> <asp:Label ID="ModuleNameLabel" runat="server" Font-Bold="true" Text='<%# Eval("LinkMasterType") %>' /> <asp:Label ID="LinkMasterId" runat="server" Visible="false" Text='<%# Eval("LinkMasterId") %>' /> <br /> <br /> <asp:GridView ID="lvSubModule" GridLines="None" OnRowEditing ="lvSubModule_RowEditing" CssClass="gridviewShow" AutoGenerateColumns="false" ShowHeader="false" DataKeyNames="Id" runat="server"> <Columns> <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" /> <asp:TemplateField> <ItemTemplate> <asp:HyperLink name='<%# …

Member Avatar for |-|x
0
208
Member Avatar for vignesh12

hi i am a beginner in asp.net currently studying asp.net repeater control .i want to know various scenarios where repeater controls can be used.i want to know complex scenarios.

Member Avatar for sufyan2011
0
150
Member Avatar for jacob21

hello sir i have problem related to entity framwork 4.0 when i insert data into client table then it show below error plz help me sir Violation of PRIMARY KEY constraint 'PK_client'. Cannot insert duplicate key in object 'dbo.client'. The statement has been terminated. Description: An unhandled exception occurred during …

Member Avatar for sufyan2011
0
791
Member Avatar for soft_coder

Hi! I have added a user control to a master page that contains only JavaScript only, neither HTML nor server side code. When I opened the page I got the following error: [B][url]http://server/_catalogs/masterpage/Master.master(26):[/url] error CS0030: Cannot convert type 'Microsoft.SharePoint.WebControls.CssRegistration' to 'System.Web.UI.IAttributeAccessor'[/B] Please suggest.

Member Avatar for hericles
0
95
Member Avatar for dwinn

Hi Everyone, I am currently devleloping a web site in VB and ASP.Net... I have got a dropdownlist box that contains a lot of centre names (being retrieved from an SQL Server database). I want to end up so that a user selects the name from the dropdownlist, clicks to …

Member Avatar for hericles
0
912
Member Avatar for crazyvonzipper

HI i am trying to convert a doc file to a pdf file. please see my conversion code below [CODE] private string m_SourceFilePath; private string m_DestFilePath; public bool DoConversion() { bool returnValue; Word.WdExportFormat exportFormat = Microsoft.Office.Interop.Word.WdExportFormat.wdExportFormatPDF; object paramMissing = Type.Missing; Word.ApplicationClass wordApplication = new Word.ApplicationClass(); Word.Document wordDocument = null; try …

0
137
Member Avatar for nextsolution143

Can anybody tell me How to access Asp.Net Application using Desktop (VB.Net) Application...? I Had developed one Asp.net App., & there is one DesktopApplication developed in VB.Net, which reads the Information using BarCodeReader.... I want to AutoFill up Asp.Net Page with that data. How can i do this.....

Member Avatar for Sarama2030
0
198
Member Avatar for Shwetha Dali
Member Avatar for KushMishra

Hello All, I have come up with a social networking website which should support chat functionality like Facebook. My intentions are as follows :- 1.It should be dynamic that is the chat window should appear only when any friend is online else it should remain hidden somewhere. 2.Could it be …

Member Avatar for adobe71
1
166
Member Avatar for Rohan rawat

Please help me solve this code . Thanks you in advance . Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated …

0
59
Member Avatar for Slade

Hey guys next question :(. Now I have having troubles with the IMAGE data type, can anyone provide examples on how to retrieve and update the image? I have tried the following: [CODE] [size=2][/size][size=2][color=#0000ff]Dim[/color][/size][size=2] imgdatastream [/size][size=2][color=#0000ff]As[/color][/size][size=2] FileStream [/size][size=2][color=#0000ff]Dim[/color][/size][size=2] imgdatalen [/size][size=2][color=#0000ff]As[/color][/size][size=2] [/size][size=2][color=#0000ff]Integer [/color][/size][size=2][/size][size=2][color=#0000ff]Dim[/color][/size][size=2] imgtype [/size][size=2][color=#0000ff]As[/color][/size][size=2] [/size][size=2][color=#0000ff]String [/color][/size][size=2][/size][size=2][color=#0000ff]Dim[/color][/size][size=2] n [/size][size=2][color=#0000ff]As[/color][/size][size=2] [/size][size=2][color=#0000ff]Integer [/color][/size][size=2]imgdatastream …

Member Avatar for sangita32
0
323
Member Avatar for manugm_1987

Hello everyone, I am very new to asp.net and asp.net mvc as well. I am stuck with the following problem please help. I have the following javascript [CODE]<script type="text/javascript"> var allMarks = []; google.load("maps", "2"); var geocoder; var lat; function initialize() { var map = new google.maps.Map2(document.getElementById("map")); map.setCenter(new google.maps.LatLng(37.4419, -122.1419), …

Member Avatar for manugm_1987
0
1K
Member Avatar for deceivingrakesh

Guys i have a <select id="select1" runat="server" /> control on a web page i have used a javascript to populate the items of the <select> on runtime now i want to know how to access there elements of <select> (selectedIndex or selectedValue) by asp vb.net Thanks in advance :)

Member Avatar for sufyan2011
0
113
Member Avatar for vicky.soft

Dear All, I am looking for code in asp.net for a website. Faculties can upload assignments & students can view the assignments. Please reply me .

Member Avatar for Netcode
-1
50

The End.