271 Posted Topics

Member Avatar for scias23

I do not know if i got you right, anyway you said that a clearance may have a tax certificate sounds to me that you cannot make direct reference between the tax certificate and document but thru clearance table. if this is the case you will have something like this. …

Member Avatar for jbisono
0
230
Member Avatar for mdwhite76
Member Avatar for virtualmisc

You can do something like this. <a href="mailto:your_email_here@domain">Email</a>

Member Avatar for jbisono
0
70
Member Avatar for kained

well i maybe not following you correctly but maybe you just have to substract 8 - whatever answer was example if you select 1 then will be 8 -1 = 7 and so on. regards.

Member Avatar for samaru
0
119
Member Avatar for dot_net_rookie

I would say this [ICODE]<td><asp:Checkbox ID ="cat_title_chk" AutoPostBack="true" runat="server" OnCheckedChanged="CheckChange" Text='<%# Container.DataItem("M_CATPAGES_CAT") %>'></asp:Checkbox> </td> <td><asp:Checkbox ID ="chkSecond" runat="server" Text="Second CheckBox" Visible="False"></asp:Checkbox> </td> [/ICODE] Now in the source code i have this. [ICODE]protected void CheckChange(object sender, EventArgs e) { CheckBox chk = ((CheckBox)sender); DataListItem dlItem = ((DataListItem)chk.NamingContainer); if (chk.Checked) { ((CheckBox)title_dl.Items[dlItem.ItemIndex].FindControl("chkSecond")).Visible …

Member Avatar for jbisono
0
1K
Member Avatar for jbisono

Hi!!! I am developing an intranet web project using asp.net c# 2008 and i want to integrate crystal report XI, I wonder if anybody here have this two programs working correctly because i have two days trying to fix it, i have read a lot of posts nothing help. anyway …

Member Avatar for jbisono
0
105
Member Avatar for jbisono

Hello everyone. The problem: I am developing a form that i have to validate some fields against the database. For this particular scenario lets say the Part ID field, I do not want to create a dropdownlist with all part id because is too big. maybe i can let people …

0
81
Member Avatar for appleglaze28

Here is two ways that you can accomplish this query, refer to this thread: [URL="http://www.daniweb.com/forums/thread190891.html"]http://www.daniweb.com/forums/thread190891.html[/URL] Regards.

Member Avatar for appleglaze28
0
121
Member Avatar for love_dude1984
Member Avatar for love_dude1984
0
131
Member Avatar for shanboy

First you do not need this line [code=csharp]int result=Convert.ToInt32(cmd.ExecuteNonQuery());[/code], in case you need it, you do not have to convert cmd.ExecuteNonQuery() to int because already return an integer value. Second at the end of your code add this line [code=csharp]dgv1.DataBind();[/code] if that does not work, i suggest that you verify …

Member Avatar for sknake
0
141
Member Avatar for adam1991

Insted of use cmd.ExecuteReader() use cmd.ExecuteNonQuery(), ExecuteNonQuery Return an integer on how many rows were affected by that query.

Member Avatar for jbisono
0
71
Member Avatar for kylcrow

You need to create a select statement to return all that data, Can you show table structure so we can help you to build the select. after that there are different ways to fill the grid with the data returned by the select statement. regards.

Member Avatar for jbisono
0
109
Member Avatar for gsc1ugs

try this [code=sql] SELECT TOP 1 idCustomerBid, idProduct, bidAmount, bidDate FROM bidHistory WHERE (idProduct = 272) AND (idCustomerBid <> 2) AND (idCustomerBid NOT IN (SELECT TOP 1 idCustomerBid FROM bidHistory AS bidHistory_1 WHERE (idProduct = 272) AND (idCustomerBid <> 2) ORDER BY bidAmount DESC)) ORDER BY bidAmount DESC [/code] regards

Member Avatar for gsc1ugs
0
185
Member Avatar for praveenfds

[code=csharp] private int DaysIgnoreWeekends(DateTime dtst, DateTime dtend) { TimeSpan days = dtend.Subtract(dtst); int count = 0; for (int a = 0; a < days.Days + 1; a++) { if (dtst.DayOfWeek != DayOfWeek.Saturday && dtst.DayOfWeek != DayOfWeek.Sunday) { count++; } dtst = dtst.AddDays(1.0); } return count; } [/code] this is a …

Member Avatar for praveenfds
0
639
Member Avatar for carobee

hi carobee try this [code=mssql] DECLARE @SqlQuery NVARCHAR(4000); set @SqlQuery='You query here' INSERT into @table exec(@SqlQuery) [/code] regards

Member Avatar for jbisono
0
2K
Member Avatar for spear64

this can give you an idea of what you need [CODE=c++] #include <cstdlib> #include <iostream> void CalculateLetter(int *,int); void PrintScores(int *, int *, int); using namespace std; int main(int argc, char *argv[]) { int CantStudent = 0; printf("Please input the number of students who took the exam:\t"); scanf("%d",&CantStudent); int Scores[CantStudent]; …

Member Avatar for jbisono
0
119
Member Avatar for theAviator

Probably this is not the best recommendation, maybe you would like to do something by you own, but if you want a reallly nice way to easy do charts, use this [URL="http://www.fusioncharts.com/free/"]http://www.fusioncharts.com/free/[/URL] they explain everything how it works give it a try, i combined that software in my project in …

Member Avatar for theAviator
0
111
Member Avatar for jbisono

Hi, I would like to know how can I execute an event from a web content form, for example i would like to run a centralized event to assign rigths to component in every webform, but i would like to do that from the master page so i do not …

Member Avatar for jbisono
0
147
Member Avatar for jbisono

Hello all, I am looking for a Fax Software, nothing big, easy to use just fax out and in, I do not need any extra feature that a lot of fax software has. before i had winfax pro is an old software from symantec they do not sell it anymore, …

Member Avatar for abu taher
0
116
Member Avatar for jrosh

I do not know if this can help you, but if you have a date field which you can order by desc, then you can use Top 1 something like this. [code=sql]Select top 1 Field1 from table1 order by datefield desc[/code] if you dont have a date maybe have a …

Member Avatar for kylegetson
0
138
Member Avatar for jbisono

Hi all, I just have curiosity about something that I read in a book " [B]Unlike using the DataGrid, where you are responsible for coding the sort routine, to enable column sorting in this grid, you just set the AllowSorting attribute to True. The control takes care of all the …

Member Avatar for jbisono
0
130
Member Avatar for yogesh6577

Well here i didn't have any trouble doing that, but anyway make sure you have windows firewall off, and run this tool and try again. [URL="http://service1.symantec.com/Support/tsgeninfo.nsf/docid/2005033108162039"]Norton Removal Tool[/URL] regards.

Member Avatar for jbisono
-1
175
Member Avatar for f_atencia
Member Avatar for jbisono
0
63
Member Avatar for jbisono

Hello all, I created a crystal report which works perfect local but in production work partial, it means that there are 3 specific values that the report does no retrieve, is there any particular reason why this happen?. thanks.

Member Avatar for jbisono
0
152
Member Avatar for jbisono

I just update my server to the latest version of symantec endpoint and now everytime i log in to the server a pop up appears with this message, "A necessary file could not be loaded: ccProd" they supply an online tool to fix the problem but after i did it …

0
86
Member Avatar for daveyb91

I use querystring to retrieve parameters send from another form, let's say that you are and index.html and there is a link url to default.aspx like this ~/Default.aspx?var=hello then and the Server code from Default.aspx to retrieve that value i have this. [code=csharp] string stTest = Request.QueryString["var"]; [/code] now stTest …

Member Avatar for sknake
0
351
Member Avatar for Agent-of-Chaos
Member Avatar for ggl0rd

That means exactly what is says, probably there is a piece of code that is executed before this method and you leave the connection open. make sure you close the connection on that method. usually i forgot to close the connection if i use a data reader and then i …

Member Avatar for samir_ibrahim
0
99
Member Avatar for realone
Member Avatar for jbisono

Hi all, I have a computer that went down and i cannot load windows but i can browse the files in the hd using an enclosure, i would like to reinstall windows but i need to safe the quickbook data so i can upload that back. i do not have …

Member Avatar for jbisono
0
145
Member Avatar for jbisono

Hi i have a table which i was using with a datagrid using hyperlink to maintain a simple menu to browse a internal site. but now i decided to create a horizontal menu with the Menu Component of asp.net, i know there is a different way how to do this, …

Member Avatar for serkan sendur
0
132
Member Avatar for riyas_26

Into the datagrid's headerstyle property add this [code=aspnet]CssClass="ms-formlabel DataGridFixedHeader" <!-- Then into the head tag create a style method like this --> <style type="text/css">.DataGridFixedHeader { POSITION: relative; ; TOP: expression(document.getElementById("grid").scrollTop-2); BACKGROUND-COLOR: white } </style> [/code] grid is the ID of your datagrid. regards.

Member Avatar for jbisono
0
79
Member Avatar for mohankumar554

Why dont you include the parameters in the select statement something like [CODE=CSHARP] string st = "select user, pass from loggin where user = '"+txtbox1.text+"' and pass = '"+txtbox2.text+"'"; //Then pass that select to the command object rdr=cmd.executereader(); if(rdr.HasRows) { msg(" successfully loggedin"); }[/CODE] Take care.

Member Avatar for sknake
0
137
Member Avatar for KirkB

There is a few good database language out there, but im going to keep it simple. 1) Non free license: Oracle, Sql Server, really nice interface, very user friendly and a lot support online, so you are not alone any problem i bet you can find a work around. In …

Member Avatar for timothybard
0
125
Member Avatar for SHAWTY721
Member Avatar for mugz_2006

when you said lively network means intranet? well in that case you will need a computer to become a web server, with IIS Installed or Apache or other tool that allow the intranet's users to browse the web server, anyway if you are running xp, i recommend you try IIS. …

Member Avatar for cguan_77
0
92
Member Avatar for vineetjaiswal

you have to do something like this. [CODE=CSHARP] foreach (Control cn in form1.Controls) { if (cn.GetType().Name == "RadioButton") { RadioButton rd = (RadioButton)cn; if (rd.GroupName == "a" && rd.Checked) { TextBox1.Text = rd.Text; } } } [/CODE]

Member Avatar for kvprajapati
0
106
Member Avatar for Tank50

you need this [CODE=CSHARP] if(ContractID_Reader2.HasRows) { while(ContractID_Reader2.Read()) { //Your code here } }[/CODE]

Member Avatar for jbisono
-1
143
Member Avatar for arelius

in your select statement are you retrieving that value? if yes verify you have autogeneratecolumns to false you have to create a bound column manually for the primary field and also you can set the visible property to false if you do not want people look at it, in the …

Member Avatar for arelius
0
139
Member Avatar for dpreznik

Hi, check this thread could be helpful for you [URL="http://www.daniweb.com/forums/thread204828.html"]http://www.daniweb.com/forums/thread204828.html[/URL]

Member Avatar for jbisono
0
125
Member Avatar for minbor

I do not really sure if this is what you want but in aspx i do this. [CODE=CSHARP] foreach (Control cd in form1.Controls) { if (cd.GetType().Name == "TextBox") { TextBox txt = (TextBox)cd; txt.Text = "hello"; } }[/CODE] regards

Member Avatar for minbor
0
114
Member Avatar for jbisono

Hi, friends i have a datagrid bound a hypercolumn [CODE=ASPNET] <asp:DataGrid ID="menu" AutoGenerateColumns="False" Runat="server"> <Columns> <asp:HyperLinkColumn DataTextField="OPT_DESC" DataNavigateUrlField="OPT_LINK" DataNavigateUrlFormatString="{0}"/> </Columns> </asp:DataGrid> [/CODE] basically what i want to do is, that i want to insert into the database the users that click some links. so how can i make a clickevent …

Member Avatar for jbisono
0
353
Member Avatar for XZodia

you need to import System.Data.SqlClient; then you can say this. [CODE=VBNET] Dim con = new SqlConnection("Initial Catalog=DBName;Data Source=ServerName;UID=User;PWD=Pass;"); con.Open() //Some code here con.Close() [/CODE] with that piece of code you can establish the connection and open it. regards.

Member Avatar for jbisono
0
48
Member Avatar for jmgmail

into the try clause [code=csharp]connection.Open(); cmd.ExecuteNonQuery(); connection.Close();[/code] regards

Member Avatar for lighthead
0
123
Member Avatar for chrispaul8676

Try using this code [CODE=VBNET]cmd.Parameters.Add("@YourField", SqlDbType.VarChar).Value = "Value"[/CODE]

Member Avatar for chrispaul8676
0
92
Member Avatar for freakerz
Member Avatar for totoy13

Take a look of this thread [URL="http://www.daniweb.com/forums/thread203951.html"]http://www.daniweb.com/forums/thread203951.html[/URL] if still need help let me know.

Member Avatar for totoy13
1
200
Member Avatar for cathyb

Try to run a windows update and then give it a shot, let us know. also make sure the clock and date in your computer is correct.

Member Avatar for kkltd
0
169
Member Avatar for Talguy

The only thing i can see is, I know the fact that it is an anonymous mobile message board, but if in the future you expect to open the software to Non anonymous only, I would say make another table for the users and just include anonymous and put a …

Member Avatar for jbisono
0
78

The End.