13,153 Topics

Member Avatar for
Member Avatar for katmai539

Hi there, In a form i have a datagrid with two columns. The columns are about 40 pixels wide and i can't find a way to have them larger when the program loads. Does anyone know a way to do this? Greets, K

Member Avatar for katmai539
0
371
Member Avatar for shallug

Hi, I have done .net still i am not getting any job, Microsoft Sharepoint will help me in getting job faster. Will it help me or not? Plz. help... urgent

0
67
Member Avatar for ryathegr8

hi em trying to fetch Employee information from db and load it in Gridview....i select departemnt name and Grade from dropdownlist and pass it in query buh it returns Invalid column name 'InformationTechnology' and Invalid column name 'Grade17' [CODE]String strCon = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; SqlConnection objcon = new SqlConnection(strCon); objcon.Open(); // String …

Member Avatar for ryathegr8
0
148
Member Avatar for ryathegr8

hi i am doin with Employee Management System... scenario is when Emp login Employee Name is stored in session[UName] variable and redirected to the employee home....there when he choose to view his profile, query it using sesseion variable.... code is given below: [CODE]string strCon = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; SqlConnection objcon = new …

Member Avatar for ryathegr8
0
109
Member Avatar for kgenn

hello :) how to insert new record in grid view coming from textbox? I tried to used the INSERT INTO -- sql query, but it didn't work.. does it have another way? please. my current language is vb. thanks. [CODE]With mydataLupon .DataFile = "~/Database/dbLupon.mdb" .SelectCommand = "INSERT INTO tblLupon_C VALUES …

Member Avatar for vuyiswamb
0
172
Member Avatar for kgenn

[CODE] Protected Sub Gridview1_RowUpdating(ByVal sender As Object, ByVal e As GridViewUpdateEventArgs) Dim txtR, txtP, txtC, txtCo, txtB, txtL, txtF, txtM, txtPo, txtSu, txtS As TextBox Dim row As GridViewRow = GridView1.Rows(e.RowIndex) txtR = CType(row.Cells(1).Controls(0), TextBox) txtP = CType(row.Cells(2).Controls(0), TextBox) txtC = CType(row.Cells(3).Controls(0), TextBox) txtB = CType(row.Cells(4).Controls(0), TextBox) txtCo = CType(row.Cells(5).Controls(0), …

0
58
Member Avatar for kgenn

the code is for binding data from a gridview [CODE] Sub BindGrid() Dim connection As OleDbConnection connection = New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=C:\Users\Karl Gennadi\Desktop\Visual Studio 2008\WebSite3\Database\dbLupon.mdb") connection.Open() Dim command As OleDbCommand command = New OleDbCommand("Select LAST_M, UNIQUE_C from tblLupon_C", connection) Dim DataReader As OleDbDataReader DataReader = command.ExecuteReader() GridView1.DataSource = DataReader GridView1.DataBind() connection.Close() …

Member Avatar for kgenn
0
468
Member Avatar for kgenn

SOFTWARE USED: MVS 2008 DATABASE: MS ACCESS 2003 LANGUAGE: VB can anyone help me regarding on how I can ADD new record on a gridview :( I'm working several weeks but I can't find the solutions :( please.please. I found some answers but I can't transfer the code into vb …

0
78
Member Avatar for umamahesh2020

How to Group the data in GridView groups with alphabets like: if Empname=john Empname=jade combine these into group like Empname j--------------------- john jade like that

0
52
Member Avatar for judithSampathwa

Hi there, how can i create an executable so that anybody can install in their own computer? I want to create from visual studio C#. please give me a tutorial or something, i did some but it didn't work properly please help guide in this thanx

Member Avatar for Mitja Bonca
0
204
Member Avatar for MARKAND911

I m having a webService. In that I m using Caching. I have wrote following code to store datatable in cache. [CODE] using System.Web.Caching; Cache.Insert("dt", dt, null, DateTime.Now.AddHours(1), TimeSpan.Zero, System.Web.Caching.CacheItemPriority.Default, null); [/CODE] It give me error like "An object Reference is required for non static field. How can i remove …

Member Avatar for MARKAND911
0
49
Member Avatar for lm111

Let's say I have this table: [ICODE] [B]Publisher Author rating1 rating2 rating3 rating4 rating5[/B] Sams John 5 na 4 4 Sams Mary 3 5 5 5 5 Sams Kevin 1 4 4 5 Sams Denise 5 5 3 5 5 [/ICODE] Let's say I have two Listboxes: [B]Listbox1 contains these …

0
70
Member Avatar for kevin025

I have a search button ..The result will be displayed in grid view if the button is pressed .. i am able to do it But now i want to do like this ..that is my grid view is only displaying the ResultId .. I want to display the ResultName …

Member Avatar for jay.gadhavi
0
71
Member Avatar for tariqi

hi, when i try to run the procedure below to export the gridview1 to msword,nothing appears on the document except tags <div> </div>.anyone knows what i might be doing wrong? [code] Public Overloads Overrides Sub VerifyRenderingInServerForm(ByVal control As Control) ' Verifies that the control is rendered End Sub Protected Sub …

Member Avatar for tariqi
0
127
Member Avatar for choudhuryshouvi

Hello there, Is there any way of disabling caching of asp.net pages in folder or application level.... meant to say, is there any option available in the web.config file for disabling caching...i have done by using page wise...but need to disable caching for all pages in my application... plz help …

Member Avatar for choudhuryshouvi
0
805
Member Avatar for erum

see teh code [CODE]<asp:DataList ID="DataList1" runat="server" Width="200%" > <ItemTemplate> <h4><asp:Label ID="DAtes" runat="server" Text='<%# Eval("date") %>'></asp:Label></h4> <asp:GridView AllowPaging=True ID="GridView1" runat="server" DataKeyNames=sessionid AutoGenerateColumns="False" CellPadding="4" Width="697px" style="margin-right: 0px" ForeColor="#333333" GridLines="None"> <RowStyle ForeColor="#333333" BackColor="#F7F6F3" /> <Columns> <asp:TemplateField HeaderText="Availability"> <ItemTemplate> <asp:CheckBox ID="chkgfln" Enabled=true runat="server" Text=Available /> </ItemTemplate> </asp:TemplateField> <asp:BoundField HeaderText="sessionid" DataField=sessionid /> <asp:BoundField HeaderText="userid" DataField=userid …

0
163
Member Avatar for er.lokeshsharma

Hi everybody, My name is Lokesh and i am a newbie to crystal reports. Off late, I am facing tough time in implementing a requirement in my project using crystal reports. My requirement is to display columns in crystal report based on user's choice. For example, Lets say there is …

0
47
Member Avatar for himanshu_roy81

Hi I have a asp.net web form in which I display registered customers in a Dropdown. In the Dropdown I can choose one customer, and click a "Show data"-button. That should display all registered data about the chosen customer in Gridview.but i didn't get the result.plz help me.my code is …

Member Avatar for vuyiswamb
0
569
Member Avatar for nicecandy

hi, i have a website that is running well on the web server. now i have created a web service and tested it locally. i want to publish my webservice to my webserver so that any body can use my webservice. for this purpose i have created a virtual directory …

Member Avatar for nicecandy
0
121
Member Avatar for babafemi

hello goodday. my name is babafemi ibitolu fro nnigeria. i am a desktop/web programmer and i have been programming for up to a year now and i have found the industry to be challenging and in return rewarding. something has been bothering me for like 2 months. i and a …

Member Avatar for Ancient Dragon
0
104
Member Avatar for CaffeineCoder

Can anyone recommend some good online tutorials for learning .NET? Something for VS2005 or 2008?

Member Avatar for Fortinbra
0
111
Member Avatar for mazez1971

I developed a web application using vs 2008, cr XI and sql server 2000. When I do click in my web application's “Print Privew” button from the browser after publishing the project, I can see all pages properly, but when I print, only the first page is printing even if …

0
92
Member Avatar for VRamone

Hi guys,how are you? =) i have a doubt,with ListBox =/ i want to get the selected item the user clicks and then put in another listbox,but it´s not happening,it says 'cannot be indexed because it has no default property' is there an easy way to solve it? my code …

Member Avatar for vuyiswamb
0
146
Member Avatar for dips255

I have the following code that converts text in querystring to an image. This is giving image with white background. Need help to get a transparent background. [code] <%@ Page Language="VB" ContentType="image/gif" Debug="true" Explicit="true" %> <%@ Import Namespace="System.Drawing" %> <%@ Import Namespace="System.Drawing.Imaging" %> <%@ Import Namespace="System.IO" %> <script runat="server"> Protected …

Member Avatar for questpond
0
286
Member Avatar for steelshark

Hi, I have a problem using the AJAX toolkikt TextboxWatermarkExtender. It does not show up on my page. I have set up the code as follows: [CODE] <tr> <td> Name: </td> <td> <asp:TextBox ID="name" runat="server"></asp:TextBox> <asp:TextBoxWatermarkExtender ID="nameField" runat="server" WatermarkText="Section name" TargetControlID="name"> </asp:TextBoxWatermarkExtender> </td> <td> <asp:RequiredFieldValidator ID="nameVal" runat="server" ErrorMessage="Please give in …

Member Avatar for vadmkp
0
122
Member Avatar for SunnySideUp

Hello, I am just starting out with ASP.Net using VB.Net. I am trying to build a football website for my football club that has a backend CMS system. I have the database designed with primary and foerign keys in SQL Server 2005. I would like some help to: 1) Insert …

Member Avatar for questpond
0
215
Member Avatar for savitasagar

i m using the tabcontainer control of tab.but i want to show these tab vertically how to do it

Member Avatar for Pgmer
0
57
Member Avatar for yoyoyy

how can I make menu like tool in visual studio when hover on it. it will show the rest of menu to the right.

0
77
Member Avatar for front_&_center

i found this code to upload a file into a sql database using the asp.net fileupload object (or vb) i found it here [url]http://forums.asp.net/p/1480079/3451771.aspx[/url] i think it works, but i am a learning noob and have a question...where does my dbase info go in the code? [CODE] 1. If FleUpload.HasFile …

Member Avatar for Netcode
0
560
Member Avatar for scorpio222

hi. i am trying to create an aspx page where i can directly upload a file from the client to the server without user intervention. I would like to do something like when the user specifies the file path in the url, that particular file must be uploaded to the …

Member Avatar for scorpio222
0
845

The End.