Click here to Skip to main content
15,918,333 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionASP.NET DataGrid Parameter [modified] Pin
Soot9-Aug-06 5:11
Soot9-Aug-06 5:11 
AnswerRe: ASP.NET DataGrid Parameter Pin
leckey9-Aug-06 7:52
leckey9-Aug-06 7:52 
GeneralRe: ASP.NET DataGrid Parameter [modified] Pin
Soot9-Aug-06 8:01
Soot9-Aug-06 8:01 
GeneralRe: ASP.NET DataGrid Parameter Pin
Not Active9-Aug-06 9:05
mentorNot Active9-Aug-06 9:05 
GeneralRe: ASP.NET DataGrid Parameter Pin
Soot9-Aug-06 9:37
Soot9-Aug-06 9:37 
GeneralRe: ASP.NET DataGrid Parameter Pin
Not Active9-Aug-06 10:13
mentorNot Active9-Aug-06 10:13 
GeneralRe: ASP.NET DataGrid Parameter Pin
Soot9-Aug-06 10:27
Soot9-Aug-06 10:27 
GeneralRe: ASP.NET DataGrid Parameter [modified] Pin
Soot9-Aug-06 10:30
Soot9-Aug-06 10:30 
Let me clarify...

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="SqlDataSource1" EmptyDataText="There are no data records to display.">
<Columns>
<asp:BoundField DataField="OVERVIEW" HeaderText=" " SortExpression="OVERVIEW" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:trdConnectionString2 %>"
ProviderName="<%$ ConnectionStrings:trdConnectionString2.ProviderName %>" SelectCommand="SELECT [OVERVIEW] FROM [DOCPROJ] WHERE [IDENT]='1'">
</asp:SqlDataSource></code>

I need to put a parameter from an input box where the 1 is in [IDENT]='1', I know the syntax for the parameter but I don't know how to pass a user-entered parameter to there.


I need something that does this...but works:

Please Enter an ID<br>
<input name="selection" type="text" id="selection.value">
<input type="submit" name="Submit" value="Submit">

...

SelectCommand="SELECT [OVERVIEW] FROM [DOCPROJ] WHERE [IDENT]='%" + selection.value + "%'">


GeneralRe: ASP.NET DataGrid Parameter Pin
Not Active9-Aug-06 13:02
mentorNot Active9-Aug-06 13:02 
GeneralRe: ASP.NET DataGrid Parameter Pin
Soot10-Aug-06 2:33
Soot10-Aug-06 2:33 
GeneralRe: ASP.NET DataGrid Parameter Pin
Not Active10-Aug-06 5:13
mentorNot Active10-Aug-06 5:13 
GeneralRe: ASP.NET DataGrid Parameter [modified] Pin
Soot10-Aug-06 5:28
Soot10-Aug-06 5:28 
GeneralRe: ASP.NET DataGrid Parameter Pin
Not Active10-Aug-06 5:54
mentorNot Active10-Aug-06 5:54 
GeneralRe: ASP.NET DataGrid Parameter Pin
Soot10-Aug-06 6:18
Soot10-Aug-06 6:18 
GeneralRe: ASP.NET DataGrid Parameter Pin
Not Active10-Aug-06 7:26
mentorNot Active10-Aug-06 7:26 
QuestionNeed the Help for Intergartion for EPDQ Pin
Syed Taqi9-Aug-06 3:56
Syed Taqi9-Aug-06 3:56 
AnswerRe: Need the Help for Intergartion for EPDQ Pin
enjoycrack9-Aug-06 17:04
enjoycrack9-Aug-06 17:04 
GeneralRe: Need the Help for Intergartion for EPDQ Pin
Syed Taqi10-Aug-06 1:31
Syed Taqi10-Aug-06 1:31 
GeneralRe: Need the Help for Intergartion for EPDQ Pin
enjoycrack10-Aug-06 4:57
enjoycrack10-Aug-06 4:57 
Questionviewstate and atlas Pin
Masood Ahmed9-Aug-06 3:36
Masood Ahmed9-Aug-06 3:36 
AnswerRe: viewstate and atlas Pin
eggsovereasy9-Aug-06 4:27
eggsovereasy9-Aug-06 4:27 
QuestionProject's DLL folder Pin
wEb GuRu...9-Aug-06 1:31
wEb GuRu...9-Aug-06 1:31 
QuestionRe: Project's DLL folder Pin
_AK_9-Aug-06 1:33
_AK_9-Aug-06 1:33 
AnswerNot working yet..! Pin
wEb GuRu...9-Aug-06 8:03
wEb GuRu...9-Aug-06 8:03 
GeneralRe: Not working yet..! Pin
_AK_9-Aug-06 20:16
_AK_9-Aug-06 20:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.