No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
36 Posted Topics
I just want to delete if column qty contains value 0 then delete that row but i get error after delte six records it says object refrence not set to instance there are total 12 records it delts six record without error For i As Integer = 0 To dt.Rows.Count … | |
hi and hellow i have very starange problem iam just trying to get the data which i just inserted into the database but datagrid is no loading very faster my below code there two methods AddDetailItems which will insert record into table and there is an other method GetBillItemDetail wich … | |
hi and hello is it possible to make images visibale =true or false in crystal report suppose there is crystalReportViewr Form and this form there is textbox if value in textbox is 1 then image box visible =true if txtbox =0 then image box visible=false please help me out is … | |
Hellow and hi i have one filed that makes total sum of bill and there is parameter serverice charges of type number now when i am creating formula like this {#total}+{?servervicecharges} then i get error that result of the formula can not be an array how to do this thx … | |
hi to all i have developed windows application it's database is in the msaccess 2003 and i have also used password to my database now is there any way then no one can delete this file i mean if any one want to delete such file it should ask for … | |
Re: [QUOTE=amehra;1532418]Hi , I am new to VB.NET.I am creating an database windows application in VS2010 and SQL server 2008 express.In one of my form i have a datagrid. My requirement is that i want to display the sum of an column of a DB table and other related data from … | |
i have code in which datatable values will be given in crystal report of vs2008 iam very surprised when i run my application in debug mode by pressing f10 key value all the value loaded perfect but when i start application in normal mode only one value of datatable is … | |
in below code there is syntax error in from Clause but i think every thing looks fine iam using access database thx and relation is fine between thes two table [CODE] Public Function GetGridData() As DataTable Dim dt As New DataTable Try Dim con As New Connection() Dim cmd As … | |
WELL WELL WELL IT'S VERY STRANGE WHEN I AM PASSING ONLY SINGLE PARAMTER LIKE CustomerName CRYSTAL REPORT IS LOADED PERFECTLY BUT WHEN IAM PASSING MORE THEN ONE PARAMETER THEN THERE IS MESSAGE COMES ENTER PARAMETER VALUES WHEN CRYSTAL REPORT IS LOADED PLZZZZZZZZZZZZZZZZZZZZZZZ HELP ME OUT I TRIED ALOT BUT IT'S … | |
hellow and and hi iam developing billing system in which i have used gridview control with three columns named Description,qty,price and total code given below it works fine but problem is when i edit any cell of datagrid a new row inserted automatically is there any property or way by … | |
hellow and hi! i am working on billing system first i want to define purpose of bellow code this code will multiply the qty and price and assign the value to total column and validated on enter key if i press enter key and value is price or qty is … | |
hellow and hi i want to create billing Recipt system but i got stuck i am confused that which control should i use? in which i can enter such as billing detail like ProductName,Total,Qty in sigle row and when i Press enter key in the end of row it should … | |
hi and hello i have developed a desktop application and deployed it and it's working fine but what i simply want that my application should be installed in only one particular PC to whom i have sold it out but same setup should not install in other PC. becuase i … | |
i am trying to search between two dates startdate and end date there two problems problem given below 1. i have set the dtpSearchStockFrom and dtpSrchStockTo to dd/mm/yy when i enter into table it is inserted successfully but when i reterive data it show the format in datagrid as mm/dd//yyyy … | |
WHAT I WANT FROM THE FOLLOWING CODE IS THAT IF CONNECTION IS OPEN THEN SWITCH USER TO LOGIN FORM IF CONNECTION IS FAIL TO OPEN THEN SEND USER TO CONFIGURATION FORM WHERE THE NEW PATH FOR DATABASE CAN BE DEFINED. IN THE FOLLWING CODE IF I REMOVE THE DATABASE FROM … ![]() | |
hi to all i developed windows application in vs2005 it was working fine with crystal report merged module and it was successfully deployed now i have problem with that since i have opend it in vs2008. and want to know the follwing things 1.when i open the project of vs2005 … | |
Re: [CODE] i have just i dea that may be help full for you try to count no of pages from ur printer and then start loop in decreament untill unless ur no of total print page become zero hope it will help u [/CODE] | |
Re: try this [code] dim dt as new datatable("tableName") dim da as new sqldataadaper("select ur criteria here","urConnection") da.fill(dt) for dim i as int=0 to dt.rows.count-1 { string Tmp =dt(i).value.tostring() } [/code] i guess this is what i understood from ur code and u will retrieve data on particular index | |
i have attached the concept of datagrid to draw in windows application using vb.net plzzz give me hint so that i can achieve my goal thx | |
hellow all i have problem that i have deployed setup for windows application.before instling this application i have to install the .net frame work is there any way in vs 2005 to create such setup when i install my application on any system it shoueld install .net frame too. thx … | |
[CODE]function Validations() { if(document.getElementById("chkHomePhone").checked==true && document.getElementById("drpPhoneList").value=="Select Phone Line") { alert("PLEASE SELECT PONE LINE.."); return false; } <cc1:Accordion ID="Accordion2" runat="server" SelectedIndex="0" TransitionDuration="300" FadeTransitions="true" style="position:absolute; top: 1417px; left: 307px; height: 136px;"> <Panes> <cc1:AccordionPane runat="server"> <Header>SINGLE PRODUCT</Header> <Content> <table bgcolor="#E4D7D1"> <tr> <td class="heading" colspan="4"> Single Product </td> </tr> <tr> <td class="text"> <asp:RadioButton ID="chkHomePhone" … | |
[CODE] <cc1:Accordion ID="Accordion2" runat="server" SelectedIndex="0" TransitionDuration="300" FadeTransitions="true" style="position:absolute; top: 1417px; left: 307px; height: 136px;"> <Panes> <cc1:AccordionPane runat="server"> <Header>SINGLE PRODUCT</Header> <Content> <table bgcolor="#E4D7D1"> <tr> <td class="heading" colspan="4"> Single Product </td> </tr> <tr> <td class="text"> <asp:RadioButton ID="chkHomePhone" runat="server" Text="Home Phone" GroupName="Category" /> </td> <td class="text"> <asp:RadioButton ID="chkInterNet" runat="server" Text="Inter Net" GroupName="Category" /> … | |
Re: [quote=iamchamith;1237268]i did not install [b]ajax control toolkit[/b]..only i did download that package via [url="http://www.asp.net/ajaxlibrary/download.ashx"]http://www.asp.net/ajaxlibrary/download.ashx[/url] and follow instractions in [url="http://www.asp.net/ajaxlibrary/act.ashx"]http://www.asp.net/ajaxlibrary/act.ashx[/url][/quote] just folow the steps hope it will work 1.dwonload ajax tool kit 2.then open visualstudio and application on which u want to work for ajax 3.open solution explorer 4.right click on … | |
as in below link when colleps panel expands then content also goes down how it can be done. plzzz visit the below link i have use CollapsiblePanel but my content are now moving down when i click on button to expand the panel but my contentn below remain at it … | |
[CODE] <script language="javascript" type="text/javascript"> function Calcaulate() { if(document.getElementById("drpPhoneList").value=="Home Phone Lite") { var txtRegular= document.getElementById("txtRegularRs").value; document.getElementById("txtTotalRegularRs").value=parseFloat(txtRegular); document.getElementById("TotalRsTaxes").value=parseFloat(txtRegular)+parseFloat(3.63); } </script> <input type="button" value="CALCULATE" onclick="Calcaulate()" class="button" /> <asp:Button ID="btnAdd" runat="server" Text="ADD" OnClientClick="return Validations()" OnClick="btnAdd_Click" class="button"/> [/CODE] as i have two buttons one is html and other is aps.net button what i want to … | |
Re: [quote=nada_ward;1220259]can i display formated table in crystal report ?? Also i want to take the data of table by using select sql query that takes data from many tables in database?? Please help me?[/quote] try selection formula in crystal report hope it will work | |
[CODE] function AdminValidate() { if(document.getElementById("txtdate").value=="") { alert("PLEASE ENTER DATE..."); return false; } <asp:DropDownList ID="drpAgentId" runat="server" AutoPostBack="True" onselectedindexchanged="drpAgentId_SelectedIndexChanged" onchange ="return AdminValidate()" > [/CODE] as in above code it works fine if txtdate is empty it alerts a but when textdate is not empty then it does nothing i mean i want … | |
[CODE] SELECT Customer_Info.CustName,Customer_Info.Address,Customer_Bank_Info.CustChequeNo,Customer_Bank_Info.CustAccountNo from Customer_Info,Customer_Bank_Info WHERE Customer_Info.AgentID=Customer_Bank_Info.AgentID [/CODE] THERE ARE TWO RECRODS ARE AVAILABLE IN Customer_Info TABLE AND TWO RECORDS ARE AVAILABLE IN Customer_Bank_Info BUT WHEN ABOVE QUERY IS EXECUTED IT SHOWS 4 RECORDS IT REPEATS THE QUERY THAT'S WHY SAME RECORDS FROM THESE TABLE ARE RETRIVED FOR TWO TIMES. … | |
[CODE] SELECT Customer_Info.CustName,Customer_Info.Address,Customer_Bank_Info.CustChequeNo,Customer_Bank_Info.CustAccountNo from Customer_Info,Customer_Bank_Info WHERE Customer_Info.AgentID=Customer_Bank_Info.AgentID [/CODE] THERE ARE TWO RECRODS ARE AVAILABLE IN Customer_Info TABLE AND TWO RECORDS ARE AVAILABLE IN Customer_Bank_Info BUT WHEN ABOVE QUERY IS EXECUTED IT SHOWS 4 RECORDS IT REPEATS THE QUERY THAT'S WHY SAME RECORDS FROM THESE TABLE ARE RETRIVED FOR TWO TIMES. … | |
This pic show that when this query executes it will retrieve 4 records but i guess it should retrive only two records my all work has stuck about this point | |
I HAVE 3 TEXTBOXES (txt1,txt2,txt3) WITH TWO BUTTONS ONE IS HTML BUTTON NAMED AS btnCalculate AND OTHER IS SERVER SIDE BUTTON NAMED AS btnAdd WHAT PROBLEM BOOTHER ME IS THAT VALUES COMES FROM DATA BASE FOR txt1 AND txt2 WHEN I PRESS btnCalculate JAVASCRIPT CODES ARE EXECUTED TO MAKE ADDITION … | |
[CODE] here is java script code function ShowMsg() { if(document.getElementById("txtVerifierName").value=="") { alert("PLEASE ENTER VERIFIER NAME.."); return false; } <asp:Button ID="btnAdd" runat="server" Text="ADD" OnClientClick="ShowMsg()" onclick="btnAdd_Click" /> [/CODE] NOW THE PROBLEM IS THAT WHEN I CLICK THE BUTTON, IT SHOWS THE MESSAGE THAT PLEASE ENTER VERIFIER NAME BUT EXECUTION DOESN'T STOP THERE, … | |
[CODE] protected void Page_Load(object sender, EventArgs e) { int nCount = 0; nCount = GetCounterValue(); txtDate.Text = DateTime.Now.ToShortDateString() + "---" + DateTime.Now.ToShortTimeString(); txtAgentName.Text = User.Identity.Name; } private int GetCounterValue()>>>HERE IS THE ERROR not all path code return value { StreamReader ctrFile; FileStream ctrFileW; StreamWriter sw; string Path = Server.MapPath("Counter.txt"); string … | |
JAVA SCRIPT CODE [CODE] function NumbrOnly() { if(event.KeyCode==45 || event.KeyCode==46 || event.KeyCode==48 || event.KeyCode==49 || event.KeyCode==50 || event.KeyCode==51 || event.KeyCode==52 || event.KeyCode==53 || event.KeyCode==54 || event.KeyCode==55 || event.KeyCode==56 || event.KeyCode==57) { event.retunValue=false; } <asp:TextBox ID="TextBox3" onkeypress="NumberOnly('TextBox3')" runat="server"></asp:TextBox> [/CODE] WHAT IAM MISSIGN AND WHEN I WRITE event. then after 'dot' it … | |
how to use javascirpt for client side to transfter the values suppose when i enter 2 in textbox1 then in thextbox2 it should show 4 how is it possible because there is no keypress event is there in asp.net texbox control please help | |
i have deployed project and it works fine but when i go to crystal report's form it genrates error that could not load the file as assembly crystal decisions .windos.forms version=10.2.3600.0 culture =natura public key token=or one of it's dependencies. the system can not find the file specified " what … |
The End.