Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:788360
More Search Options
RSS Available
Matching Posts
Re: Appending string in textbox
you need to repeat DropDownList3.SelectedValue.ToString() value for each item... if(DropDownList3.SelectedValue.ToString() == "FID_1" || DropDownList3.SelectedValue.ToString() == "FID_1_1" || DropDownList3.SelectedValue.ToString() == "AREA" ) { str1.Append(c1 + " " + DropDownList3.SelectedItem.Text + " "); } in above way you need to do... But the best way is insert all this values into hashtable... and search the dropdownlist value in the hashtable
Posted to
Web Forms
(Forum)
by
ramireddyindia
on 11/18/2009
Re: Is it possible to work on dataset instead of database?
see this example db script: create table Searching ( FirstName varchar(100), LastName varchar(100) ) insert into Searching select 'ram','reddy' union all select 'rami','abc' create table Searching ( FirstName varchar(100), LastName varchar(100) ) insert into Searching select 'ram','reddy' union all select 'rami','abc' <%@ Page Language="C#" AutoEventWireup="true" %> <!DOCTYPE html PUBLIC "-//W3C//DTD
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
ramireddyindia
on 11/7/2009
Re: Is it possible to work on dataset instead of database?
Is that link working?? check it.........
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
ramireddyindia
on 11/7/2009
Re: Is it possible to work on dataset instead of database?
[quote user="rush.svadi"]if my select query returns multiple rows from datatable then how can i show it back to the grid? Is it possible?[/quote] use SqlDataAdapter Class Fill() method to call the query... It will returns a dataset or datatable. Then you can bind that datatable/dataset to gridview.. SqlConnection myConn = new SqlConnection ( "your connection string" ); SqlDataAdapter myAdapter = new SqlDataAdapter ( "your query", myConn ); DataSet myData = new DataSet
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
ramireddyindia
on 11/7/2009
Re: Is it possible to work on dataset instead of database?
yah.. u can still bind that datarow array to gridview.. DataRow[] dr = // your some operation; Gridview1.DataSource = dr; Gridview1.DataBind();
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
ramireddyindia
on 11/7/2009
Re: How to show a gridview multiple times
Your solution is a Nested gridView Control (Gridview within a grdiview). Please follow the below link... http://msdn.microsoft.com/en-us/library/aa992038(VS.80).aspx 1. Take a grid. Take 2 columns One Bound Field and another template field. 2. For Bound Field, set its datafield as "region". 3. In template field create another gridview. and set its fields like you showed in your post. 4. Now assign the query result "select distinct region from your tablename" by using either sqldatasource
Posted to
Data Presentation Controls
(Forum)
by
ramireddyindia
on 11/7/2009
Re: Is it possible to work on dataset instead of database?
another way is there.. try the below way. DataTable dt = //your datatable; DataView dv = dt.DefaultView; dv.RowFilter = "No = 1"; gvData.DataSource = dv.ToTable(); gvData.DataBind(); DataView dv = dt.DefaultView; dv.RowFilter = "your expression that you write in select function"; gvData.DataSource = dv.ToTable(); gvData.DataBind();
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
ramireddyindia
on 11/7/2009
Re: Do we've 4 levels of hierarchical grid?
http://www.codeproject.com/KB/aspnet/MultiNestMDGridview.aspx http://msdn.microsoft.com/en-us/library/aa992038(VS.80).aspx believe, it would be better if we use Repeater instead of gridview, as there is more chance for formatting in case of repeater.... Either repeater/gridview, you need to define itemtemplate and keeping another gridview/repeater in that itemtemplate like that u need to do for 4 levels.......... In above article it is mentioned for 3 levels.. u need to extend that..
Posted to
Data Presentation Controls
(Forum)
by
ramireddyindia
on 11/7/2009
Re: MS SQL QUERY
declare @Forums table ( Id int, Name varchar(100) ) insert into @Forums select 1,'a' union all select 2,'b' declare @Posts table ( Id int, Name varchar(100) ) insert into @Posts select 1,'x' union all select 1,'y' union all select 2,'z' select F.Id,F.Name,count(*) from @Forums F inner join @Posts P on F.Id = P.Id group by F.Id,F.Name
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
ramireddyindia
on 11/7/2009
Re: Calendar control add date to database
thats the normal insert code you follow.. Please follow the Lessons 1 - 6 in the below. These are the basic building blocks.. http://www.csharp-station.com/Tutorials/AdoDotNet/Lesson01.aspx
Posted to
Getting Started
(Forum)
by
ramireddyindia
on 11/7/2009
Page 1 of 412 (4115 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
ASP.NET:
T4MVC now has a real home and a dedicated forum!
TechNet Edge:
Windows Server 2008 R2 : New Power Management Features
ASP.NET:
Web Deployment Painkillers: VS 2010 & MS Deploy
WindowsClient:
Application Accessibility Testing
WindowsClient:
Prism & WCF RIA Services
Channel 9:
Sharepoint 2010 and Claims-Based Identity
WindowsClient:
IRhetoric Ported To BlogEngine.NET
WindowsClient:
PDC Recap and More
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online