Search Results

Showing results 1 to 40 of 66
Search took 0.01 seconds.
Search: Posts Made By: reach_yousuf
Forum: ASP.NET 32 Days Ago
Replies: 1
Views: 359
Posted By reach_yousuf
Take a look at it
http://www.dotnetbips.com/articles/fb517596-9838-454b-b65d-999a7bb78445.aspx
Forum: ASP.NET 33 Days Ago
Replies: 4
Views: 274
Posted By reach_yousuf
Hello

Just check your web.config file for connection string or send us the error message to find exact problem.


Mark as solved if it helps you!!!
Forum: ASP.NET 33 Days Ago
Replies: 4
Views: 460
Posted By reach_yousuf
Hello there

If i understand u correctly, u need a Nested/group dataset in a single dataset

Do the following, i have created an eg for you.
follow the steps
1) In solution explorer Add-> new...
Forum: ASP.NET Oct 14th, 2009
Replies: 10
Views: 908
Posted By reach_yousuf
Hello

You can use the following code
ASPX

<asp:TemplateColumn>
<headertemplate>
<asp:checkbox id="chkSelectAll" runat="server" Width="30px"...
Forum: ASP.NET Oct 13th, 2009
Replies: 1
Views: 306
Posted By reach_yousuf
Hi there

I assume that you have " " single blanck space as separator in ur input. pls. follow the code below...





Private Function DoStuff() As String
Dim arr As Array
Forum: ASP.NET Oct 12th, 2009
Replies: 1
Views: 271
Posted By reach_yousuf
you can retrieve the Product Registration date then compare while accessing. have a look at the sample code

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
Forum: ASP.NET Oct 12th, 2009
Replies: 1
Views: 260
Posted By reach_yousuf
check out this link
http://support.microsoft.com/kb/175168
Forum: ASP.NET Oct 12th, 2009
Replies: 1
Solved: td border
Views: 271
Posted By reach_yousuf
Hi
Use the following Code

<table>

<tr>
<td style="border:dotted">
<asp:Label ID="Label1" runat="server" Text=""></asp:Label>
...
Forum: ASP.NET Oct 12th, 2009
Replies: 3
Views: 252
Posted By reach_yousuf
Hi

You can compare the Path Stored in DB with physical path of the file along with their file extension eg .bmp/.jpeg etc...
Forum: ASP.NET Oct 12th, 2009
Replies: 3
Views: 442
Posted By reach_yousuf
Hi There

You can try this code
Note : RegisterDate is your actual date from table

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

If...
Forum: ASP.NET Oct 12th, 2009
Replies: 1
Views: 192
Posted By reach_yousuf
Hi

are you using Website or Web Project? if yours is website then ur solution saved in the following path

C:\Users\yourusername\Documents\Visual Studio 2005\Projects
Forum: ASP.NET Sep 26th, 2009
Replies: 3
Views: 358
Posted By reach_yousuf
Hi Sandeep

1) set Autopostback Property = true of Textbox1
2) protected Sub Textbox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtNewJobRankSerial.TextChanged
...
Forum: ASP.NET Sep 19th, 2009
Replies: 1
Views: 344
Posted By reach_yousuf
Hi,

Use the following code...

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim dsTemp As New ProductGridDS
obj = New...
Forum: ASP.NET Sep 16th, 2009
Replies: 2
Views: 398
Posted By reach_yousuf
Hi Husna

You can use Typed Dataset and merge the additional ROLE column to it, the dataset can be used to bind your GRIDVIEW and so on and so forth...

Regards
Forum: ASP.NET Sep 14th, 2009
Replies: 1
Views: 363
Posted By reach_yousuf
Hi

We can display dropdownlist in gridview but not gridview in DDL
Tell us what is the scenario and what u want to achieve?.

Regards
Forum: ASP.NET Sep 14th, 2009
Replies: 4
Views: 309
Posted By reach_yousuf
Hi There

Pls. try this

Text='<%# Bind ("price", "$ {0:f2)") %>'>


Mark as fixed if it helps you!!!
Forum: ASP.NET Sep 12th, 2009
Replies: 2
Views: 781
Posted By reach_yousuf
Hi
if i understood correctly, u need a SQL query after joining those two tables ??

Pls. gimme what columns u needed from each of these tables and where conditions if any...
Forum: ASP.NET Sep 12th, 2009
Replies: 1
Views: 266
Posted By reach_yousuf
Hi
If i understood u correctly, u need to search records based on your Query value stored in session("Example").

Write: "select * from mytable where mycolumn like '%" & session("Example") & "%'...
Forum: ASP.NET Sep 7th, 2009
Replies: 6
Views: 714
Posted By reach_yousuf
Hello dear

You can use select_IndexChangeEvent Like this...

Protected Sub MyDropDownList_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
Forum: ASP.NET Sep 7th, 2009
Replies: 12
Views: 816
Posted By reach_yousuf
Hi there

Pls. follow the link, this is a solved thread by me.

http://www.daniweb.com/forums/thread174460.html

Mark the thread as solved if it helps you!!!
Happy coding
Forum: ASP.NET Sep 7th, 2009
Replies: 5
Views: 630
Posted By reach_yousuf
Hi there

Use the Query like this . The result is tested in 'Adventureworks' database


Select
product.ProductID,
product.Name,
ProductInventory.Quantity,
product.Name+'('+...
Forum: ASP.NET Sep 7th, 2009
Replies: 5
Views: 630
Posted By reach_yousuf
Hello there

You can do this with the resultset from your dataset source.
You can write the Group query to select eg:

select ProductID , ProductName and Value as Contactinate Productname +...
Forum: ASP.NET Jul 19th, 2009
Replies: 6
Views: 2,965
Posted By reach_yousuf
Hi there

try connection pooling . It may help you
<add key="DBConnection" value="Data Source=10.100.50.93;Initial Catalog=billing_production;User Id=sa;Password=;Pooling=true;Min Pool Size=2;Max...
Forum: ASP.NET Jun 30th, 2009
Replies: 5
Views: 461
Posted By reach_yousuf
Hi

This is not a recommended solution... it's not a good programming practice... the maintenance would be a big issue as you move in development stage.

Try keep n-tier architecture.
1) keep...
Forum: ASP.NET Jun 30th, 2009
Replies: 5
Views: 338
Posted By reach_yousuf
Hi

Can you post errors u r receiving... and be clear n specific about your problem..

Hope we i can help you.
Forum: ASP.NET Jun 24th, 2009
Replies: 2
Views: 637
Posted By reach_yousuf
Hi

Whats the error message??
Forum: ASP.NET Jun 24th, 2009
Replies: 4
Views: 548
Posted By reach_yousuf
Hi There

Pls. see the code that uses reader

You can assign data to sql reader

Public Function CheckRequest(ByVal response As String) As Boolean
Dim reader As SqlDataReader
...
Forum: ASP.NET Jun 24th, 2009
Replies: 3
Views: 826
Posted By reach_yousuf
Hi there

Try something like this


Dim MyTxt As TextBox
MyTxt = CType(Page.Master.FindControl("ContentPlaceHolder1").FindControl("TextBox2"), TextBox)
...
Forum: ASP.NET Feb 11th, 2009
Replies: 2
Solved: Sending Email
Views: 893
Posted By reach_yousuf
Hi

Try this code


Try
'(1) Create the MailMessage instance
Dim mm As New MailMessage(FromEmailAddress, ToEmailAddress)

'(2) Assign the MailMessage's properties
Forum: ASP.NET Jan 25th, 2009
Replies: 3
Views: 2,871
Posted By reach_yousuf
Hi there

Try this

Aspx

<asp:GridView ID="gvBranchInfo" runat="server" BackColor="linen" AutoGenerateColumns="False"
DataKeyNames="ID"...
Forum: ASP.NET Jan 25th, 2009
Replies: 2
Views: 1,287
Posted By reach_yousuf
Hi

Populate your dataset with appropriate data



Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load


Dim sb1 As New StringBuilder
Forum: ASP.NET Jan 20th, 2009
Replies: 3
Views: 2,530
Posted By reach_yousuf
Hi there

This peace of code can be handy to deal with file extensions.


Public Shared Function GetFileName(ByVal Path As String) As String
Try
Dim RetVal As String
...
Forum: ASP.NET Jan 20th, 2009
Replies: 1
Views: 2,719
Posted By reach_yousuf
Dear
Do Something like this.. you can convert your code to C# easily


Public Shared Function ReadBillFile(ByVal Filename As String) As String
Try
Dim sr As StreamReader
...
Forum: ASP.NET Dec 2nd, 2008
Replies: 19
Views: 2,012
Posted By reach_yousuf
As i understood from you code in selectindexchanged event:


daItems.SelectCommand.CommandText = "Select ProductName, UnitPrice, UnitsInStock, ProductImage from dbo.Products where CategoryID = " ...
Forum: ASP.NET Dec 2nd, 2008
Replies: 3
Views: 1,006
Posted By reach_yousuf
hii

Add the code code in your .aspx


<asp:DropDownList id="ddl1" runat="server" AutoPostBack="True" AppendDataBoundItems="True" >
<asp:ListItem Selected="True"...
Forum: ASP.NET Dec 2nd, 2008
Replies: 19
Views: 2,012
Posted By reach_yousuf
hii
Add the 3rd line code while binding DDlist.

ddlItems.DataSource = dsCategory;
ddlItems.DataMember = "Categories";
ddlItems.DataValueField= "CategoryID"...
Forum: ASP.NET Nov 29th, 2008
Replies: 2
Views: 1,810
Posted By reach_yousuf
Hi

Try to find the value of the grid's control


Dim MyTxt As TextBox

MyTxt = CType(Mygridview.FindControl("ord_Date"), TextBox)

Let me know if it solves your problem!
Forum: ASP.NET Nov 24th, 2008
Replies: 3
Views: 1,362
Posted By reach_yousuf
If i understand correctly, you need to instantiate your dataset

VB code

dim ds as new dataset

C# (Pls. correct the syntax if its wrong)

dataset ds = new dataset
Forum: ASP.NET Nov 23rd, 2008
Replies: 1
Views: 569
Posted By reach_yousuf
Pls. use SQL query viz

strQuery = "Select * from customers where customer name like '%" textbox1.text &" %'"

Pls. make sure to change your approriate db connection string


Public Function...
Forum: ASP.NET Nov 23rd, 2008
Replies: 2
Views: 600
Posted By reach_yousuf
Hi

Pls. use SQL query viz

strQuery = "Select Zipcode from Ziptable where Zipcode like '%" & your param &" %'"

Pls. make sure to change your approriate db connection string

Public...
Showing results 1 to 40 of 66

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC